@font-face {
    font-family: anta;
    src: url(Anta-Regular.ttf);
}
* {
    font-family: anta;
    color: var(--light);
}
html, body {
    height: 100%;
    width: 100%;
    max-height: 100%;
    min-width: 340px;
    margin: 0;
    padding:0;
}
html {
    background-color: var(--dark);
}
body {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1em 0 1em 0;
}
header div.title img.logo {
    height: auto;
    max-height: 50px;
    max-width: 80%;
    object-fit: contain;
    align-self: center;
}
div.menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}
div.menu * {
    color: var(--light);
    margin: 0 1em 0 1em;
    font-size: 1em;
}
div.menu button.theme-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}
div.menu button.theme-button svg {
    height: 1.5em;
    width: 1.5em;
    color: var(--light);
}
div.title {
    flex: 1;
    display: flex;
    flex-direction: column;
    animation: onStart 2s;
    font-size: 40pt;
}
p {
    margin: 0;
}
div.content, div.content-detail {
    overflow: auto;
}
div.content {
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
div.carousel {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}
div.carousel div.app {
    min-width: 266px;
    min-height: 150px;
    max-width: 267px;
    max-height: 150px;
    background-color: var(--light);
    margin: 1em;
    border-radius: 10px;
}
div.carousel div.app:hover {
    cursor: pointer;
}
div.carousel div.app img {
    width: 100%;
    max-height: 100%;
    border-radius: inherit;
}
div.carousel div.app p {
    color: var(--dark);
}
footer {
    height: 3em;
    display: flex;
    justify-content: center;
}
footer p {
    padding: 1em 0 1em 0;
}
div.content-detail {
    max-width: 80%;
    flex-grow: 1;
    min-height: 0;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
div.content-detail div.app {
    margin: 20px 0 20px 0;
}
div.content-detail div.app img {
    max-width: 150px;
    float: left;
    margin: 0 20px 0 0;
    border-radius: 10px;
}
div.content-detail div.app img:hover {
    cursor: pointer;
}
div.content-detail div.app p {
    text-align: justify;
}

@media screen and (max-width: 1200px) {
    body {
        width: 100%;
    }
    header {
        justify-content: space-around;
    }

}
@media screen and (max-width: 768px) {
    header {
        text-align: center;
        flex-direction: column;
    }
    header p.title {
        max-width: inherit;
        font-size: 3em;
        padding: 0;
        margin: 0;
        color: var(--light);
    }
    div.menu {
        margin-top: 10px;
        max-width: inherit;
        justify-content: space-around;
    }
    div.carousel {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        flex-direction: column;
    }
    div.carousel div.app {
        margin-left: auto;
        margin-right: auto;
    }
    div.content-detail {
        text-align: center;
    }
    div.content-detail img {
        float: inherit;
        max-width: 60%;
        margin: 20px;
    }
}

