@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Initialize CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

html {
    font-size: 16px;
}

body {
    min-width: 100vw;
    min-height: 100vh;
    padding: 8rem 1rem;
}

.dark-ft {
    color: #333D79;
}

.dark-bg {
    background-color: #333D79;
}

.light-ft {
    color: #FAEBEF;
}

.light-bg {
    background-color: #FAEBEF;
}

.link {
    cursor: pointer;
    text-decoration: underline;
    padding: 0 .5rem;
    border-radius: 1rem;
}

.center-text {
    text-align: center;
}

.crs-pointer {
    cursor: pointer;
}

header {
    display: grid;
    grid-template-columns: 1fr 6fr 1fr;
    grid-template-rows: 1fr;
    padding: .5rem 0;
    align-items: start;
    justify-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

header .home-page a {
    display: flex;
    align-items: center;
    justify-content: center;
}

header .home-page a img {
    width: 1.5rem;
    height: 1.5rem;
}

header h1 {
    font-size: 1.5rem;
}

header h1 span {
    display: block;
}

.switcher-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.switcher-container div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 1rem;
}

.hamburger-container div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: .25rem;
}

main {
    display: grid;
    justify-content: center;
    width: 100%;
    height: 100%;
}

main .img-container {
    display: flex;
    justify-content: center;
}

main img {
    width: 256px;
    height: 256px;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    font-size: .75rem;
}

.credits {
    margin: 10rem 2rem;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
}

.credits.active {
    display: block;
}

.credits p {
    font-size: .5rem;
}

.credits svg {
    position: absolute;
    top: 0;
    right: 0;
    margin: 1rem;
}

@media screen and (min-width: 1280px) and (orientation: landscape) {
    header {
        grid-template-columns: 1fr 18fr 1fr;
        align-items: center;
    }
    
    header h1 {
        font-size: 2rem;
    }

    header h1 span {
        display: inline;
    }

    .credits {
        margin: 10rem;
    }
    
    .credits p {
        font-size: .75rem;
    }
}