* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

a,
p,
h1,
h2,
span {
    font-family: "base";
    font-weight: bold;
}

a,
p,
span {
    font-size: 16pt;
}

p,
h1,
h2,
span,
.active-tab,
.inactive-tab:hover {
    color: rgb(255, 255, 255);
}

a {
    color: rgb(113, 119, 248);
    transition: 180ms;
    text-decoration: none;
}

a,
.active-tab,
.inactive-tab {
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

a:active {
    opacity: 0.5;
}

a img {
    margin-right: 8px;
    transition: 180ms;
}

a img:hover {
    transform: scale(0.88);
}

p {
    margin: 2px;
}

h1 {
    font-size: 23pt;
}

h2 {
    font-size: 19pt;
    margin-bottom: 16px;
}

img {
    max-width: 100%;
    border-radius: 20px;
}

iframe {
    max-width: 700px;
    width: 100%;
    height: 400px;
    margin-top: 16px;
    border-radius: 20px;
    border: none;
}

#main {
    background-color: rgb(113, 119, 248);
}

#header,
#footer,
.content-wrapper {
    padding: 20px;
    background-color: rgb(20, 20, 40);
}

#header img {
    margin: 12px;
    width: 128px;
    transition: 180ms;
    vertical-align: middle;
    cursor: pointer;
}

#header img:hover {
    transform: scale(0.92);
}

#header img:active {
    opacity: 0.5;
}

#main {
    flex-grow: 1;
    text-align: center;
}

#menu {
    margin: 25px 0 12px 18px;
}

#footer {
    padding: 32px;
}

.active-tab {
    text-decoration: overline;
}

.inactive-tab {
    transition: 180ms;
    color: rgb(120, 120, 120);
    text-decoration: none;
}

.active-tab,
.inactive-tab {
    margin-right: 25px;
}

.content-wrapper {
    margin: 20px;
    border-radius: 30px;
    animation: hello 800ms ease-out forwards;
    text-align: start;
    word-wrap: break-word;
}

@font-face {
    font-family: "base";
    src: url("../fonts/base.ttf");
}

@keyframes hello {
    0% {
        opacity: 0;
        transform: scale(0.4);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }

    70% {
        transform: scale(0.98);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 446px) {
    a,
    p,
    span {
        font-size: 14pt;
    }

    h1 {
        font-size: 21pt;
    }

    h2 {
        font-size: 17pt;
    }

    #header img {
        margin: 6px;
        width: 112px;
    }

    #menu {
        margin: 19px 0 6px 12px;
    }
}

@media (max-width: 396px) {
    a,
    p,
    span {
        font-size: 12pt;
    }

    h1 {
        font-size: 19pt;
    }

    h2 {
        font-size: 15pt;
    }

    #header img {
        margin: 4px;
        width: 96px;
    }

    #menu {
        margin: 19px 0 4px 10px;
    }
}

@media (max-width: 354px) {
    a,
    p,
    span {
        font-size: 11pt;
    }

    h1 {
        font-size: 18pt;
    }

    h2 {
        font-size: 14pt;
    }

    #header img {
        margin: 2px;
        width: 88px;
    }

    #menu {
        margin: 19px 0 4px 8px;
    }

    #header,
    #footer,
    .content-wrapper {
        padding: 16px;
    }
}
