@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;;
} 

body {
    width: 100%;

}

.header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    z-index: -1;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
    transition: .5s;
}

.header:hover::after {
    left: 100%;
}

.logo {
    font-size: 2rem;
    color: black;
    text-decoration: none;
    font-weight: 700;
    width: 10%;
}


.navbar a {
    font-size: 1.20rem;
    color: black;
    text-decoration: none;
    font-weight: 500;
    margin-left: 2.5rem;
}

#check {
    display: none;
}

.icons {
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color: fff;
    cursor: pointer;
    display: none;
}


/* BREAKPOINTS */

@media (max-width: 1265px) {
    .header {
        padding: 1.3rem 5%;
    }
}

@media (max-width: 1140px) {
    .icons {
        display: inline-flex;
    }

    #check:checked~.icons #menu-icon {
        display: none;
    }

    .icons #close-icon {
        display: none;
    }

    #check:checked~.icons #close-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background: whitesmoke;
        backdrop-filter: blur(50px);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        overflow: hidden;
        transition: .3s ease;
    }
    #check:checked~.navbar {
        height: 19rem;
    }


    .navbar a {
        display: block;
        font-size: 1.1rem;
        margin: 1.5rem 0;
        text-align: center;
        transform: translateY(-50px);
        opacity: 0;
        transition: .3s ease;
    }

    #check:checked~.navbar a {
        transform: translateY(0);
        opacity: 1;
        transition-delay: calc(.15s * var(--i));
        height: 18px;
    }
}

/* above form */

.header-section {
    margin-top: 0px;
    padding: 40px 0;
    background-color: rgb(131, 165, 230);
    height: 20%;
    text-align: center;
    color: white;
}

/* form */
  
h3 {
    text-align: center;
    margin-top: 20px;
    font-size: 40px;
  }
  
form {
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 7.5px;
    width: 60%;
    padding: 30px;
    background-color: #eeeeee;
  }
  
  input, select {
    width: 100%;
    height: 40px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
  }
  
  label {
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  input[type="radio"] {
    width: auto;
  }
  
  input[type="radio"] + label {
    display: inline-block;
    margin-bottom: 0;
  }
  
  input[type="radio"]:checked + label {
    font-weight: bold;
  }
  
  select {
    height: 40px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
  }
  
  input[type="submit"] {
    align-items: center;
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    width: 100%;
    height: 40px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 0px;
    text-align: center;
  }

  input[type="reset"] {
    background-color: #ffffff;
    color: #000000;
    font-weight: bold;
    width: 100%;
    height: 40px;
    padding: 10px;
    border: none;
    border-radius: 1px solid black; 
    cursor: pointer;
    text-align: center;

  }

  @media (max-width: 710px) {
    form {

        width: 80%;

      }

      .logo {
        font-size: 1.5rem;
    }
      
 }

 @media (max-width: 520px) {
    form {

        width: 90%;

      }
      
 }




   /* FOOTER */

   footer {
    margin-top: 50px;
    padding: 40px 0;
    background-color: rgb(131, 165, 230);
    height: 20%;
    color: white;
}

.footer .logofooter {
    text-align: center;
    margin-bottom: 10px;
}

.footer .logo {
    color: white;
}

.footer ul {
    text-align: center;
    margin-top: 0;
    padding: 0;
    list-style: none;
    font-size: 18px;
    line-height: 1.0;
    margin-bottom: 0;
}

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

.footer ul li {
    display: inline-block;
    padding: 0 15px;
}

.footer ul li a:hover {
    opacity: 1;
}

.footer .copyright {
    margin-top: 20px;
    text-align: center;
    font-size: 15px;
    color: white;
}


