html,
body {
    height: auto;
}

body {
    background-image: url("../images/about-me-bg.png");
    background-repeat: repeat;
    color: white;
    animation: moveTiles 30s linear infinite;
}

h1, h2, h3, h4, h5, h6, p {
    text-align: center;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    min-height: 0;
    padding: 10px;
}

.about-title {
    display: block;
    width: clamp(100px, 40vw, 500px);
    height: auto;
    margin: -20px 0 -60px;
}

.small-title {
    display: block;
    width: auto;
    height: clamp(20px, 50vw, 100px);
}

.about-layout {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
}

.about-left .window,
.about-right .window {
    flex-shrink: 0;
}

.about-left {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.window {
    min-width: 0;
    border: 2px solid white;
}

.window-title {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 8px 10px;
    border-bottom: 2px solid white;
}

.window-content {
    padding: 15px;
}

.pfp-about {
    display: block;
    width: clamp(150px, 60%, 250px);
    height: auto;
    margin: 0 auto;
    border: 2px solid white;
}

.interest {
    transition: transform 0.3s ease-in-out;
}

.interest:hover {
    transform: scale(1.2);
    cursor: pointer;
}

.projects-window {
    width: 100%;
    margin-top: 20px;
    overflow: hidden;
}

.marquee,
.badges-marquee {
    width: 100%;
    overflow: hidden;
}

.badges-marquee {
    margin-top: 15px;
}

.badges {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
    transition: transform 0.3s ease-in-out;
}

.badges img {
    width: 88px;
    height: auto;
    flex-shrink: 0;
    transform: scale(1.1);
}

.badges:hover {
    animation-play-state: paused;
}

@keyframes moveTiles {

    from {
        background-position: 0 0;
    }

    to {
        background-position: 256px 256px;
    }

}

@keyframes marquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}

@media (max-width: 950px) {

    .about-layout {
        flex-direction: column;
    }

    .about-left,
    .about-right {
        width: 100%;
    }

}