*{
    padding: 0;
    margin: 0;
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    font-weight: 20px;
    font-style: normal;
    
}

html,body{
    cursor: url("image/cursor1.png"),auto;
}


#container{
background-color: #fff4ea;
background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23d4bca2' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
}
#logo{
    color: #C96868; 
}
.head{
    background: #FFF4EA;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 30px; 
}
nav{
    
    display: flex;
    justify-content: space-around;
    width: 550px;
}
a{
    text-decoration: none;
    color: #3498db;
    transition: color 0.3s ease-in-out;
}
a:hover{
    color: #C96868;
    text-decoration: underline;
}
#impact{
    display: flex;
    align-items: center;
    height: 550px;
    padding-left: 250px;
    font-size: 25px;
}
video{
    padding-left: 100px;
    border-radius: 100%;
    height: 400px;
}
#aboutme{
    height: 600px;
    font-size: 35px;
    padding: 10px;
}
#aboutme h1{
    display: flex;
    align-items: center;
    justify-content: center;
}
#aboutme h1 img{
    padding: 20px;
    width: 100px;
}
#main{
    display: flex;
    align-items: center;
    font-size: 25px;
    justify-content: center;

}
#main > img{
    width: 300px;
    height: 300px;
    border-radius: 100%;
    margin-left: 100px;
    margin-right: 50px;
}
#note  img{
    
    padding-left: 50px;
    
}
#note_container {
    position: relative; 
    background-color: #ffb0b0;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.4'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v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0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
   width: 600px;
   height: 450px;
}
#note_container p{
    padding: 15px;
    margin: 15px;
}
#education{
    margin-left: 40px;
    height: 600px;
    font-size: 35px;
    padding: 40px;

}
.education_img {
   width: 50px;
}
#education h1{
    display: flex;
    align-items: center;
    justify-content: center;

}
#education_details{
    display: grid;
    grid-template-columns: repeat(10, 1fr); 
    

}
#education_details > img{
    margin-top: 50px;
    position: relative; 
}
#education_details  .score1{
    position: absolute;
    left: 120px;
    top: 180px; 
}
#education_details  .score2{
    position: absolute; 
    left: 595px;
    top: 180px; 
}
#education_details  .score3{
    position: absolute;
    left: 1087px;
    top: 180px; 
}

#education_details .bca{
    position: absolute;
    left: 50px;
    top: 230px;
    font-size: 20px;
    
}
#education_details .puc{
    position: absolute;
    left: 550px;
    top: 230px;
    font-size: 20px;
    
}
#education_details .school{
    position: absolute;
    left: 1030px;
    top: 230px;
    font-size: 20px;
    
}
#education_details  .date1{
    position: absolute;
    left: 50px;
    top: 330px;
    font-size: 20px;

}
#education_details  .date2{
    position: absolute;
    left: 550px;
    top: 330px;
    font-size: 20px;

}
#education_details  .date3{
    position: absolute;
    left: 1030px;
    top: 330px;
    font-size: 20px;

}
.edu1{
    display: block;
    width: 310px;
    height: 310px;
}

.tape_img{
    position: absolute;
    left: -250px;
    top: -18px;
   
    height: 100px;
    width: 180px;
}

#arrow > img{
    position: absolute;
    width: 150px;
    height: 150px;
    transform: rotate(60deg);
    top: 250px;
    left: 350px;

    border-radius: 50%;
   
}
#arrow2 > img{
    position: absolute;
    width: 150px;
    height: 150px;
    transform: rotate(60deg);
    top: 250px;
    left: 850px;
    border-radius: 50%;
}
#skills{
   font-size: 35px;
   padding: 10px;

}
#skills h1{
    display: flex;
    align-items: center;
    justify-content: center;

}
#skills h1 img{
    width:50px;
    padding:5px ;
}

#skills #all_skill{

    display: grid;
    grid-template-columns: repeat(6, 1fr); 
   padding-left: 100px;
   gap: 30px;
   margin: 30px;
    justify-content: center;
    align-items: center;
    
    

}
#skills #all_skill h1{
    font-size: 30px;
}

#all_skill .all img{
    background-color: #96CEB4;
    height: 70px;
    padding: 10px;
    width: 80px;
    border-radius: 100%;
}
#projects{
   font-size: 35px;
   padding: 10px;
   margin-left: 50px;

}
#projects h1{
    display: flex;
    align-items: center;
    justify-content: center;

}
#projects h1 img{
    width: 70px;
}

.project_container{
    padding: 50px;
    font-size: 20px;
    display: flex ;
    
    
    
}

.project_container .project_a{
    width: 380px;
    background-color: #ffb0b0;
    padding: 20px;
    margin: 5px;
    border-radius: 10px;
    

}
.project_container .project_a img{
    width: 350px;
    border: 1px solid #C96868;
    border-radius: 10px;
    
}
.information_skils{
    display: flex;
    justify-content: center;
    align-items: center;
}
.information_skils p{
    background-color: #96CEB4;
    margin: 5px;
    padding: 5px;
    border-radius: 10px;

}
.button_demo a{
    margin: 20px;
    padding: 5px;
    border-radius: 0%;
}
.tape{
    position: absolute;
    top: 130px;
    left: 30px;
    transform: rotate(-45deg);
    width: 100px;
}
.tape2{
    position: absolute;
    top: 130px;
    left: 460px;
    transform: rotate(-45deg);
    width: 100px;
}
.tape3{
    position: absolute;
    top: 130px;
    left: 890px;
    transform: rotate(-45deg);
    width: 100px;
}
#contact{

    font-size: 35px;
    padding: 10px;
    position: relative;

}
#contact #contacting{
    display: flex;
    position: absolute;
    right: 200px;

}
#contact #contactcute{
    position: absolute;
    left: 200px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

h1, h3, h4, h5 {
    animation: fadeIn 2s ease-in-out;
}


section {
    animation: slideUp 1s ease-in-out;
    opacity: 0; 
    animation-fill-mode: forwards;
}

a, .project_a, .edu1, #main img, .button_demo a {
    transition: all 0.3s ease-in-out;
}


a:hover {
    
    color: #c48e8e;
    text-decoration: underline;
    transform: scale(1.05);
}

.project_a:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#main img:hover {
    transform: scale(1.1) rotate(5deg);
}

.edu1:hover {
    transform: scale(1.05);
}

.button_demo a:hover {
    background-color: #C96868;
    transform: scale(1.1);
}


@media only screen and (max-width: 1024px) {
    
    nav {
        
        justify-content: space-around;
        flex-wrap: wrap;
    }

    
    #impact {
        flex-direction: column;
        padding-left: 0;
        height: auto;
    }

    
    video {
        padding-left: 0;
        width: 80%;
        height: auto;
    }


    #main {
        flex-direction: column;
        margin: 20px 0;
    }

    #main > img {
        margin: 20px 0;
        width: 200px;
        height: 200px;
    }

    
    #education_details {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    
    .project_container {
        flex-direction: column;
        align-items: center;
    }

    .project_a {
        width: 90%;
    }

    
    #skills #all_skill {
        grid-template-columns: repeat(3, 1fr);
        padding-left: 0;
    }
}


@media only screen and (max-width: 768px) {
    /* Stack navigation vertically */
    .head {
        flex-direction: column;
        align-items: center;
    }

    nav {
        flex-direction: column;
        width: 100%;
    }

    /* Adjust #impact section */
    #impact {
        padding: 20px;
    }

    /* Adjust education details grid */
    #education_details {
        grid-template-columns: 1fr;
    }

    /* Adjust project container */
    .project_container {
        padding: 20px;
    }

    .project_a {
        width: 100%;
    }

    /* Adjust skills section */
    #skills #all_skill {
        grid-template-columns: 2fr;
        padding-left: 20px;
    }
}

/* Extra Small Devices */
@media only screen and (max-width: 480px) {
    /* Reduce font sizes */
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h3, h4, h5 {
        font-size: 1.2rem;
    }

    /* Adjust navigation links */
    nav a {
        font-size: 1rem;
        padding: 10px 0;
    }

    /* Adjust #impact section */
    #impact {
        padding: 10px;
    }

    /* Adjust video size */
    video {
        width: 100%;
        height: auto;
    }

    /* Adjust about me section */
    #main img {
        width: 150px;
        height: 150px;
    }

    /* Adjust project container */
    .project_container {
        padding: 10px;
    }

    .project_a {
        padding: 15px;
    }

    /* Adjust skills section */
    #skills #all_skill {
        grid-template-columns: 1fr;
        padding-left: 10px;
    }
}

/* ----- Specific Element Animations ----- */

/* Animate Contact Section */
#contact {
    animation: fadeIn 2s ease-in-out;
    animation-delay: 0.5s;
    animation-fill-mode: both;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    background-color: #fff4ea;
}

#contact h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

#contact h4 {
    font-size: 1.5rem;
}

/* Add a thank you animation */
#contact h1, #contact h4 {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 1s forwards;
}

#contact h1 {
    animation-delay: 0.5s;
}

#contact h4 {
    animation-delay: 1s;
}
