@font-face {
    font-family: "BeauSans";
    src: url("./BT-BeauSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

* {
    font-family: "BeauSans", sans-serif;
    color: #8C8C8C;
    font-weight: 400;
}


html {
    min-height: 100vh;
    font-family: "BeauSans", sans-serif;
    display: flex;
    flex-direction: column;
}

body {
    background-image: url("./bg-sc.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

header {
    display: flex;
    justify-content: center;
}

header img {
    max-width: 200px;
    opacity: 0.6;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    margin-bottom: 5%;
}

.title {
    font-size: 26px;
    line-height: 1.5;
    text-align: center;
    margin: 0;
    color: #8C8C8C;
}

.mail a {
    font-size: 20px;
    color: #8C8C8C;
}

a {
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

a:hover {
    opacity: 0.5;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 15%;
}

.redes {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}

.item {
    display: flex;
    padding: 5px 15px;
    border-right: solid 1px #8C8C8C;
    border-left: solid 1px #8C8C8C;
}

.item a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.item:first-child {
    border-right: none;
}

.item img {
    opacity: 0.6;
    max-width: 25px;
}

@media screen and (min-width: 768px) {
    body {
        padding: 40px;
    }

    header img {
        max-width: 250px;
    }

    .title {
        font-size: 32px;
        line-height: 1.44;
        text-align: center;
    }

    .mail a {
        font-size: 24px;
        color: #8C8C8C;
    }

    footer {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin: 0;
    }

    .redes {
        margin-top: 0;
    }

    .item {
        padding: 5px 20px;
        border-right: solid 2px #8C8C8C;
        border-left: solid 2px #8C8C8C;
    }

    .item a {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .item img {
        max-width: 32px;
    }
}