/* FONTS */
@font-face {
    font-family: 'icomoon';
    src: url("fonts/icomoon/icomoon.eot"); /* IE9 Compat Modes */
    src: url("fonts/icomoon/icomoon.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("fonts/icomoon/icomoon.otf") format("opentype"), /* Open Type Font */
    url("fonts/icomoon/icomoon.svg") format("svg"), /* Legacy iOS */
    url("fonts/icomoon/icomoon.ttf") format("truetype"), /* Safari, Android, iOS */
    url("fonts/icomoon/icomoon.woff") format("woff"), /* Modern Browsers */
    url("fonts/icomoon/icomoon.woff2") format("woff2"); /* Modern Browsers */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BebasNeue';
    src: url("fonts/Bebas_Neue/BebasNeue.eot"); /* IE9 Compat Modes */
    src: url("fonts/Bebas_Neue/BebasNeue.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("fonts/Bebas_Neue/BebasNeue.otf") format("opentype"), /* Open Type Font */
    url("fonts/Bebas_Neue/BebasNeue.svg") format("svg"), /* Legacy iOS */
    url("fonts/Bebas_Neue/BebasNeue.ttf") format("truetype"), /* Safari, Android, iOS */
    url("fonts/Bebas_Neue/BebasNeue.woff") format("woff"), /* Modern Browsers */
    url("fonts/Bebas_Neue/BebasNeue.woff2") format("woff2"); /* Modern Browsers */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* RESET */
body {
    box-sizing: border-box;
    background-color: #fff;
    color: #000;
    font-size: 16px;
    font-family: 'BebasNeue', fallback, sans-serif;
    margin: 0;
    padding: 0;
}

main {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

p {
    margin-bottom: 1rem;
}

/* CONTAINER */
.container__base {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.container__primary {
    width: 100%;
    height: 100%;
}

/* CONTENT */
/* ORNAMENT */
.card {
    margin: 15px;
}

.card__ornament {
    background: url("icons/ornament_top.png") center center/contain no-repeat;
    height: 40px;
    margin: 20px;
    position: relative;
}

.card__ornament-top {
    margin-bottom: 100px;
}

.card__ornament-bottom {
    margin-top: 100px;
    transform: rotate(180deg);
}

.card__ornament-aside {
    background: url("icons/ornament_aside.png") center center/contain no-repeat;
    height: 85px;
    width: 25px;
    position: absolute;
}

.card__ornament-left {
    left: 0;
    transform: rotateY(180deg);
}

.card__ornament-right {
    right: 0;
}

.card__ornament-aside {
    top: 0;
}

/* CARD */
.card__content {
    padding: 10px;
}

.card__logo {
    position: relative;
}

.card__logo-img {
    width: 250px;
    object-fit: contain;
    margin: 0 auto;
}

.card__text {
    margin-top: 50px;
}

/* SOCIAL */
.card__social {
    margin-bottom: 5px;
}

.card__social:last-of-type {
    margin-bottom: 0;
}

.social__text {
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    font-size: 28px;
    display: inline-flex;
    align-items: center;
}

.social__icon {
    display: inline-flex;
}

.social__icon::before {
    font-family: 'icomoon', fallback, sans-serif;
    width: 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
}

.social__icon-phone:before {
    content: "\e900";
}

.social__icon-instagram:before {
    content: "\e901";
}

.social__icon-facebook:before {
    content: "\e902";
}

.social__icon-location:before {
    content: "\e903";
}

/* MEDIA */
@media screen and (min-width: 375px) {
    .social__text {
        font-size: 36px;
    }

    .social__icon::before {
        font-size: 42px;
    }
}

@media screen and (min-width: 768px) {
    .container__primary {
        width: 700px;
    }

    .card {
        margin: 35px 15px;
    }

    .card__content {
        padding: 20px;
    }

    .card__logo-img {
        width: 350px;
    }

    .card__text {
        width: 350px;
        margin: 50px auto 0;
    }

    .card__ornament-aside {
        height: 115px;
        width: 35px;
    }
}

@media screen and (min-width: 992px) {
    .card {
        margin: 30px;
    }

    .container__primary {
        width: 880px;
    }

    .card__container {
        padding: 40px 25px;
    }

    .card__content {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        width: 760px;
        margin: 0 auto;
    }

    .card__logo {
        width: 300px;
    }

    .card__logo-img {
        width: 285px;
    }

    .card__text {
        margin-top: 0;
    }

    .card__social {
        margin-bottom: 20px;
    }

    .social__text {
        font-size: 40px;
    }

    .social__icon::before {
        font-size: 52px;
        width: 60px;
    }

    .card__ornament {
        height: 70px;
    }

    .card__ornament-top {
        margin-bottom: 25px;
    }

    .card__ornament-bottom {
        margin-top: 20px;
    }
}

@media screen and (min-width: 1200px) {
    .card__container {
        padding: 95px 55px;
    }
}