html {
    scroll-behavior: smooth;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #7699D4;
    color: #2B2F55;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 1s ease-in-out;
}
img {
    border-radius: 15%;
    border-color: #C4D6F4;
    border-width: 10px;
    border-style: double;
    width: 160px;
}
pre {
    background-color: #C4D6F4;
    margin: 10px 0;
    padding: 10px 10px 10px 20px;
    border-radius: 10px;
    overflow-x: auto;
    height: fit-content;
}
code {
    font-family: "Source Code Pro", monospace;
    color: #2B2F55;
    display: block;
    white-space: pre;
}
.sidebar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background-color: #7699D4;
    border-radius: 15px;
    width: 190px;
    overflow-wrap: break-word;
    overflow-y:auto;
    overflow-x: hidden;
    max-height: 90%;
}
.sidebar a {
    text-decoration: none;
    color: #C4D6F4;
    font-family: "DynaPuff", system-ui;
    font-size: 25px;
    transition: color 0.3s, transform 0.2s;
    display: block;
    word-wrap: break-wrod;
    white-space: normal;
}
.sidebar a:hover {
    color: #FFDAE9;
    transform: translateX(5px);
}
section {
    height: auto;
    padding: 50px;
}
#second {
    display: none;
}
#preloader h1 {
    animation: pop 0.8s ease-out forwards;
}
#preloader p {
    animation: pop 0.8s ease-out forwards;
    display: none;
    text-align: center;
    margin: 0 auto;
}
@keyframes pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    60% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}
#preloader.fade {
    opacity: 0;
    pointer-events: none;
}
body {
    margin-left: 3%;
    margin-right: 3%;
    color: #2B2F55;
    background-color: #C4D6F4;
}
#content {
    display: flex;
    flex-wrap: wrap;
    padding-left: 13%;
}
.container {
    height: fit-content;
    background-color: #7699D4;
    border: 10px solid #2B2F55;
    padding: 5%;
    border-radius: 10%;
    margin-bottom: 30px;
}
a {
    color: #C4D6F4;
}
h1 {
    font-family: "Cherry Bomb One", system-ui;
    font-size: 40px;
}
h2 {
    font-family: "DynaPuff", system-ui;
    font-size: 32px;
}
p {
    font-family: "Dongle", sans-serif;
    font-size: 22px;
}