/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background-color: lightseagreen;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 9%;
    background: rgba(255, 255, 255, 0.5);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
.hamburger{
    display: none;
    width:20px;
    height:20px;
    flex-direction: column;
    cursor: pointer;
}
.hamburger .list {
    width: 25px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 4px 0;
}
.close{
    display: none;
    margin-right: 20px;
    flex-direction: column;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}
.close.active {
    display: block;
}
.hamburger.hide {
    display: none;
}
.content.active {
    display: flex; /* Or block, depending on your layout */
    flex-direction: column;
    align-items: center;
    width: 100%;
    font-size: 1.5rem;
    gap: 1.5rem;
}
.navbar .name h1{
    font-size: 36px;
    font-family: "Calibri Light" , sans-serif;
    cursor: pointer;
}
.navbar .content a {
    margin: 0 15px;
    text-decoration: none;

    color: #ffffff;
    font-weight: 600;
}
.navbar nav a:hover {
    color: #0073e6;
}
.content a{
    cursor: pointer;
}
.social-icons{
    width: 100px;
    display: flex;
    justify-content: space-around;

}
.social-link {
    color: #333;
    margin-left: 15px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s;
}
.social-link:hover {
    color: #0073e6;
}
.wrapper{
    flex: 1;
    width: 100%;
    height: 93vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.container{
    height: 400px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: start;
}
.card{
    width: 80px;
    border-radius: .75rem;
    background: #17141d;
    background-size: cover;
    cursor: pointer;
    overflow: hidden;
    border-radius: 2rem;
    margin:0 10px;
    display: flex;
    align-items: center;
    transition: .6s cubic-bezier(.28,-0.03,0,.99);
    box-shadow: 0 10px 30px -5px rgba(0,0,0,1);
}
.card > .row{
    color:white;
    display: flex;
    flex-wrap: nowrap;
}

.card > .row > .icon{
    background: #223;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px;
}

.card > .row > .description{
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    min-height: 80px;
    height:max-content;
    width:520px;
    opacity: 0;
    transform: translateZ(30px);
    transition-delay: .3s;
    transition: all .3s ease;
}
.description h3{
    text-transform: uppercase;

}
input{
    display: none;
}
input:checked+label{
    width: 600px;
}
input:checked+label .description{
    opacity: 1 !important;
    transform: translateZ(0) !important;
}


.footer {
    margin-top: 10px;
    bottom: 0;
    width: 100%;
    height: 45px;
    border-top: gray 7px solid;
    background-color: #333;
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
}

.footer p {
    margin: 0;
}
.arrow-down-icon{
    display: none;
}









@media screen and (max-width: 1121px) {
    .content {
        display:none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        backdrop-filter: blur(10px);
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }
    .hamburger {
        display: block;
    }
    .wrapper {
        margin-top:20%;
        height:auto;
    }



}

@media (max-width: 950px) {
    .skills{
        display: flex;
        justify-content: center;

    }
    .skills ol li span{
        text-transform: capitalize;
        font-size: 1.2rem;
    }
    .description h3{
        text-align: center;
    }

    .wrapper {
        margin-top:35%;
        flex-direction: column;
        align-items: center;
    }

    .container {
        padding:10px;
        width: 100%;
        height: auto; /* Dynamically adjust height */
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: height 0.3s ease;
    }

    .card {
        width: 300px;
        height: 100px;
        transition: all 0.3s ease;
    }

    .container:hover .card {
        height: 300px;
    }

    .card > .row {
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: inherit;
    }

    .card > .row > .description {
        width: 300px;
        height: inherit; /* Adjust dynamically to content */
        padding: 10px; /* Optional: Add spacing */
    }

    input:checked + label {
        width: 300px;
        height: 300px;
    }
    .arrow-right-icon{
        display: none;
    }
    .arrow-down-icon{
        display: block;
    }
}



@media screen and (max-width:500px){
    .navbar .name h1{
        font-size: 20px;
    }
    .hero{
        margin-top: 15%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        height: max-content;
    }
    .skill-container{
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .skills-content{
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }


}
@media screen and (max-width: 351px) {
    .navbar .name h1 {
        font-size: 20px;
    }

    .hero {
        margin-top: 23%;

    }
    .skill-container{
        flex-direction: column;
    }

}

