@font-face {
    font-family: 'SourceSerif';
    src: url('../fonts/SourceSerif4-Regular.woff') format('woff'),
         url('../fonts/SourceSerif4-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "SourceSerif", serif;
}

body {
    background: #fff;
    color: #1a1a1a;
    min-height: 100%;
    overflow: hidden;
}

.wrapper {
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
}

.header {
    padding: 34px 40px;

}

.logo {
    max-width: 320px;
}

main {
    flex: 1;
}

.hero {
    background: url("../img/hero.jpg") center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}

.hero__content {
    position: relative;
    padding: 40px;
    width: 100%;
    text-align: center;

    &:before {
        content: '';
        position: absolute;
        background: rgba(0, 0, 0, 0.35);
        inset: 0;
    }
}

.hero h1 {
    color: #fff;
    font-size: 36px;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    padding: 50px 34px;
}

.footer__item {
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-size: 14px;
    position: relative;
    margin-left: 25px;
}

.footer__item:last-child span {
   max-width: 275px;
}

.footer__item img {
    width: 18px;
    left: -25px;
    position: absolute;
    display: inline-block;
}

.container {
    margin: 0 auto;
    width: 100%;
}

@media screen and (orientation: landscape) {
    .wrapper {
        overflow: auto;
    }
    .hero {
        min-height: 375px;
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {

}

@media (max-width: 768px) {
    .header {
        padding: 16px;
        text-align: center;
    }

    .logo {
        max-width: 240px;
    }

    .hero h1 {
        font-size: 20px;
    }

    .footer {
        flex-direction: column;
        padding: 25px;
    }
}