@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,500;1,400&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body{
    background: #26aea9;
    position: relative;
    overflow-x: hidden;
}
#header{
    width: 100%;
    height: 100vh;
    background-image: url(edit.jpg);
    background-size: cover;
    background-position: center top;
}
.logo{
    font-family: 'Pacifico';
    text-align: left;
    font-size: 40px;
    color: #20a39e;
}
.container a{
    text-decoration: none;
}
.container{
    padding: 10px 6.75%;
}
nav{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}
nav ul li a{
    color: #20a39e;
    text-decoration: none;
    font-size: 19px;
    font-family: 'Montserrat',sans-serif;
    transition: .25s ease;
}
nav ul li:hover a:hover {
    color: #ffba49;
    box-shadow: 0 2px 0 0 currentcolor;
  }
.header-text{
    margin-top: 20%;
    font-size: 20px;
  }
.header-text h1{
    font-size: 60px;
    margin-top: 20px;
    font-family: "Montserrat",sans-serif;
}
.header-text h1 span{
    color:#20a39e;
    font-family: "Montserrat",sans-serif; 
}
#block{
    text-align: center;
    font-size: 25px;
    padding: 40px 10%;
    margin: 20px;
}
.text{
    font-family:'Montserrat';
    color: black;
}
/*----------about---------*/
/*style="width: 540px; height: 700px;*/
#about{
    padding: 80px 0;
    color: #ffba49;
    background-color: rgb(217, 232,200);
}
.row{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.col1{
    flex-basis: 15%;
    padding-left: 30px;
}
.col1 img{
    width: 100%;
    border-radius: 25px;
    width: 500px;
    height: 700px;
    align-items: center;
    
}
.col2{
    flex-basis: 50%;
    padding-right: 50px;
}
.sub-title{
    font-family: "Poppins";
    font-size: 50px;
    font-weight: 600;
    color: black;
    margin-bottom: 25px;

}
.info{
    font-size: 25px;
    color: black;
    font-family: "Poppins";
    margin-bottom: 20px;
}
.heading{
    font-size: 35px;
    color: black;
    font-family: "Poppins";
    font-weight: 600;
    margin-bottom: 25px;
}

/*----------contact---------*/
#contact{
    padding: 40px 10%;
    margin: 20px;
}
.subtitle{
    font-size: 50px;
    font-family: "Poppins";
}
.left{
    flex-basis: 35%;
}
.right{
    flex-basis: 60%;    
}
.left p {
    font-size: 15px;
    font-family: "Poppins";
    margin-top: 30px;
}
.left p i{
    color: #ffba49;
    font-size: 25px;
    margin-right: 15px;
    vertical-align: middle;
}
.social{
    margin-top: 30px;
}
.social a{
    text-decoration: none;
    font-size: 30px;
    color: black;
    margin-right: 15px;
    display: inline-block;
    transition: transform 0.5s;
}
.social a:hover{
    color: #ffba49;
    transform: translateY(-10px);
}

.btn{
    display: block;
    margin: 30px auto;
    width: fit-content;
    border: 1px solid #ffba49 ;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: black;
    transition: background 0.25s;
    display: inline-block;
    background-color: #ffba49;
    font-family: "Poppins";
    font-size: 15px;
    transition: transform 0.5s;
}
.btn:hover{
    transform: translateY(-8px);
}

.right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background:rgb(217, 232,200);
    padding: 15px;
    margin: 15px 0;
    color: black;
    font-size: 20px;
    border-radius: 6px;
    font-family: "Poppins";
}
form .btn{
    margin-top: 20px;
    cursor: pointer;

}
#copyright{
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background-color: rgb(217, 232,200);
    margin-top: 20px;
    bottom: 0;
    left: 0;
    z-index: 999;
}
#msg{
   color: #ffba49; 
   display: block;
   margin-top: -15px;
   font-family: "Poppins";
   font-size: medium;
}
#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover i {
    color: #fff;
    top: 5px;
}

/*-----------projects page----------*/
.sub-header{
    width: 100%;
    height: 100vh;
    background-color: rgb(217, 232,200);
}
nav .fa-solid{
    display: none;
    overflow: hidden;
}
/*-----------changes for mobile devices----------*/

@media(max-width: 700px){
    .header-text{
        margin-top: 40%;
    }
    .header-text h1{
        font-size: 25px;
        margin-top: 50px;
    }
    #header{
        width: 100%;
        height: 100vh;
        background-image: url(edit.jpg);
        background-size: cover;
        background-position: 500px 0px;
        overflow: hidden;
    }
    nav ul li a{
        color: rgb(217, 232,200);
    }
    nav ul li{
        display: block; 
    }
    .nav-links {
        position: absolute;
        background: #20a39e;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa-solid{
        display: block;
        color: #20a39e;
        margin: 20px;
        font-size: 25px;
        cursor: pointer;
    }
    nav .fa-xmark{
        color: rgb(217, 232,200);
    }
    nav .fa-bars{
        color: #20a39e;   
    }
    #block{
        font-size: 14px;
        padding: 20px 5%;
        margin: 10px;
    }
    #about{
        padding: 40px 0;
    }
    .row{
        flex-direction: column;
    }
    .sub-title{
        font-size: 25px;
        font-weight: 600;
        margin-bottom: 10px;
        margin-top: 10px;
    }
    .info{
        font-size: 15px;
        margin-bottom: 10px;
        padding: 10px 5%;
        margin: 5px;
    }
    .heading{
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 0px;
    }
    .col1{
        flex-basis: 15%;
        text-align: center;
        padding-left: 0px;
    }
    .col1 img{
        width: 300px;
        height: 500px;
    }
    .col2{
        text-align: center;
        padding-right: 0px;
    }
    #contact{
        padding: 20px 5%;
        margin: 10px;
    }
    .subtitle{
        font-size: 35px;
        margin-bottom: 10px;
    }
    .left p{
        margin-top: 0px;
        font-size: 14px;
    }
    .left p i{
        font-size: 20px;
        margin-right: 0px;
    }
    form input, form textarea{
        width: 100%;
        border: 0;
        outline: none;
        background:rgb(217, 232,200);
        padding: 15px;
        margin: 10px 0;
        color: black;
        font-size: 15px;
        border-radius: 6px;
        font-family: "Poppins";
    }
    form .btn{
        margin-top: 20px;
    }
    #copyright{
        padding: 10px 0;
        margin-top: 0px;
    }
    .btn{
        margin: 20px auto;
        padding: 14px 50px;
    }
}
