#home.content.active {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 3rem;
    width: 90%;
    max-width: 700px;
    margin: 2rem auto;
    
}

.img-container{
    width: 270px;
    height: 270px;
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.img-container::before,
.img-container::after{
    content: " ";
    position: absolute;
    inset: 0;
    background-image: conic-gradient(
        transparent,
        transparent,
        transparent,
        var(--blue)
    );
    animation: revolve 4s linear infinite;
}

.img-container::after{
    animation-delay: 2s;
}

@keyframes revolve {
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}

.img-container img{
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
}

.details{
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

.details h2{
    font-size: 2.5rem;
}

.details h2 span{
    background: linear-gradient(to right, var(--blue), var(--white));
    padding-bottom: 2px;
    border-bottom: 5px solid var(--blue);
    color: transparent;
    -webkit-background-clip: text;

}

.details h3{
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;

    overflow: hidden;
}

.details h3 span{
    color: var(--blue);
    display: inline-block;
    min-width: 130px;
    overflow: hidden;
    white-space: nowrap;
}

.details h3 span::after{
    content: "|";
    margin-left: 5px;
    animation: blink 0.7s steps(1) infinite;
}

@keyframes blink {
    0%, 
    100%{
        opacity: 1;
    }
    50%{
        opacity: 0;
    }
}

.details p{
    font-size: 1.3rem;
    text-align: justify;
}

.bottom{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.btn{
    width: 12rem;
    padding: 0.8rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 5px;
    background: var(--blue);
    cursor: pointer;
    border: none;
    transition: all ease 0.3s;
}



.social-icons{
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons a{
    text-decoration: none;
    color: var(--blue);
    border: 2px solid var(--blue);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    overflow: hidden;
    width: 45px;
    height: 45px;
    transition: all ease 0.3s;
}

.social-icons a i{
    font-size: 1.5rem;
}

.btn:hover {
    box-shadow: 3px 3px 3px var(--blue),
    -3px 3px 3px var(--blue),
    3px -3px 3px var(--blue),
    -3px -3px 3px var(--blue);
    background: transparent;
    border: 2px solid var(--blue);
    color: var(--white);
}
.social-icons a:hover{
    background: var(--blue);
    color: var(--primary);
    box-shadow: 2px 2px 2px var(--blue),
    -2px 2px 2px var(--blue),
    2px -2px 2px var(--blue),
    -2px -2px 2px var(--blue);
}

@media screen and (width>= 768px) {
    #home.content.active {
        display: grid;
        grid-template-columns: auto auto;
        justify-content: space-between;
        gap: 3.5rem;
        width: 100%;
        max-width: 100%;
    }

    .details h2{
        font-size: 3rem;
    }

    .details h3{
        font-size: 2.5rem;
    }

    .social-icons{
        font-size: 2.5rem;
    }

    .bottom{
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .btn{
        border-radius: 50px;
    }
}

@media screen  and (width >= 1024px){
    #home.content.active{
        margin: 3rem auto;
    }

    .img-container {
        width: 400px;
        height: 400px;
    }

    .details {
        gap: 30px;
    }

    .details h2 {
        font-size: 3.3rem;
    }

     .details h3 {
        font-size: 2.5rem;
    }

    .details p {
        font-size: 1.2rem;
    }
}
