@font-face {
    font-family: 'PopHappiness';
    src: url('fonts/PopHappiness.ttf') format('truetype');
}

html {
    background-image: url('img/yeen-background-html.webp');
    background-color: #ff748d;
    background-attachment: fixed;          
    scrollbar-color: #2f3a6f #ff748d; /* thumb color | track color */
}

body {
    max-width: 800px;
    font-family: 'PopHappiness', Arial, sans-serif;
    line-height: 1.2;
    color: rgb(16, 13, 91);
    margin: 10px auto;
    padding: 20px;
    display: block;
    font-size: 1.1em;
}

.main {
  border: 10px ridge rgb(88, 84, 186);
  border-radius: 65px;
  background-color: #2f3a6f;
  padding: 10px;
  box-shadow: 10px 10px 10px rgba(16, 13, 91, 0.3);
}

.box-frame {
    border: 4px ridge rgb(88, 84, 186);
    background-color: #fef5ec;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    box-shadow: 3px 3px 3px rgba(16, 13, 91, 0.5);
}

#index-marquee {
    max-height: 30px;
    overflow: hidden;
    padding: 0;
}

.index-flex {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.index-nav-list {
    flex: 1;
    list-style-type: none;
    padding: 0;
}

.index-nav-list a {
    display:block;
    text-decoration: none;
    text-align: center;
    font-size: 0.8em;
    color: rgb(16, 13, 91);
    background-color: #ffaceb;
    border-radius: 6px;
    border: 4px ridge #ff8aca;
    padding: 5px;
    margin: 5px 0;
    
}

#header {
    text-align: right;
    font-size: 2em;
    margin-bottom: 10px;
    margin-top: -1px;
    border-radius: 50px 50px 5px 5px;
    background-image: url(/img/banner.png);
    background-size: cover;
}

#header img {
    width: 35%;
    min-width: 150px;
    margin: 0.2em;
    margin-right: 9%;
    filter: drop-shadow(8px 8px 4px rgba(16, 13, 91, 0.5));
}

#footer {
    text-align: center;
    font-size: 0.9em;
    color: #fef5ec;
    border-radius: 5px 5px 50px 50px;
    margin-bottom: -1px;
    background-image: url('img/blue-dot-background.webp');
}

.index-updates {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Stickers */

.index-intro-sticker {
    Width: 50%;
    max-width: 200px;
    margin: 0 10px;
    float: right;
}

/* About Me Section */

.about-me-flex {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

#icon-and-interests {
    flex: 1;
    list-style-type: none;
    padding: 1em;
    text-align: center;
}

@media (max-width: 600px) {
    .index-flex {
        flex-direction: column;
    }
    .about-me-flex {
        flex-direction: column;
    }
}