*{
    margin:0;
    padding:0;
    font-family:'poppins' , sans-serif;
    box-sizing:border-box;
}
html{
    scroll-behavior: smooth;
}
body{
   color:white;
    background-size:cover;
    background-position:center;
    background-color:#eafaf1;
}



nav{
    background-color:#F0FFFF;
    padding-top:20px;
    padding-bottom:20px;
    padding-right:20px;
    padding-left:20px;
    width:100%;
    background-position: fixed;
    z-index:2;
    margin-top:0px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap: wrap;
    position:sticky;
    top:0;
}
.logo{
    width:140px;
    font-weight:bold ;
    font-size: 50px;
    color:rgb(6, 90, 90);
}
nav ul li{
    display:inline-block;
    list-style:none;
    margin:10px 20px;
}
nav ul li a{
    font-weight:bold;
    color:rgb(6, 90, 90);
    text-decoration: none;
    font-size:18px;
    position:relative;
}
nav ul li a::after{
    content:'';
    width:0%;
    height:3px;
    background:rgb(41, 41, 41);
    position:absolute;
    left:0;
    bottom:-6px;
    transition:0.5s;
}
nav ul li a:hover::after{
    width:100%;
}

/*dashboard*/
.header {
            position: relative;
            width: 100%;
            max-width: 1200px;
            margin: auto;
            height:100vh auto;
        }
        .image {
            width: 100%;
            display: block;
        }
        .text {
            text-align: center;
            margin-top:100px;
            position: absolute;
            top: 20%;
            left: 5%;
            color: #000;
            font-size: 1.8em;
            font-family: Arial, sans-serif;
        }
        .text h1{
            color:#043a38;
        }
        .text .button {
            margin-top:50px;
            position: absolute;
            top: 30%;
            left: 5%;
            background-color:rgb(6, 90, 90); 
            border-style: solid ;
            border-width: 2px;
            border-radius:20px;
            border-color:rgb(2, 33, 37);
            justify-content: center;
            font-size: 0.5em;
            cursor: pointer;
            text-decoration: none;
            padding:2px 4px 2px 4px;
            color:wheat;
        }
        .button:hover{
           background-color:  rgb(2, 33, 37);
       }
        @media (max-width: 768px) {
            .text {
                margin-top:50px;
                font-size: 0.8em;
            }
            .text .button {
                margin-top:20px;
                font-size: 0.7em;
                padding: 4px 10px;
            }
        }
        @media (max-width: 480px) {
            .text {
                font-size: 1.2em;
            }
            .text.button {
                margin-top:20px;
                font-size: 0.7em;
                padding: 4px 10px;
            }
        }
        /*about*/
#about{
    padding-top:90px ;
    height:80vh ;
    width:100% ;
    background-color:#F0FFFF;
    margin-top:10px;
    border-radius:20px;
    
}
.row{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1{
flex-basis:60%;
opacity:0;
}
.about-col-1.animate__animated{
opacity:1;
}
.about-col-1 h1{
    color:rgb(6, 90, 90);
    margin-left:10px;
}
.about-col-1 p{
    margin-left:20px;
    margin-right:10px;
    font-size: 18px;
    margin-top:50px;
    margin-bottom:12px;
    color:black;
    text-align: center;
}
.sub-title{
    margin-left:10px;
    font-size:60px;
    font-weight:bold;
    color:black;
}
.cv-btn{
    margin-left:30%;
    margin-top:100px;
    padding:8px 10px 8px 10px;
    color:wheat;
    font-weight: bold;
    text-decoration: none;
    background-color:rgb(9, 94, 94); 
    border-style: solid ;
    border-width: 2px;
    border-radius:20px;
    border-color: rgb(2, 33, 37);
}
.cv-btn:hover{
 background-color: rgb(2, 33, 37);
}
.about-col-2{
    flex-basis: 35%;
    opacity:0;
}
.about-col-1.animate__animated{
opacity:1;
}

.about-col-2 img{
    margin-top:50px;
    height:300px;
   width:90%;
   border-radius: 10px;
}

/*------projects------*/
#projects{
  width:100%;  
 padding-top:100px ; 
 height:100vh;  
}
#projects h1{
     color:rgb(6, 90, 90);
}
.work-list{
    padding-top:30px;
    border-radius:10px;
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
    grid-gap:40px;
    margin-top:20px;  
}
.work{   
    border-radius:10px;
    position:relative;
    overflow:hidden;
    opacity:0;
}
.work.animate__animated{
    opacity:1;
}

.work img{
    width:100%;
    border-radius:10px;
    display:block;
    transition:transform 0.5s;
}
.layer{
    width:100%;
    height:0%;
    background: linear-gradient(rgba(0,0,0,0.6),#0e5b6e);
    border-radius:10px;
    position:absolute;
    left:0;
    bottom:0;
    overflow:hidden;
    display:flex;
    align-items:center;
    flex-direction:column;
    padding:0 20px;
    text-align:center;
    transition:height 0.5s;
}
.layer h3{
    margin-top:10px;
    font-weight:bold;
    margin-bottom:20px;
}
.layer a{
    margin-top:20px;
    color:#0e5b6e;
    text-decoration:none;
    font-size:15px;
    line-height:30px;
    width:30px;
    height:30px;
    border-radius:50%;
    text-align:center;
}
.layer a i{
    font-size:20px;
    color:white;
}
.work:hover img{
    transform:scale(1.1);
}
.work:hover .layer{
    height:100%;
}
.btn{
    display:block;
    margin:50px auto;
    width:fit-content;
    border:1px solid #022527;
    padding: 8px 20px;
    border-radius:6px;
    text-decoration:none;
    color:black;
    font-weight: bold;
    opacity:0;
}
.btn.animate__animated{
    opacity:1;
}
.btn:hover{
    font-weight: bolder;
    background-color: #AAB9B9
}
.btn i{
    margin-left:2px;
    font-size:10px;
}
/*---------------contact-----------*/
#contact{
    height:100vh auto;
    padding-top:80px ;
    background-color:#F0FFFF;
    width:100%;
}
#contact h1{
     color:rgb(6, 90, 90);
}
.contact-left{
    margin-left:10px;
    margin-top:10px;
    flex-basis:35%;
    opacity:0;
}

.contact-left.animate__animated{
    opacity:1;
}

.contact-right{
    margin-top:10px;
    flex-basis:40%;
    opacity:0;
}
.contact-right.animate__animated{
    opacity:1;
}

.contact-left p{
    font-size:20px;
    margin-top:20px;
    margin-left:10px;
    color:black;
}
.contact-left p i{
    margin-left:10px;
    color: rgb(6, 90, 90);
    margin-right:15px;
    font-size:25px;
}
.social-icons{
    margin-left:20px;
    margin-top:20px;
}

.social-icons a{
    color: rgb(6, 90, 90);
    text-decoration:none;    
    font-size:25px;
    font-weight:200px;
    margin-right:15px;
    color:;
    display:inline-block;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
}
.social-icons a:hover{
    color:#78b4b8;
    transform:translateY(-5px);
}

.contact-right form{ 
    width:80%;
    margin-left:10%;
   
}

form input, form textarea{
    width:100%;
    border:0;
    outline:none;
    background:rgb(6, 90, 90);
    padding:15px;
    margin:15px 0;
    color:white;
    font-size:18px;
    border-radius:6px;
}

.btn.btn2{
    color:white;
    font-size:15px;
    font-weight:bold;
    margin-top:2px;
    display:inlineblock;
    background: rgb(6, 90, 90) ;  
    cursor:pointer;   
}
.btn.btn2:hover{
    background: #000d0e;
    transform: translateY(-1px);
}

.copyright {
    width: 100%;
    padding:50px 0;
   background-color:#eafaf1;
    font-weight: bold;
    margin-top: 20px;
    color: rgb(6, 90, 90);
}

.copyright-social-icons {
    float: right;
    margin-left: 20px;
    margin-bottom: 5px;
    margin-right: 20px;
    color: rgb(6, 90, 90);
    font-weight: bold;
}

.copyright-social-icons a {
    text-decoration: none;
    color: rgb(6, 90, 90);
    font-size: 25px;
    margin-right: 15px;
    display: inline-block;
     font-weight: bold;
}

.copyright-social-icons a:hover{
    color:#78b4b8;
    transform:translateY(-5px);
}
nav .fa-solid{
    display:none;
}
#msg{
    color:rgb(201, 195, 195);
    margin-top:-20px;
    margin-left:33%;
    font-size:16px;
    display:block;
}


/*-----------css for mobile screen----------*/ 


@media  only screen and (max-width:952px){
    
    
    .nav{
        width:100%;
        background-color: rgb(2, 80, 80);
    padding-top:20px;
        padding-bottom:20px;
        padding-right:50px;
        padding-left:50px;
    border-radius: 10px;
    background-position: fixed;
    z-index:2;
    margin-top:30px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap: wrap;
    position:sticky;
    top:0;
    color:white;
    cursor:pointer;
    }
    nav ul li a{
        color:white;
    }
    .logo{
        width:140px;
        font-weight:bold ;
        font-size: 30px;
        color:rgb(6, 90, 90);
    }
    
    nav .fa-solid{
        display:block;
        font-size:25px;
    }
    nav ul{
        background:rgb(2, 80, 80);
        position:fixed;
        top:0;
        right:-200px;
        width:200px;
        height:100vh;
        padding-top:50px;
        z-index:2;
        transition: right 0.6s;

    }
    nav ul li{

        display:block;
        margin:25px;   
    }
    nav ul .fa-solid{
        position:absolute;
        top:25px;
        left:25px;
        cursor:pointer;
    }
    .sub-title{
        font-size:40px;
    }
    .about-col-1, .about-col-2{
        flex-basis:100%;
    }
    #about{
        padding-top:70px ;
        width:100%;
        height:100vh ;
    margin-top:0px;   
}

.about-col-1 p{
    font-size: 16px;
    margin-top:10px;
    margin-bottom:10px;
}
.sub-title{
    font-size:40px;
    font-weight:bold;
    color:black;
}
.cv-btn{
    margin-left:5%;
    padding:2px 4px 2px 4px;
    color:wheat;
    font-weight:300;
    border-width: 1px;
}
.cv-btn:hover{
 background-color: rgb(2, 33, 37);
}

.about-col-2 img{
    margin-top:25px;
    height:90%;
    margin-left:18%;
   width:70%;
   border-radius: 10px;
}

/*-----projects-----*/
#projects {
    padding-top: 100px;
    width: 100%;
    height: auto; /* Changed to auto for better responsiveness */
    margin-top: 350px;
    box-sizing: border-box; /* Added for better padding handling */
}

.work-list {
    padding-top: 10px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
    margin-top: 10px;
}

.btn {
    display: block;
    margin: 30px auto;
    width: fit-content;
    border: 1px solid #022527;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    color: rgb(6, 90, 90);
}

/* Media query for smaller screens */
@media (max-width: 600px) {
    nav ul li a{
        color:white;
    }
    #projects {
        margin-top: 50px; /* Adjust margin for smaller screens */
    }

    .work-list {
        grid-template-columns: 1fr; /* Make items stack vertically */
    }
}

 /*---------------contact-----------*/
#contact{
    margin-top:450px;
    padding-top:70px ;
    height:100vh auto;
    width:100% ;
    
}
.contact-left , .contact-right{
    flex-basis: 100%;
}
.contact-left{
    margin-top:10px;
    
}
.contact-right{
    margin-top:10px;
   
}

.contact-left p{
    font-size:20px;
    margin-top:20px;
    margin-left:10px;
    color:black;
}
.contact-left p i{
    margin-left:10px;
    color:rgb(6, 90, 90)
    margin-right:15px;
    font-size:25px;
}
.social-icons{
    margin-left:20px;
    margin-top:20px;
    color:rgb(6, 90, 90)
}

.social-icons a{
    text-decoration:none;    
    font-size:25px;
    margin-right:15px;
    font-weight:100;
    color:rgb(6, 90, 90);
    display:inline-block;      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
}
.copyright{
    margin-top:5px;
    width:100% ;
}
.copyright p{
    margin-left:5px;
}

.copyright-social-icons{
    float:left;
    margin-top:10px;
}

.copyright-social-icons a{
    font-size:20px;
    margin-right:5px;   
    float:left;  
    display:inline-block;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
}
#msg{
    color:rgb(201, 195, 195);
    margin-top:-20px;
    margin-left:25%;
    font-size:16px;
    display:block;
}
}


