:root {
  background-color: #fff;
  font-size: 62.5%;
}

* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
}

/* Hamburger icon toggle*/
#nav-toggle {
  position: absolute;
  top: -100px;
  display: none;
}

nav .icon-burger {
  display: none;
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
}

nav .icon-burger .line {
  width: 30px;
  height: 5px;
  background-color: #e3c0f9;
  margin: 5px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

/*Text*/
h1 {
  font-size: 5rem;
  color: #333;
  padding-top: 70px;
  margin-bottom: 1rem;
}

h1 > span {
  font-size: 2rem;
  font-weight: 500;
}

h2 {
  font-size: 2rem;
  margin-bottom: 4rem;
  font-weight: 700;
}


p{
  font-size: 1.5rem;
  color: #fff;
}

/*Image with quiz link*/
.image-link {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  padding-top: 30px;
  padding-bottom: 30px;
}

.image-link:hover,
.image-link:focus {
  transform: scale(1.03);
}

/* Styles for the container */
.info-container {
  position: relative;
  font-family: 'Poppins', sans-serif; 
  padding: 30px; 
  border: 1px solid #333333; 
  border-radius: 25px;
  margin: 3px;
  color: #fff;
}

.info-container p {
  background-color: #E3C0F9; 
  font-family: 'Poppins', sans-serif; 
  padding: 50px; 
  border-radius: 25px;
  margin: 3px;
  color: #fff;
}

.container > * {
  width: 100%;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

/* Rectangle shape*/
.rectangle {
  width: 120px;
  height: 40px;
  background-color: #00edff; 
  border-radius: 20px;
  position: absolute;
  left: 0; 
  top: 12%;
  transform: translateY(-50%);
  animation: moveHorizontal 2s ease infinite;
  z-index: 2;
}

@keyframes moveHorizontal {
  0%, 100% {
    left: -10%;
  }
  50% {
    left: 0%;
  }
}

/* Circle shape*/
.circle {
  width: 120px;
  height: 120px;
  background-color: #fcd51a;
  border-radius: 50%;
  position: absolute;
  left: 85%;
  top: 60%;
  transform: translateY(-50%);
  animation: moveUpDown 2s ease infinite;
  z-index: 2;
}

@keyframes moveUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Buttons */
.btn {
  font-size: 1.8rem;
  padding: 2rem 0;
  width: 20rem;
  text-align: center;
  border: 1rem solid #333;
  border-radius: 50px;
  margin: 1rem;
  text-decoration: none;
  color: #333;
  background-color: #fff;
}

.btn:hover {
  cursor: pointer;
  background-color: #1cf4d0;
  padding: 1rem 0;
  border: none;
  transform: translateY(-0.1rem);
  transition: transform 150ms;
}

.btn[disabled]:hover {
  cursor: not-allowed;
  transform: none;
}

/* General (menu-footer-hamburger icon)*/
body {
  align-items: center;
  padding: 40px;
  margin: 0;
  background-color: #fff; 
}

.container {
  padding: 150px 0 0 150px;
}

.logo-nav {
  height: 55%;
  float: left;
  display: flex;
  position: absolute;
  top: 19px;
  left: 22px;
}

#logo-nav {
  height: 50px;
  width: auto;
  display: flex;
  position: fixed;
  margin-top: 18px;
  margin-left: 22px;
}

nav {
  font-family: 'Poppins', sans-serif;
  color: #333333;
  position: fixed;
  z-index: 10;
  left: 0;
  right: 0;
  top: 0;
  height: 110px;
  background-color: #fff;
}

nav .links {
  float: right;
  padding-top: 0px;
  padding-right: 30px;
  margin-left: 40px;
  width: 40%;
  height: 75%;
  display: flex;
  justify-content: right;
  align-items: center;
}

nav .links li {
  list-style: none;
}

nav .links a {
  display: block;
  padding-top: 15px;
  padding-right: 22px;
  padding-bottom: 15px;
  padding-left: 60px;
  font-size: 1.6rem;
  font-weight: lighter;
  color: #333333;
  text-decoration: none;
}

nav .links a:hover {
  display: block;
  padding-top: 15px;
  padding-right: 15px;
  padding-bottom: 15px;
  padding-left: 60px;
  font-size: 1.7rem;
  font-weight: 600;
  color: #ec5fd2;
  text-decoration: none;
}

/* Footer */
.footer-basic {
  margin-top: 0px;
  padding: 40px 0;
  background-color: #fcd51a;
}

.footer-basic ul {
  padding: 0;
  list-style: none;
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}

.footer-basic li {
  padding: 0 10px;
}

.footer-basic ul a {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
}

.footer-basic ul a:hover {
  opacity: 1;
  color: #fff;
}

.footer-basic .social {
  text-align: center;
  padding-bottom: 15px;
  color: #333;
}

.footer-basic .social > a {
  font-size: 16px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  border: 1px solid #333;
  margin: 0 8px;
  color: inherit;
  opacity: 0.80;
}

.footer-basic .social > a:hover {
  opacity: 0.7;
  border: none;
  background-color: #ffaa22;
  transition: 0.3s ease-in-out;
}

.footer-basic .copyright {
  margin-top: 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0;
}

/* Media Queries */
/* Medium-sized screens */
@media screen and (max-width: 1200px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 1.8rem;
    margin-bottom: 3rem;
  }

  p {
    font-size: 1.3rem;
  }

  .btn {
    font-size: 1.5rem;
    padding: 1.5rem 0;
  }

  /* Hamburger icon */
  nav .icon-burger {
    display: block;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
  }

  nav .icon-burger .line {
    width: 30px;
    height: 5px;
    background-color: #e3c0f9;
    margin: 5px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
  }
}

/* Small screens */
@media screen and (max-width: 810px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  p {
    font-size: 1.2rem;
  }

  .btn {
    font-size: 1.3rem;
    padding: 1.3rem 0;
  }

  nav .links {
    padding-right: 10px; 
  }

  nav .logo {
    float: none;
    width: auto;
    justify-content: center;
  }

  nav .links {
    float: none;
    position: fixed;
    z-index: 9;
    left: 1%;
    top: 110px;
    width: 80%;
    height: 100%;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
    line-height: 75px;
    padding: 0px;
    background-color: #e3c0f9;
    overflow: hidden;
    transition: all 0.6s ease-in-out;
    display: none;
  }

  nav .links a {
    font-size: 1.5rem;
  }

  nav :checked ~ .links {
    bottom: 0;
    display: block;
    align-items: center;
  }
/* Hamburger icon */
nav .icon-burger {
  display: block;
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
}

nav .icon-burger .line {
  width: 30px;
  height: 5px;
  background-color: #e3c0f9;
  margin: 5px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}
}

  nav :checked ~ .icon-burger .line:nth-child(1) {
    transform: translateY(10px) rotate(225deg);
  }

  nav :checked ~ .icon-burger .line:nth-child(3) {
    transform: translateY(-10px) rotate(-225deg);
  }

  nav :checked ~ .icon-burger .line:nth-child(2) {
    opacity: 0;
  }

/* Extra Small screens*/
@media screen and (max-width: 480px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }

  p {
    font-size: 1rem;
  }

  .btn {
    font-size: 1.2rem;
    padding: 1rem 0;
  }

  nav .links {
    padding-right: 5px;
  }

    /* Hamburger icon*/
    nav .icon-burger {
      display: block;
      position: absolute;
      right: 5%;
      top: 50%;
      transform: translateY(-50%);
    }
  
    nav .icon-burger .line {
      width: 30px;
      height: 5px;
      background-color: #e3c0f9;
      margin: 5px;
      border-radius: 5px;
      transition: all 0.3s ease-in-out;
    }
  }