@font-face {
    font-family: "Jersey 15";
    src: url(../media/fonts/Jersey15-Regular.ttf);
}
@font-face {
    font-family: "Jersey 10";
    src: url(../media/fonts/Jersey10-Regular.ttf);
}

* {
    box-sizing: border-box;
}

body {
    position: relative;

    text-align: center;
    display: flex;
    justify-content: center;
    margin: min(3rem, 8%);
}

.background-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(#a2b4ff, #b176f0);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#title {
    font-family: "Jersey 15";
    font-size: clamp(4.5rem, calc(10vw + 1rem), 10rem);
    margin: 0;
    margin-bottom: 20px;
    justify-content: center;
    padding-top: 70px;
}

p {
    font-family: "Jersey 10";
    font-size: clamp(1.6rem, calc(2vw + 0.1rem), 10rem);
    margin: 0;
}
a {
    font-family: "Jersey 10";
}
button {
    font-family: "Jersey 10";
    width: 100%;
    min-height: 50px;
    color: orange;
    background-color: brown;
    border-color: gold;
    font-size: 30px;
}
button:hover {
    color: brown;
    background-color: orange;
}

.wrapper-main {
    position: relative; /*needed so pillar absolute position refers to this class instead of body*/
    max-width: 100%;
    font-size: 30px;
    background-color: orange;
    border-bottom: 30px solid brown;
    padding: 10px;
}

.linktree {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    padding: 10px;
    padding-bottom: 85px;
}

#header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    min-width: fit-content;
    padding: 10px;
    padding-bottom: 1rem;
}

#text-container {
    display: flex;
    text-align: justify;
    flex-wrap: wrap;
    max-width: 50rem;
}

#self-portrait {
    width: min(18.8rem, 50%);
    height: auto;
    padding: 0.5rem;
    background-color: #ff7200;
    border-bottom: 0.5rem solid brown;
}

#pillar1 {
    position: absolute;
    top: -20px;
    left: 10px;
}
#pillar2 {
    position: absolute;
    top: -20px;
    right: 10px;
}
#pillar3 {
    position: absolute;
    bottom: 10px;
    left: 10px;
}
#pillar4 {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.carousel {
    position: fixed;
    width: 100%;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;

    /* hidding and disabling scrollbar */
    touch-action: pan-y;
    scrollbar-width: none;
    -ms-overflow-style: none; 
}
.carousel::-webkit-scrollbar { 
    display: none;
}
.cloud-group {
    display: flex;
    align-items: center;
    justify-content: center;
}
.cloud {
    width: max(60vw, 60vh);
}

@keyframes spinL {
    0% { translate: 0; }
    100% { translate: -100%; }
}
@keyframes spinR {
    0% { translate: -100%; }
    100% { translate: 0; }
}