@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100&family=PT+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}
body::-webkit-scrollbar{
    display: none;
}
body{
    background-color: #eee;
}
/* NAVBAR STYLING */
#nav{
    background-color: #000000;
    color: white;
    display: flex;
    position: fixed;
    width: 100%;
    padding-left: 2%;
    padding-right: 2%;
    padding-bottom: 10px;
    align-items: center;
    z-index: 1;
}
span{
    font-size: 1.7rem;
}
/* left  */
.navleft p{
    font-size: 2.2rem;
    font-weight:600;
    
    margin-bottom: 10px;
}
.navleft p a:hover{
    opacity: 1;
    
}
.navleft p a{
    text-decoration: none;
    color: white;
    opacity: 0.6;
    transition: all 0.2s ease-in-out;
}
/* right  */
.navright{
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;

}

.navright p{

    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #56848f;
    font-weight: 1000;
}
.navright p a{
    text-decoration: none;
    color: white;
    opacity: 0.5;
    transition: all 0.2s ease-in-out;
}
.navright p a:hover{
    opacity: 1;
}

.list{
    list-style: none;
    display: flex;
}
.list a{
    margin-left: 20px;
    text-decoration: none;
    font-family:sans-serif;
    color: white;
    font-size: 0.8rem;
    transition:all 0.2s ease-in-out;
}
.list a:hover{
    color: #56848f;
}

/* HOME SECTION STYLING */
#home{
    background: linear-gradient(to right, #a1d3b0, #f6f1d3);
    padding:4%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}
#home h1{
    margin-top: 8%;
    font-size: 2rem;
    margin-bottom:10px;
    color: #293F50;
    font-family: 'Montserrat', sans-serif;
    opacity: 0.7;
}
#home h2{
    font-size: 1.3rem;
    font-weight: 600;
    color: #293F50;
    margin-bottom: 6px;
}

/* FORM SECTION STYLING */
#form{
    background-color: #eee;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 6%;
    padding-bottom: 7%;
    width: 100%;
}
.container{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-column-gap: 200px;
}
.left{
    display: flex;
    flex-direction: column;
    font-weight: 600;
}
.left h2{
    font-weight: bold;
    opacity: 0.7;
    font-size: 1.5rem;
    color: #09141d;
    margin-bottom: 10px;
    font-family: sans-serif;
    
}
.left h3{
    font-weight: 600;
    margin-top: 20px;
    font-family: sans-serif;
    opacity: 0.7;
    color: #09141d;
}
.left p{
    margin-bottom:40px;
}
.lists{
    display: flex;
    flex-direction: column;
    list-style: square;
    font-weight: 600;
    margin-top: 10px;
}
.lists li{
    margin-bottom: 5px;
}
.left a{
    text-decoration: none;
    color: red;
}
.right{
    text-align: center;
    background-color: #ddd;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    
}
.google{
    border-radius:6px ;
    padding: 7px 30px;
    margin: 10px;
    border: 1px solid #09141d;
    font-weight: bold;
    font-family: sans-serif;
    opacity: 0.7;
    cursor: pointer;
    color: #09141d;
    transition: all 0.3s ease-in-out;
}
.google:hover{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.submit{
    border-radius:6px ;
    padding: 7px 28px;
    margin: 20px;
    border: 1px solid #09141d;
    font-weight: bold;
    font-family: sans-serif;
    opacity: 0.7;
    cursor: pointer;
    background-color: #09141d;
    color: white;
    transition: color 0.3s ease-in-out;
}
.submit:hover{
    background-color: white;
    color: #09141d;
}
.right h2{
    font-family:sans-serif;
    opacity: 0.8;
    color: #09141d;
}
.acontainer{
    position: relative;
}
.right span{
    font-family: sans-serif;
    font-size: 0.9rem;
    position: absolute;
    top: 37px;
    left: 17px;
    font-weight: 100;
    color: #172e42cc;
    cursor: text;
    transition: all 0.2s ease-in-out;
}
.form input:focus + span,
.form input:not(:placeholder-shown) + span{
    top: 22px;
    left: 20px;
    background-color: #ddd;
    padding-left:5px;
    padding-right:5px;
}
.form input:focus{
    outline: none;
    border: 2px solid #293F50;
}
.form{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.form input{
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #09141d;
    background-color: #eee;
    margin-top: 30px;
    padding-left: 10px;
    padding-right: 150px;
    padding-bottom: 7px;
    padding-top: 7px;
    font-size: 0.9rem;
    margin-left: 10px;
    margin-right: 10px;
}
.form input::placeholder{
    opacity: 0;
}

#team{
    border: 1px solid #09141d;
    background-color: #eee;
    font-weight: 600;
    margin-top: 30px;
    padding-left: 10px;
    padding-right: 170px;
    padding-bottom: 7px;
    padding-top: 7px;
    border-radius: 8px;
    cursor: pointer;
}
#team:focus{
    outline: none;
    border: 2px solid #293F50;
}
#comments{
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid #09141d;
    background-color:#eee;
    font-weight: 600;
    padding-right: 85px;
    padding-left: 10px;
    padding-top: 7px;
}
#comments:focus{
    outline: none;
    border: 2px solid #293F50;
}

/* FOOTER SECTION STYLING */
#footer{
    background-color: #000000;
}
.top{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-column-gap: 20px;
    align-items: center;
    width: 100%;
    padding: 6%;
    color: white;
    font-weight: 600;
    font-size: 1.3rem;
    text-align: center;
}
.top p{
    opacity: 0.4;
}
.flinks{
    list-style: none;

}
.d1{
    width:100%;
}
.flinks a{
    text-decoration: none;
    opacity: 0.4;
    color: white;
    font-size: 1rem;
}
.line{
    background-color: white;
    opacity: 0.1;
    width: 100%;
    align-self: center;
    height: 1px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.bottom{
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.bottom p{
    width: 100%;
    background-color: #09141d;
    padding: 20px;
    color: white;
    opacity: 0.4;
    font-weight: 600;
}

@media screen and (max-width:1100px) {
    .container{
        display: flex;
        flex-direction: column;
    }
    .right{
        margin-top: 50px;
    }
    
}
@media screen and (max-width:900px) {
    #home{
        padding-top: 80px;
    }
    
}

@media screen and (max-width:660px) {
    .list{
        display: none;
    }
    #nav p{
        font-size: 1.7rem;
    }
    #nav span{
        font-size:1.5rem
    }
    .navright a{
        font-size: 1.2rem;
    }
    .top{
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(2,1fr);
        grid-row-gap: 50px;
    }
}

@media screen and (max-width:500px) {
    #nav{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content:center ;
    }
    .navright{
        align-items: flex-start;
        margin: 0;
    }
    .navright p a{
        text-align: center;
    }
    #home{
        padding-top: 150px;
    }
    #form input{
        margin-right: 20px;
        margin-left: 20px;
        padding-right: 100px;
    }
    .right span{
        top: 38px;
        left: 30px;
    }
    #comments{
        margin: 30px;
        padding-right: 50px;
        margin-bottom: 10px;
    }
    #team{
        padding-right: 150px;
    }
}