:root {
    --bg: #ffffff;
}

* {
    font-family: "Red Hat Display", sans-serif;
    font-size: 20px;
}

body {
    background-color: #b8dc9b;
    background-image: url("../images/bg.png");
    background-size: contain;
    background-repeat: repeat-x;
    margin: 0;
}

#body {
    z-index: -1;
}

#top_div {
    width: 60%;
    height: 10%;
    margin-left: 10%;
    margin-right: 10%;
    position: sticky;
}

.top_boxes {
    height: 100%;
    width: 100%;
    display: flex;
}

.top_boxes div{
    height: 100%;
    display: flex;
    justify-content: center;
}

button {
    padding: 0.5em;
    font-size: 22px;
    background-color: #b8e1e1;
    border: 2px solid #565656;
    border-top: none;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    cursor: pointer;
    width: 20vw;
    color: #0E305D;
    transition: 0.3s;
}

#kadu {
    display: block;
    position: fixed;
    max-width: 10%;
}

.imgage {
    height: 100%;
    display: block;
    margin: auto;
}

a:hover {
    background-color: yellow;
}

.content {
    width: 50%;
    margin-left: 5%;
    border-radius: 25px;
    border: 2px hidden black;
}

.content-flex {
    width: 100vw;
    height: 70%;
    display: flex;
    margin-top: 2em;
}

.content-text {
    height: 90%;
}

.btn-group {
    height: 10%;
    display: none;
    border-top: 1px solid black;
}

.btn-group button {
    height: 100%;
    width: 33.33%;
    background: none;
    border: none;
    border-radius: 0;
    margin: 0;
    float: left;
}

.btn-group :first-child {
    border-bottom-left-radius: 25px;
    border-right: 1px solid black;
}

.btn-group :last-child {
    border-bottom-right-radius: 25px;
    border-left: 1px solid black;
}

.name {
    display: flex;
    padding-left: 1em;
    max-height: 20%;
}

#content_img {
    display: none;
    height: 5em;
    margin: 0.5em 0.5em 0.5em auto;
}

#name {
    font-size: 40px;
}

#text {
    overflow-y: scroll;
    max-height: 80%;
    padding: 1em;
    display: none;
    margin-block-start: 0;
    margin-block-end: 0;
}

#text_img {
    height: 35%;
    display: none;
    margin-left: 1em;
}

@media (min-width: 601px) {

    body {
        --screen: "ultra large";
    }

    #kadu {
        display: block;
    }

}

@media (max-height: 500px) or (max-width: 600px){

    body {
        --screen: "medium";
    }

    #top_div {
        margin: 0;
        height: 10vh;
    }

    .button {
        width: 25vw;
        border-radius: 0;
        border: 0;
    }

    .content {
        height: 100%;
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .content-flex{
        width: 100%;
        height: 89.9%;
        margin-top: 0;
    }

    .name {
        max-height: 40%;
    }

    #content_img {
        height: 4.5em;
    }

    .content-text {
        overflow-y: scroll;
        height: 85%;
        margin-bottom: 10%;
    }

    .btn-group {
        height: 10%;
        border-top: 1px solid black;
    }

    .btn-group :first-child {
        border-bottom-left-radius: 0;
    }

    .btn-group :last-child {
        border-bottom-right-radius: 0;
    }

    #text {
        overflow-y: initial;
    }
}

@media (max-width: 600px) {
    #kadu {
        max-height: 10%;
        max-width: 100%;
    }
}

