@font-face {
    font-family: 'ComicSansFixed';
    src: url('/assets/fonts/ComicSansMS3.ttf') format('truetype');
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'ComicSansFixed';
}

body {
    background-image: url('/assets/bg/about/bg01.jpg');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: repeat;
    background-size: 500px auto;

    display: flex;
    justify-content: center;
    align-items: center;

    height: 100vh;
}

.container {
    width: 800px;
    height: 500px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: ridge #fff4c8;
    background: #ffc2e0;
    background: linear-gradient(90deg, rgba(255, 194, 224, 1) 0%, rgba(255, 255, 255, 1) 100%);

    position: relative;
}

.container img:nth-of-type(1) {
    height: 121px;
    position: absolute;
    top: -20px;
    left: -46px;
    transform: rotate(337deg);
    filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.705));
}

.container img:nth-of-type(2) {
    height: 129px;
    position: absolute;
    bottom: -1px;
    left: 20px;
}

.content {
    display: flex;
    height: 100%;
}

aside {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    flex: 1;
    order: 1;
}

.about {
    background-color: white;
    overflow: auto;
    height: 100%;
    text-align: justify;
    text-align-last: center;
    flex: 3;
    order: 2;
    color: #9b005a;

    border: ridge antiquewhite;
    padding: 20px;
}

.about::-webkit-scrollbar {
    width: 20px;
}

.about::-webkit-scrollbar-thumb {
    background-color: antiquewhite;
    border: 1px solid black;
}

.about::-webkit-scrollbar-track {
    background-color: rgb(255, 214, 161);
}

.about::-webkit-scrollbar-button {
    width: 16px;
    /* width of the button */
    height: 16px;
    /* height of the button */
    background-color: #ccc;
    border: 1px solid #999;
}

aside nav h1 {
    color: #ed008c;
}


aside nav ul {
    list-style: none;

}

aside nav ul li {
    padding: 2px 10px;
    margin: 5px 0;
    background: #ed87c8;
    background: linear-gradient(90deg, rgba(237, 135, 200, 1) 0%, rgba(237, 135, 200, 0) 100%);
    border-radius: 5px;

}

aside nav ul li a {
    text-decoration: none;
    color: #ffffff;

}

aside nav ul li a:hover {
    color: #ff23a4;
    font-style: italic;
    text-decoration: underline;

}







@media (max-width: 900px) {
    body {
        padding: 20px;
        height: auto;
        align-items: flex-start;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }

    .container {
        width: 95%;
        height: auto;
        padding: 15px;
    }

    .content {
        flex-direction: column;
        gap: 15px;
        height: auto;
    }

    aside {
        width: 100%;
        order: 1;
    }

    aside nav h1 {
        display: none;
    }

    aside nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    aside nav ul li {
        background: none;
        text-align: center;
    }

    aside nav ul li a {
        color: #9b005a;
    }

    .about {
        order: 2;
        width: 100%;
        height: auto;
        max-height: 60vh;
    }

    /* Images shrink */


    .container img:nth-of-type(1),
    .container img:nth-of-type(2) {
        height: 85px;
        position: absolute;
    }

    .container img:nth-of-type(1) {
        top: -56px;
        left: -22px;
        transform: rotate(360deg);
    }

    .container img:nth-of-type(2) {
        bottom: 0px;
        left: -4px;
    }
}

@media (max-width: 500px) {
    body {
        padding: 20px;
        height: auto;
        align-items: flex-start;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }

    .container {
        width: 95%;
        height: auto;
        padding: 15px;
    }

    .content {
        flex-direction: column;
        gap: 15px;
        height: auto;
        width: 100%;
    }

    aside {
        width: 100%;
        order: 1;
    }

    aside nav h1 {
        display: none;
    }

    aside nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    aside nav ul li {
        padding: 4px;
        background: none;
        text-align: center;
    }

    aside nav ul li a {
        color: #9b005a;
    }

    .about {
        order: 2;
        width: 100%;
        height: auto;
        max-height: 60vh;
    }

    /* Images shrink */


    .container img:nth-of-type(1),
    .container img:nth-of-type(2) {
        height: 85px;
        position: absolute;
    }

    .container img:nth-of-type(1) {
        top: -56px;
        left: -22px;
        transform: rotate(360deg);
    }

    .container img:nth-of-type(2) {
        bottom: 0px;
        left: -4px;
    }
}