html {
    background: linear-gradient(135deg, #000000, #200049);
    text-align: center;
}

.exo-2-font {
    font-family: "Exo 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    color: #ac02ea;
    vertical-align: middle;
    /* font-size: 4rem; */
    font-size: 5cqw;
    text-transform: uppercase;
    margin: 0px;
}

.edu-tas-beginner-font {
    font-family: "Edu TAS Beginner", cursive;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: #fff;
    /* font-size: 2.5rem; */
    font-size: 2.8cqw;
    margin: 0px;
    margin-left: 15px;
}

.navbar {
    display: block;
    width: 30%;
    border-radius: 10px;
    /* background: linear-gradient(135deg, #0d001e, #ac02ea); */
    background-color: #200049;
    justify-self: center;
    padding: 1rem;
    margin-top: 30px;
    box-shadow: #000000 0px 3px 8px;
}

.navsec {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    margin: 1rem;
    font-family: 'system-ui', sans-serif;
}

.flex-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* border: 1px solid #ffffff; */
    /* height: 35rem; */
    /* border: 1px solid #ffffff; */
}

.subtitle-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    /* justify-content: flex-start; */
    /* border: 1px solid #ffffff; */
}

.subtitle-alignment {
    align-self: flex-start;
    width: 50%;
    margin-bottom: 2.5cqw;
}

.subtitle-alignment h3 {
    font-size: 2.5rem;
}

.links {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: center;
    /* border: 1px solid #ffffff; */
}

.links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    text-decoration: none;
    position: relative;
}

.links a::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    background: #ac02ea80;
    color: #fff;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-family: "Edu TAS Beginner", cursive;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.links a:hover::after,
.links a:focus::after {
    opacity: 1;
}

.links a:focus,
.links a:hover {
    outline: none;
    background-color: #ac02ea80;
    border-radius: 50%;
}

hr {
    margin: 5px;
    margin-left: 15%;
    width: 40%;
    /* border: solid .2cqw;
    color: #fff; */
    /* align-self: flex-start; */
    /* vertical-align: middle; */

    border: none;
    height: .35cqw;
    background: linear-gradient(to right, transparent, #ffffff);
    border-radius: 5px;
}

#profile {
    width: 55%;
    align-self: flex-start;
    border-bottom: solid 5cqw;
    border-left: solid 1cqw;
    border-right: solid 1cqw;
    border-top: solid 1.5cqw;
    /* border-width: 1.5cqw 1cqw 6cqw 1cqw; */
    border-color: #fff;
    box-shadow: #000000 0px 8px 20px;
}

#title-container {
    width: 70%;
    container-type: inline-size;
}

#subtitle-container {
    container-type: inline-size;
}

#photo-container {
    width: 30%;
}

.home-container {
    display: flex;
    flex-direction: row;
    min-height: 95vh;
    align-items: center;
    justify-content: center;
}

.projects-container {
    display: flex;
    flex-direction: column;
    min-height: 95vh;
    align-items: center;
    justify-content: center;
}

.project-card {    
    background-color: #200049;
    border-radius: 10px;
    padding: 2rem;
    margin: 1rem;
    box-shadow: #000000 0px 3px 8px;
    display: flex;
}

.projects-grid {
    /* display: grid; */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    width: 80%;
}

.project-title {
    color: #ac02ea;
    font-family: "Exo 2", sans-serif;
    font-weight: 700;
    font-size: 2cqw;
    margin: 0.5rem 0;
}

.project-description {
    color: #ffffff;
    font-family: 'system-ui', sans-serif;
    font-size: 1cqw;
    margin: 0;
}

.project-info {
    margin-left: 1.5rem;
    text-align: left;
    /* display: flex; */
    /* container-type: inline-size; */
}

.image-container {
    overflow: hidden;
    /* width: 30%; */
    /* aspect-ratio: 1 / 1; */
    border-radius: 10px;
    flex-shrink: 0;
    width: clamp(90px, 50%, 50%);
}

.image-container img {
    width: 100%;
    height: 100%;
    /* border-radius: 10px; */
    /* margin-bottom: 1rem; */
    object-fit: cover;
    display: block;
}

/* Responsive: menor a 1400px */
@media (max-width: 800px) {
    .home-container {
        flex-direction: column;
    }

    #photo-container {
        order: -1;
        align-self: center;
        margin-bottom: 1.5rem;
    }

    #title-container {
        width: 100%;
    }

    #profile {
        width: 100%;
    }

    .subtitle-alignment {
        width: 70%; 
    }

    .projects-grid {
        width: 100%;
    }

}

/* relative w-full h-full transition-transform duration-500 [transform-style:preserve-3d] group-hover:[transform:rotateY(180deg) */
/* group-hover:scale-105 transition max-w-[160px] */