@font-face {
    font-family: "Medodica";
    src: url(MedodicaRegular.otf);
}

a {
    color: #3898b7;
}

p {
    font-family: "Medodica";
    font-size: 17px;
}

i{
    color: #999999;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Silkscreen", sans-serif;
    font-weight: 400;
    margin: 0;
    color: #16537e;
}

.container {
    width: 1000px;
    height: 780px;
    margin: auto;
    background-image: url(images/dither-bg-1.PNG);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 90%;
    display: grid;
    grid-gap: 10px;
    grid-template:
        "header right"
        "main right"
        "footer footer"
        / 690px 1fr;
}

header {
    grid-area: header;
    height: 350px;
    margin: 0 40px 0 40px;
    background-image: url(images/about-header.PNG);
    background-size: contain;
    background-repeat: no-repeat;
}

main {
    grid-area: main;
    max-height: 372px;
    overflow: hidden;
}

.tabtoggle {
    position: absolute;
    left: 14rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1;
}

button {
    width: 45px;
    padding: 10px 10px 10px 0;
    background-color: #d0e0e3;
    color: white;
    border: none;
    border-radius: 10px 0 0 10px;
    writing-mode: sideways-lr;
    font-family: "Silkscreen", sans-serif;
}

.tab {
    margin: 0 80px 0 30px;
    padding: 20px;
    position: relative;
    height: 330px;
    border: 1px dotted black;
    background-color: white;
    font-family: "Spectral", serif;
    overflow: auto;
    z-index: 2;
}

aside {
    grid-area: right;
    height: 100%;
}

.box {
    position: absolute;
    width: 200px;
    height: 140px;
    margin: 30px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px dotted black;
    font-family: "Medodica";
}

footer {
    grid-area: footer;
    text-align: center;
    font-family: "Spectral", serif;
    font-size: 12px;
    color: #595959;
}

/* custom scrollbar */
::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #f7f7f7;
}

::-webkit-scrollbar-thumb {
    background: #d0e0e3;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e2ecee;
}
