*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #fff;
    font-family: sans-serif;
    font-weight: 300;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.info p {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.4em;
}

main {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-image: url('/imgs/bg-metal.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.center {
    display: grid;
    justify-content: center;
    align-content: center;
}

.quad {
    background: #859895;
    color: #fff;
    height: 540px;
    width: 540px;
    border-radius: 1rem;
    margin: -100px auto 0;
    padding: 1.5rem;
    display: grid;
    justify-content: center;
    align-content: center;
    box-shadow: 0 2px 4px rgba(51, 51, 51, 0.3);
}

.logo {
    text-align: center;
}

.logo img {
    width: 400px;
    margin: 20px 0;
}

.info {
    text-align: center;
}

hr {
    width: 120px;
    border: none;
    border-top: 2px solid #fff;
    margin-top: 20px;
}

i {
    margin: 20px 6px 10px;
    color: #fff;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
    padding: .5em 1em;
    position: absolute;
    bottom:0;
    background: #fff;
    width:100%;
    z-index: 10;
}

footer div {
    max-width:33vw;
}

footer img {
    max-width: 100%;
}

footer .text {
    text-align: right;
    font-size: 10px;
    color: #999;
}

footer p {
    margin:1em;
}


@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) {
    body {
        background-color: rgba(131, 206, 228, 1);
    }

    main {
        height: 90vh;
    }

    .quad {
        height: 70vh;
        width: 90vw;
    }

    .logo img {
        max-width: 100%;
        width: 80vw;
        margin: 0 0 20px;
    }

    p {
        font-size: 15px;
    }

    i {
        height: 24px;
        margin: 20px 6px 6px;
    }

    footer {
        flex-direction: column;
        position: relative;
    }

    footer div {
        max-width: 95vw;
    }

    footer .text {
        text-align: center;
    }

    footer .logos {
        order: 0;
    }

    footer .text {
        order: 1;
    }
}