/*1280 pixels wide by 800 pixels high*/
*{
/*     font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

.logo {
    width: 90px;
    height: auto;
    margin-top: 7px;
}

.logo img{
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: 0cm 0cm;
    
}

nav .logo{
    display: none;
}

nav ul{
    display: flex;
    width: 330px;
    align-items: flex-start;
    justify-content: space-between;
}

nav ul li {
    position: relative; /* Added */
  }

  nav ul li a{
    font-family: "Figtree", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #212526;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 5px;
    border-style: solid;
    border-width: 2px;
    border-color: white;
}

nav ul li a img{
    width: 20px;
    transform: rotate(90deg);
    margin-left: 10px;
    display: none;
}

nav ul li a:hover {
    border-color: #212526;
    }
    
nav ul li a.active {
    background-color: #212526;
    border-color: #212526;
    border-style: solid;
    border-width: 2px;
    color:white
}

#dropdown {
    display: none;
    position: absolute; /* Added */
    top: 100%; /* Added */
    left: 0;
    background-color: white; /* Added */
    width: max-content;
    border-radius: 5px;
  }
  
  nav ul li:hover #dropdown {
    display: flex;
    flex-direction: column;
  }

  nav ul li ul li a:hover {
    border-color: #212526;
    text-decoration: underline;
    text-decoration-color: #000000;
    text-decoration-thickness: 2px;
    border-color: #ffffff;
  }

  nav ul li ul li{
    padding: 5px;
  }

.hamburger{
    display: none;
    height: fit-content;
    cursor: pointer;
    padding: 3px 8px;
    border-radius: 5px;
    transition: 0.2s;
}

.hamburger:hover{
    background: #f6f4ff;
}

.hamburger div{
    width: 30px;
    height: 3px;
    margin: 6px 0;
    background-color: #212526;
    border-radius: 2px;
}


body{
    background-color: #efefef;
}

header{
    width: 100%;
    height: 70px;
    background: #fefefe;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 30px;
    padding-left: 10px;
    border-radius: 0 0 10px 10px;
    margin: 0 auto;
}

.grid_container{
    display: flex;
    width: 100vw;
    height: 100vh;
    justify-content: center;
}

.contact_form{
    background-color: #ffffff;
    height: fit-content;
    width: max-content;
    border-radius: 5px;
    margin: 30px;
    padding: 35px;
    box-shadow: 5px 5px 10px #bebebe;
}

.contact_form h1{
    font-family: "Figtree", sans-serif;
    text-align: center;
    font-weight: 500;
    font-size: 2.7rem;
    margin-bottom: 30px;
}

.contact_form p{
    font-family: "Figtree", sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: #505050;
    font-style: italic;
    margin-bottom: 20px;
    margin-left: 10px;
}

.contact_form p a{
    color: rgb(55, 81, 129);
    font-style: normal;
}


.contact_form div{
    margin-top: 17px;
    width: 100%;
}

.contact_form div input{
    font-family: "Figtree", sans-serif;
    font-weight: 500;
    border-radius: 30px;
    border: none;
    background-color: whitesmoke;
    height: 38px; 
    padding: 0 15px;
    width: auto;
    font-size: 1rem;
}

.contact_form div textarea{
    font-family: "Figtree", sans-serif;
    font-weight: 500;
    border-radius: 30px;
    border: none;
    background-color: whitesmoke;
    padding: 10px 15px;
    font-size: 1rem;
}

.contact_form button{
    font-family: "Figtree", sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    border-radius: 30px;
    border: none;
    background-color: rgb(38, 38, 38);
    color: white;
    padding: 12px 15px;
    margin: 15px 0;
    cursor: pointer;
}

.contact_form button:hover{
    background-color: black;
}

.contact_form .btn{
    display: flex;
    justify-content:flex-end;
}

.contact_form .name{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 12px;
}

.contact_form .mail input{
    width: 100%;
}

footer{
    bottom: -100px; 
    display: flex;
    height: auto;
    width: 100vw;
    background-color: #efefef;
    place-content: center;
}

footer .footer-content{
    display: flex;
    justify-content: space-evenly;
    width: 30%;
    padding-top: 30px;
    padding-bottom: 20px;
}

footer .footer-content a{
    color:#000000;
    margin: 0 10px;
    font-family: "Figtree", sans-serif;
    font-weight: 100;
    font-size: 12px;
}


@media screen and (max-width: 1000px){
    nav{
        position: fixed;
        right: -70vw;
        z-index: 10;
        width: 70vw;
        height: calc(100% - 70px);
        transition: all 0.5s ease;
        bottom: 0;
        background-color: #fefefe;
        box-shadow: 2px 0 20px 0 rgb(0,0,0,0.05);
        padding: 0 10px;
    }
    #nav_check:checked ~ nav{
        right: 0;
        bottom: 0;
    }

    .hamburger{
        display: block;
    }
    nav ul{
        display: block;
    }

    nav ul li{
        margin: 10px 0;
    }

    nav ul li a{
        width: calc(70vw - 20px);
    }

    nav .logo{
        display: block;
        width: 80px;
        height: auto;
        margin-top: 8px;
    }

    nav ul li a img{
        display: flex;
    }

    #dropdown li a{
    padding: 0px 50px;
    color: #000000;
    }

    #dropdown {
    display: block;
    position: relative; /* Added */
    }

    nav ul li:hover #dropdown {
        display: block;
      }

    nav ul li ul li a:hover {
        border-color: none;
        text-decoration: none;
        border-color: none;
      }

    .grid-container{
        grid-template-columns: repeat(1, 1fr);
    } 

    .smallNav ul{
        flex-direction: column;
        font-size: 40px;
        align-items: center;
    }

    .smallNav ul li{
        margin-top: 15px;
        width: auto;
    }

    .smallNav ul li a{
        display:inline-block;
    }

}

@media (max-width: 599px) {



    .contact_form p{
        font-size: 1.1rem;
        border-radius: 0px;

    }

    .contact_form h1{
        margin-top: 20px;
        font-size: 2.4rem;
    }

    .grid_container{
        width: 100%;
        background-color: white;
        height:100%;
    }

    .contact_form{
        width: 100%;
        margin: 0;
        height: 100%;
        border-radius: 0px;
        box-shadow: none;
    }

    .contact_form div input{
        height: 50px;
        font-size: 20px;
    }
    .contact_form div textarea{
        font-size: 20px;
        width: 100%;
    }

    .contact_form .name{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-row-gap: 20px;
    }

    .inputfields{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-row-gap: 10px;
    }

    .contact_form button{
        font-size: 23px;
        border-radius: 30px;
        padding: 15px 20px;
        margin: 15px 0;
    }

    .gradient{
        background: linear-gradient(to bottom, #f2f2f2, #ffffff);
        height: 50px;
        width: 100%;
        position: absolute;
    }



}