* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

img {
    user-drag: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
}

body {
    font-family: "Nunito", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-optical-sizing: auto;
    background-color: #fff0b1;
    color: #7a403a;
}

.flextris {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: clamp(3rem, 5vw, 3.9rem);
}

h2 {
    font-size: clamp(1.5rem, 5vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 4vw, 2.25rem);
}

h4 {
    font-size: clamp(1.35rem, 3vw, 2rem);
}

h2,
h3,
h4 {
    margin-top: 1.5rem;
    margin-bottom: .5rem;
}

p {
    font-size: clamp(1rem, 2.25vw, 1.25rem);
    line-height: 1.5;
    max-inline-size: 52ch;
    margin-bottom: 1.5rem;
}

a,
#nokped-logo,
.back-button {
    display: inline-block;
    transition: transform 0.2s ease;
    text-decoration: none;
    color: #cb8400;
}

a:hover,
#nokped-logo:hover,
.back-button:hover {
    transform: scale(1.05);
    color: orange;
}

a:active,
#nokped-logo:active,
.back-button:active {
    transform: scale(.95);
}

#main-logo {
    width: clamp(150px, 90vw, 400px);
    padding: 15px;
}

#duck-nest-logo {
    max-width: 180px;
}

#sst-logo {
    max-width: 150px;
}

#kofi-logo-link {
    width: 150px;
}

.back-button {
    margin-top: 10px;
    width: 90px;
}

.main-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.social-links {
    margin-top: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1px, 2vw, 22px);
    padding: 5px;
}

.social-links img {
    width: clamp(75px, 2.5vw, 300px);
}

.info-links {
    display: flex;
    gap: 50px;
    font-weight: lighter;
    text-align: center;
    font-size: 24px;
}


.content-section {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
}

.white-block {
    background: rgba(255, 255, 255, 90%);
    border-radius: 50px;
    padding: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-section .info-links {
    padding: 0 1rem 0 1rem;
}

#about-me .white-block {
    max-inline-size: 100ch;
}

#about-me .info-links {
    font-size: 1.4rem;
}

.info-links#smol {
    margin-top: 10px;
    font-size: 1.2rem;
    filter: saturate(70%)
}

.info-links#smoler {
    margin-top: 10px;
    font-size: 1rem;
    filter: saturate(60%)
}

@media (orientation: landscape) {
    .flextris {
        flex-direction: row;
        align-items: start;
        gap: 4em;
    }

    #about-me .flextris-one h1 {
        margin-top: 1.2em;
    }

    #about-me {
        text-align: left;
    }

    .flextris p {
        max-inline-size: 30ch;
    }

    .flip-card {
        margin-top: 1.5rem;
    }

    .flip-card-back {
        margin-top: 3rem;
    }
}

@media (orientation: landscape) and (max-width: 950px) {
    .mobile-cut {
        display: none;
    }
}

@media (orientation: landscape) and (max-height: 400px) {
    .uber-smol {
        display: none;
    }

    h1 {
        font-size: clamp(2rem, 3vw, 3rem);
    }

}

@media (orientation: portrait) {

    .info-links {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }

    #normal a {
        font-size: clamp(1rem, 1.5vw, 1.4rem);
    }

    #smol a {
        font-size: clamp(.8rem, 1.3vw, 1.2rem);
    }

    #smoler a {
        font-size: clamp(0.7rem, 1.1vw, 1.05rem);
    }

    .back-button {
        width: clamp(75px, 15vw, 120px);
    }

    #duck-nest-logo {
        width: clamp(120px, 35vw, 250px);
    }

    .flip-card-back {
        margin-top: 1rem;
    }

}

@media (orientation: portrait) and (max-height: 768px) {
    .mobile-cut {
        display: none;
    }
}

@media (orientation: portrait) and (max-height: 1000px) {
    .content-section p {
        font-size: clamp(0.85rem, 0.5vw, 0.9rem);
    }

    .content-section h1 {
        font-size: clamp(1.69rem, 3vw, 2rem);
    }

    .content-section #sst-logo {
        width: 7rem;
    }

    #smoler {
        display: none;
    }
}

#ducky-walking {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes fadeContentIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeContentOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

#nokped-logo {
    width: 100px;
    border-radius: 50%;
}

.flip-card {
    width: clamp(150px, 35vw, 250px);
    height: clamp(150px, 35vw, 250px);
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
}

.flip-card-back {
    text-align: center;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}