*, *::after, *::before {
    padding: 0;
    margin: 0;

    font-family: 'Consolas';
}

html, body {
  overflow: hidden;
}

#content {
    width: 100vw;
    height: 100vh;

    background-image: url("/static/img/bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;

    display: flex;
    justify-content: center;
}

header {
    margin-top: 30vh;
    width: 100%;

    color: white;

    display: none;
    flex-direction: column;
    align-items: center;

    position: relative;
    transform: translateY(0);
    transition: transform 0.6s ease-in-out;
}

header.gf {
    display: flex;
    animation: Gfin 0.5s ease forwards;
}

@keyframes Gfin {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

header.move-up {
    transform: translateY(1000vh);
    animation: ggg 2.5s ease forwards;
}

@keyframes ggg {
    from {
        scale: 1;
    }

    to {
        scale: 2;
    }
}

#title {
    font-size: 50px;
}

#hd {
    width: 82.48px;
}

#titleHeader {
    display: flex;
}

.t_span {
    font-size: 10px;
}

#s1 {margin-right: calc(100% / 10);margin-left: calc(100% / 50);}
#s3 {margin-left: calc(100% / 10);}

#btnd {
    display: flex;
    justify-content: center;
}

#gBtn {
    margin-top: 10px;
    border: none;
    padding: 5px 20px;
    border-radius: 3px;
    color: white;
    background-color: rgba(255, 255, 255, 0.5);
}

#gBtn:hover {
    background-color: rgba(255, 255, 255, 0.35);
}

.quizd {
    margin-top: 30vh;

    color: white;
    font-size: 30px;

    display: none;
    flex-direction: column;
    align-items: center;
}

.animate-in {
    display: flex;
    animation: fadeIn 0.5s ease forwards;
}

.animate-out {
    display: flex;
    animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

.qframe {
    width: 300px;
}

.qqf {
    display: flex;
    flex-direction: row;

    justify-content: center;
}

.qbtn {
    border: none;
    border-radius: 3px;

    padding: 10px 25%;
    margin: 7px;

    color: white;
    background-color: rgba(255, 255, 255, 0.5);
}

.qbtn:hover {
    background-color: rgba(255, 255, 255, 0.35);
}

.quest {
    margin-bottom: 20px;
}

.endg {
    margin-top: 30vh;
    color: white;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.endg, .iconmaster {
    animation: GfadeIn 0.5s ease forwards;
}

.rel {
    animation: Gfout 0.5s ease forwards;
}

.tend {
    margin-bottom: 10px;
    font-size: 35px;
}

.cend {
    font-size: 20px;
}

@keyframes GfadeIn {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes Gfout {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

#rebtn {
    border: none;
    border-radius: 3px;

    color: white;
    background-color: rgba(255, 255, 255, 0.5);

    margin-top: 5px;
    padding: 5px 15px;
}

#rebtn:hover {
    background-color: rgba(255, 255, 255, 0.35);
}

p {
    position: absolute;
    top: calc(100vh * 0.95 / 1.5);
    opacity: 0.5;
}

img.icon {
    width: 40px;
}

.iconmaster {
    position: absolute;
    top: calc(100vh * 0.95 / 1.5);
}

a {
    text-decoration: none;
    opacity: 0.5;
}

a:hover {
    text-decoration: none;
    opacity: 0.35;
}

button {
    cursor: pointer;
}

.ico {
    display: inline-block;
}

.ico img {
    transition: transform 0.4s ease;
}

.ico:hover img {
    transform: translateY(-12px) rotate(15deg);
}