body {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(120deg, white, #d1e9f8);
}

#introContainer {
    display: flex;
    flex-direction: column;
    color: black;
    max-width: 1600px;
    margin: auto;
}

.intro {
    display: flex;
    gap: 5rem;
    margin: clamp(1rem, 5rem, 10vw);
    align-items: center;
}

.intro h1 {
    font-size: clamp(2.2rem, 3.5rem, 3.2vw);
}

.intro p {
    font-size: clamp(1.2rem, 1.4rem, 1.6vw);
    margin-top: 2.5rem;
}

#introLarge img {
    width: clamp(15rem, 20rem, 25vw);
    border-radius: 50%;
    box-shadow: 0 0.2rem 0.4rem lightslategray;
}

#introSmall {
    display: none;
}

#menuBtn {
    display: none;
}

#buttons {
    display: flex;
    justify-content: flex-end;
}

button {
    border: 0;
    background: transparent;
}

#buttons button {
    font-size: 0.9rem;
    color: black;
    transition: transform 0.2s ease, opacity 0.3s ease;
    padding: 1rem 1rem 0.5rem;
}

.description {
    display: none;
    position: absolute;
    background: white;
    color: black;
    padding: 0.7rem;
    max-width: 40vw;
    font-size: 0.9rem;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

#logicDesc, #setTheoryDesc, #linguisticsDesc {
    right: 0.05em;
    border-top-left-radius: 0.5rem;
}

#logicDesc {
    border-top-right-radius: 0;
}

#projHead {
    font-weight: bold;
    font-size: clamp(2rem, 3.5rem, 3vw);
    text-align: center;
    margin-bottom: 4rem;
}

#projects {
    display: flex;
    justify-content: center;
    gap: 0.2rem;
    padding-bottom: 8rem;
}

.project {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 1rem;
}

.project a {
    font-weight: bold;
    display: flex;
    justify-content: center;
    color: black;
}

.project img {
    width: clamp(15rem, 25rem, 85vw);
    margin-bottom: 3rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.2rem 0.4rem lightslategray;
}

.projectBtns {
    display: flex;
    gap: 1rem;
}

.globe {
    margin-right: 0.3rem
}

a {
    font-size: clamp(1.2rem, 1.6rem, 2vw);
    text-decoration: none;
    transition: transform 0.3s ease;
}

a:hover, .read-more-btn:hover {
    transform: scale(1.03);
}

.text {
    padding-right: 1em;
    padding-left: 1em;
    font-size: clamp(0.8rem, 1rem, 3.2vw);
    line-height: 1.6;
    color: black;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 25rem;
    margin-bottom: 0.5rem;
}

.expanded {
    display: block;
}

.read-more-btn {
    background: none;
    border: none;
    color: black;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.italic {
    font-style: italic;
}

#comingSoonContainer {
    background: white;
}

#comingSoon {
    padding: 6rem clamp(1rem, 5rem, 10vw) 4rem;
    display: flex;
    gap: 5rem;
    max-width: 1600px;
    margin: auto;
    justify-content: center;
}

#comingSoon img {
    background: white;
    width: clamp(20rem, 35rem, 80vw);
}

#comingSoon h1 {
    padding-top: 10rem;
    font-size: clamp(2.2rem, 3.5rem, 3vw);
}

#comingSoon span {
    font-size: clamp(1.2rem, 1.4rem, 1.6vw);
}

#socials {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 5rem;
    background: white;
}

#socials a {
    margin-right: 1.5rem;
    margin-left: 1.5rem;
    font-size: clamp(1.8rem, 2.5rem, 4vw);
}

i {
    color: black;
}

#policy {
    padding-left: 0.5rem;
    font-size: clamp(1.2rem, 1.4rem, 1.6vw);
    color: black;
}

@media (max-width: 1350px) {
    #projects {
        flex-direction: column;
        gap: 4rem;
    }

    .text {
        padding-right: 1em;
        padding-left: 1em;
    }

    #comingSoon {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    #comingSoon h1 {
        padding-top: 0;
    }
}

@media (max-width: 920px) {
    #menuBtn {
        display: block;
        text-align: right;
        z-index: 1;
    }

    #buttons {
        display: none;
        flex-direction: column;
        position: absolute;
        right: 0;
        width: 10rem;
        padding: 1rem 1rem 2rem;
        background: white;
        border-bottom-left-radius: 0.5rem;
        border-bottom-right-radius: 0.5rem;
    }

    #buttons button {
        padding: 1rem 1rem 0;
    }

    #buttons button:hover {
        font-weight: bold;
    }

    .description {
        position: relative;
        padding-left: 1rem;
        font-size: 0.8rem;
        padding-top: 0.2rem;
        padding-bottom: 0;
    }

    #logicDesc, #setTheoryDesc, #linguisticsDesc {
        right: auto;
    }

    #introLarge {
        display: none;
    }

    #introSmall {
       display: block;
    }

    #textImage {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .intro p {
        margin-top: 1rem;
    }

    .intro img {
        width: 4rem;
        border-radius: 50%;
        box-shadow: 0 0.1rem 0.2rem lightslategray;
    }


}

