@import url(https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap);

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Raleway", sans-serif;
    text-decoration: none;
    list-style: none;
}

body {
    background: #c9dab6;
    min-height: 100vh;
    overflow-x: hidden;
}

header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .50s ease;
    background: #edebd6;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
}


.logo{
    display: flex;
    align-items: center;
    font-size: 30px;
    color: #1f3923;
    font-weight: 800;
}
.navlist{
    display: flex;
    
}

.navlist a{
    display: flex;
    margin: 0 35px;
    color: #155e3b ;
    font-size: 16px;
    font-weight: 600;
    transition: all .50s ease;
}

.navlist a:hover{
    padding: 5px 20px;
    background: #1f3923;
    color: #f7f9f7;
    box-shadow: 0 0 20px; 
    transform: scale(1.1);
    border-radius: 10px;
    transition: all .6s ease;
}
.nav-right{
    display: flex;
    align-items: center;
}

.btn{
    display: inline-block;
    padding: 14px 35px;
    background: #1f3923;
    font-size: 14px;
    font-weight: 600;
    color: #c9dab6;
    border-radius: 10px;
    margin-right: 12px;
    transition: all .6s ease;
}

.btn:hover{
    background: #f7f9f7;
    color: #1f3923;
    box-shadow: 0 0 20px #f7f9f7;
    transform: scale(1.1)
}   

#menu-icon{
    font-size: 34px;
    color: #1f3923;
    z-index: 10001;
    cursor: pointer;
    display: none;
}

@media(max-width:1300px){
    header{
        padding: 20px 4%;
    }
}

@media(max-width:1050px){
    header{
        padding: 20px 4%;
    }
 
    .logo{
        font-size: 25px;
    }   
    .navlist a{
        margin: 0 25px;
    }
    .btn{
        padding: 11px 23px;
    }
}    

 @media(max-width:940px){
        #menu-icon{
            display: block;
        }
        .navlist{
        position: absolute;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding-top: 180px;
        transition: all .7s ease;
        background: rgba(0, 0, 0, .1);
        backdrop-filter: blur(50px);
       
       
    }

    .navlist a{
        display: block;
        padding: 0;
        margin: 0px 0px 50px 0px;
        font-size: 1.7rem;
    }

    .navlist.open{
        right: 0;
    }
}
.nav-right{
    text-align: center;
}
.overlay{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur (50px);
    opacity: 0;
    visibility: hidden;
    transition: all.5s ease;
}
.overlay:target{
    visibility: visible;
    opacity: 1;
}
.wrapper{
    margin: 70px auto;
    padding: 20px;
    background: #c9dab6;
    border-radius: 5px;
    width: 30%;
    position: relative;
    transition: all 5% ease-in-out;
}
.wrapper h2{
    margin-top: 0;
    color: #edebd6;
}
.wrapper a{
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
}
.contain{
    border-radius: 5px;
    background-color: #1f3923;
    padding: 20px 0;
}



.parallax {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#text {
    position: absolute;
    font-size: 5em;
    color: antiquewhite;
    text-shadow: 0px 10px 4px rgba(0, 0, 0, 50)
}


.parallax img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.sec {
    position: relative;
    background: #1f3923;
    padding: 100px;
    margin: 30px;
}

.sec h2 {
    font-size: 3em;
    color: antiquewhite;
    margin-bottom: 10px;
}

.sec p{
    font-size: 1em;
    color: antiquewhite;
    font-weight: 600;
} 

.sec {
    max-width: 800px; /* Limits the width of the section */
    margin: 0 auto; /* Centers the section */
    padding: 20px; /* Adds padding around the section */
    background: #1f3923; /* Background color for the section */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack items vertically */
}

.abt-me {
    margin-bottom: 20px; /* Space between text and image */
}

.pictureme {
    display: flex; /* Use flexbox for the image container */
    justify-content: flex-end; /* Align image to the right */
}

#picture {
    width: 200px; /* Set image width */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%;
} 

.title2 h2{
    font-size: 3em;
    color: #1f3923;
    margin-bottom: 10px;
    padding: 100px;
    justify-content: center;
    text-align: center;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    row-gap: 100px;
  }

.sec container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    min-height: 100vh;
    display: flex;
}

.container .card{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 350px;
    height: 300px;
    background: #1f3923;
    border-radius: 20px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 15);
    transition: 0.5s;
}
#card1{
    margin: 30px;
}

#card2{
   margin: 30px;
}

#card3{
    margin: 30px;
}

#card4{
    margin: 30px;
}

#card5{
    margin: 30px;
}

#card6{
    margin: 30px;
}

#card7{
    margin: 30px;
}

#card8{
    margin: 30px;
}

#card9{
    margin: 30px;
}



.container .card:hover{
    height: 300px;
}
.container .card .imgBx{
    position: absolute;
    top: 20px;
    width: 300px;
    height: 220px;
    background: antiquewhite;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.5s;
}

.container .card:hover .imgBx{
    top: -100px;
    scale: 0.75;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 15);
}

.container .card .imgBx img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container .card .content{
    position: absolute;
    top: 252px;
    width: 100%;
    padding: 0 30px;
    height: 30px;
    overflow: hidden;
    text-align: center;
    transition: 0.5s;
}

.container .card:hover .content{
    top: 130px;
   height: 250px;
}

.container .card .content h2{
    font-size: 1.5em;
    font-weight: 700;
    color: aliceblue;
}

.container .card .content p{
    color: antiquewhite;
}

.container .card .content a{
    position: relative;
    top: 15px;
    display: inline-block;
    padding: 12px 25px;
    background: #c9dab6;
    color: #1f3923;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
}

.contact {
    background-color: #1f3923; 
    margin: 0;
    padding: 2rem 0; 
    color: #ffffff; 
}

.contact h2 {
    margin: 0; 
    height: auto; 
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem; 
    text-align: center;
    margin-bottom: 1rem;
}

.contact form {
    max-width: 70rem; 
    margin: 2rem auto; 
    text-align: center; 
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1); 
    border-radius: 1rem; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); 
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 1.5rem; 
}    

.contact form .input-box input,
.contact form textarea {
    width: 100%; 
    padding: 1rem; 
    font-size: 16px; 
    color: #333; 
    background: #edebd6; 
    border: 1px solid #ccc; 
    border-radius: .5rem; 
    transition: border-color 0.3s; 
}

.contact form .input-box input:focus,
.contact form textarea:focus {
    border-color: #1f3923;
    outline: none; 
}

.contact form .input-box input {
    width: 48%; 

}
.contact form .input-box input[type="number"]::-webkit-inner-spin-button,
.contact form .input-box input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none; 
    margin: 0; 
}

.contact form textarea {
    resize: none; 
    height: 150px; 
}

.contact form .button {
    margin-top: 2rem; 
    padding: 1rem 2rem; 
    font-size: 16px; 
    color: #ffffff; 
    background-color: #1f3923; 
    border: none; 
    border-radius: .5rem; 
    cursor: pointer; 
    transition: background-color 0.3s; 
}

.contact form .button:hover {
    background-color: #155e3b; 
}

.footer {
    background-color: #1f3923; 
    color: #ffffff; 
    padding: 40px 20px; 
    text-align: center; 
}

.footer-container {
    display: flex;
    justify-content: space-between; 
    flex-wrap: wrap; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.footer-links, .footer-social {
    flex: 1; 
    margin: 10px; 
}

.footer-links h3, .footer-social h3 {
    margin-bottom: 15px; 
}

.footer-links ul {
    list-style: none; 
    padding: 0;
}

.footer-links li {
    margin: 10px 0; 
}

.footer-links a {
    color: #ffffff; 
    text-decoration: none; 
}

.footer-links a:hover {
    text-decoration: underline; 
}

.footer-social .social-icons {
    display: flex; 

    justify-content: center; 
}

.footer-social a {
    margin: 0 10px; 
    color: #edebd6;
}

.footer-bottom {
    margin-top: 20px; 
    font-size: 0.9em; 
}