@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');


:root {

  /**
   * colors
   */

  --st-patricks-blue: hsl(236, 57%, 28%);
  --amaranth-purple: hsl(335, 88%, 38%);
  --royal-blue-dark: hsl(231, 68%, 21%);
  --chrome-yellow: hsl(39, 100%, 52%);
  --space-cadet-1: hsl(230, 41%, 25%);
  --space-cadet-2: hsl(230, 59%, 16%);
  --winter-sky_50: hsla(335, 87%, 53%, 0.5);
  --purple-navy: hsl(236, 26%, 43%);
  --ksu-purple: hsl(275, 54%, 33%);
  --winter-sky: hsl(335, 87%, 53%);
  --razzmatazz: hsl(335, 87%, 51%);
  --platinum: hsl(0, 0%, 90%);
  --black_70: hsla(0, 0%, 0%, 0.7);
  --rajah: hsl(29, 99%, 67%);
  --white: hsl(0, 0%, 100%);
  --navy-blue: hsl(210, 100%, 25%); /* Dark blue */
  --midnight-blue: hsl(220, 100%, 20%); /* Dark blue */
  --prussian-blue: hsl(215, 100%, 15%); /* Dark blue */
  --dark-slate-blue: hsl(225, 100%, 10%); /* Dark blue */
  --black: hsl(0, 0%, 0%); /* Black */
  --charcoal: hsl(0, 0%, 10%); /* Dark gray */
  --cobalt-blue: hsl(210, 100%, 40%); /* Bright blue */
  --sky-blue: hsl(200, 100%, 50%); /* Light blue */

  --gradient-1: linear-gradient(90deg,var(--royal-blue-dark) 0,var(--ksu-purple) 51%,var(--royal-blue-dark));
  --gradient-2: linear-gradient(90deg,var(--razzmatazz) ,var(--rajah));
  --gradient-3: linear-gradient(90deg, #87CEEB 0, #000 51%, #87CEEB);
  --gradient-4: radial-gradient(#87CEEB 0, #000 51%, #87CEEB);
  --gradient-5: repeating-linear-gradient(90deg, #000 0, #808080 51%, #808080 100%);
  --gradient-6: linear-gradient(90deg, #000 0, #333 100%);
  --gradient-7: linear-gradient(45deg, #000 0, #87CEEB 30%, #87CEEB);
  --gradient-8: linear-gradient(45deg, #000 0, #87CEEB 30%, #000 70%, #000);

}


/* Global Styles */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: ghostwhite;
  height: 100vh;
  width: 100%;
}

.navbar {
  background-color: #333;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  color: white;
  margin-right: 1rem;
  margin-left: 1rem;
}

/* Section Styles */

.section {
  width: 90%;
  height: 100%;
  margin: 20px auto;
  padding: 20px;
/*  box-shadow: 0 0 20px gray;*/
/*  border-radius: 1%;*/
}

/* Main Container Styles */

.main-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 100%;
  width: 100%;
/*  overflow-y: auto;*/
}

/* Image Styles */

.main-container .image {
  width: 40vh;
  height: 40vh;
  border-radius: 1%;
  overflow: hidden;
  box-shadow: 0 0 2px gray;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-container .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-container .image:hover {
  animation: animate 1.5s ease-in-out infinite;
}

@keyframes animate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Content Styles */

.main-container .content {
  color: black;
  width: 40%;
  min-height: 100px;
  padding: 50px;
}

.content h1 {
  font-size: clamp(1rem, 1rem + 6vw, 2rem);
}

.content h1 span {
  color: #077b32;
  text-shadow: 0 0 10px #077b32;
}

.content .typewriter {
    font-size: 20px;
    font-weight: 600;
    transition: font-size 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth transition with cubic-bezier timing function */
    font-family: 'Poppins', sans-serif;
    font-variation-settings: 'wght' 600; /* Variable font weight */
}

.content .typewriter-text {
    color: black;
/*    text-shadow: 0 0 6px white, 0 0 10px #077b32, 0 2px 4px rgba(0, 0, 0, 0.2); /* Enhanced shadow with blur radius and alpha channel */*/
}
.content p {
  font-size: clamp(0.4rem, 0.2rem + 9vw, 1rem);
  margin: 10px 0;
  padding: 20px;
  border-radius: 1%;
  background-color: #D0ECFD;
  box-shadow: 0 0 2px gray;
}

.content p:hover {
  background-color: gray;
  color: white;
}

.footer-bottom {
  background-color: black;
  padding: 20px;
  text-align: center;
  color: var(--white);
  margin-top: 80px;
}

.copyright-link {
  display: inline-block;
  text-decoration: underline;
}

.copyright-link:is(:hover, :focus) { text-decoration: none; }


/* Laptop View (max-width: 1200px) */

@media (max-width: 1200px) {

  .navbar{
    width: 100%;
  }

  .main-container {
    flex-direction: column;
  }
  .main-container .image {
    width: 40%;
    height: 20%;
    margin-bottom: 20px;
  }
  .main-container .content {
    width: 80%;
  }

  .footer-bottom{
    margin-top: -10px;
  }
}

/* Mobile View (max-width: 600px) */

@media (max-width: 550px) {

  .navbar{
    width: 100%;
  }

  .section {
    height: 200%;
  }
  .main-container .image {
    width: 60%;
    height: 40%;
    margin-bottom: -20px;
  }
  .content h1{
    font-size: 26px;
  }
  .main-container .content {
    width: 110%;
  }
  .main-container button {
    margin-top: 15px;
  }
  .footer-bottom{
    margin-top: -20px;
  }
}


