@font-face {
    font-family: "Glacial Indifference";
    src: local("Glacial Indifference Regular"), local("Glacial-Indifference-Regular"),
    url("fonts/GlacialIndifference-Regular.woff2") format("woff2"),
    url("fonts/GlacialIndifference-Regular.woff") format("woff"),
    url("fonts/GlacialIndifference-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

html {
    background-color: #C8F086FF;
}

footer a {
    color: white;
}

body {
    display: flex;
    flex-direction: column;
    align-content: space-between;
    min-height: 100vh;
    align-items: center;
    margin: 0;
}

header {
    height: 10vh;
    width: 100%;
}

header img {
    width: auto;
    height: 100%;
}

header p {
    font-family: "Glacial Indifference", serif;
    text-transform: lowercase;
    font-size: 2rem;
    align-self: center;
}

.row {
    display: flex;
    flex-direction: row;
}


.google-badge:hover {
    opacity: 80%;
}


@media (min-aspect-ratio: 301/400) {
    h1 {
        font-family: "Poppins", sans-serif;
        font-weight: 600;
        font-style: normal;
        font-size: max(2.5vw, 1rem);

    }

    p {
        font-family: "Poppins", sans-serif;
        font-weight: 300;
        font-style: normal;
        font-size: max(0.9vw, 0.8rem);
    }

    main {
        display: flex;
        flex-direction: row;
        max-width: 60vw;
        max-height: 80vh;
    }

    .mockup {
        min-width: 100px;
        max-width: 25vw;
        max-height: 60vh;
        min-height: 0;
        height: auto;
        width: auto;
    }

    .google-badge {
        min-width: 300px;
        width: 45%;
    }

    .filler {
        flex-grow: 1;
    }

    #description {
        width: 50%;
    }

    #mockup-container {
        height: auto;
        width: 50%;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        place-items: end;
    }
}

@media (max-aspect-ratio: 3/4) {
    h1 {
        font-family: "Poppins", sans-serif;
        font-weight: 600;
        font-style: normal;
        font-size: max(8vw, 1rem);

    }

    p {
        font-family: "Poppins", sans-serif;
        font-weight: 300;
        font-style: normal;
        font-size: max(2.5vw, 0.8rem);
    }

    main {
        display: flex;
        flex-direction: column;
        max-width: 90%;
    }

    .mockup {
        min-width: 100px;
        max-width: 90vw;
        max-height: 60vh;
        min-height: 50vh;
        height: auto;
        width: auto;
    }

    .google-badge {
        min-width: 300px;
        width: 100%;
    }


    #description {
        width: 100%;
    }

    #mockup-container {
        height: auto;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        place-items: center;
    }
}


#mockup-container img {
    grid-area: 1/1;
}


footer {
    background-color: black;
    color: white;
    width: 100%;
}

footer p {
    margin: 16px 32px 16px 32px;
}


.top {
    animation-name: fade;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 3s;
    animation-direction: alternate;
}

@keyframes fade {
    0% {
        opacity: 1;
    }
    25% {
        opacity: 1;
    }
    75% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}