/* @import url("https://use.typekit.net/xkr8rbh.css"); */
@font-face {
    font-family: 'InterstateBlack';
    src: url('Interstate-BlackComp.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DMMono';
    src: url('DMMono-Regular.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    font-family: "InterstateBlack", sans-serif!important;
    font-size: 46px;
    text-transform: uppercase;
    color: #191919;

}

.half {
  flex: 1 1 0;              /* divide igualmente */
  min-height: 0;
  min-width: 0;
  box-sizing: border-box;
}

.top {
    background-color: #FAA640;
    
}

.bottom {
    background-color: #A19685;
}
.top, .bottom {
    padding: 1rem;
    /* height: 960px; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* gap: vh; */
    height: 100vh;
}

.logo-div {
    position: relative;
}

.social-network-logos-top {
    display: flex;
    gap: 0.25rem;
    position: absolute;
    bottom: 0;
    right: 0;
    line-height: 0.5rem;
}

.intro-text {
    font-family: "DMMono";
    font-size: 14px;
}

.beer-img {
  aspect-ratio: 1/1;   /* altura sempre igual à largura ⇒ quadrado */
  /* overflow: hidden; */
  position: relative;
}

.beer-img img {
    object-fit: cover; 
    object-position: center; 
    width:100%; 
    height:100%;
}

.horario > div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  line-height: 1.1rem;
}
.horario > div span:first-child {
  justify-self: start;
}
.horario > div span:last-child {
  justify-self: end;
}

.beerzim-badge {
    animation: girar-infinito 10s linear infinite;
    position: absolute;
    bottom: -16.5%;
    left: -16.5%;
    width: 33%;
}

.beerzim-badge svg {
    width: 100%;
}

@keyframes girar-infinito {
  0%   { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

.bottom-bottom-text {
    line-height: 1.1rem;
}

.bottom-bottom-text small {
    font-size: 0.5rem;
    display: block;
    margin-top: -0.25rem;
}

.social-network-icons {
    display: flex;
    flex-direction: row;
    justify-content: end;
    gap: 0.25rem;
    align-items: end;
}

#phone {
    color: #191919!important;
    text-decoration: none!important;
}

@media (max-width: 1855px) {
    .horario > div {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1336px) {
    html, body {
        font-size: 2.125rem;
    }
    .horario > div {
        grid-template-columns: 1fr 1fr 0.5fr;
    }
    .social-network-logos-top {
        gap: 0.15rem;
    }
    .social-network-logos-top svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 1046px) {
    html, body {
        font-size: 1.75rem;
    }
    .social-network-logos-top svg {
        width: 18px;
        height: 18px;
    }
    .intro-text {
        font-size: 12px;
    }
    .horario > div {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 785px) {
    html, body {
        font-size: 1.375rem;
    }

    .bottom .bottom-top-text {
        flex-direction: column;
        gap: 1rem;
    }

    .bottom-top-text > div:nth-child(3) {
        justify-content: center;
        display: flex;
    }

    .bottom .bottom-top-text div:not(.beerzim-badge) {
        width: 100%;
    }

    .bottom .bottom-top-text .beer-img{
        width: 60%!important;
    }

    .social-network-logos-top svg {
        /* width: 12px;
        height: 12px; */
        display: none;
    }

    .intro-text {
        font-size: 11px;
    }

    .horario > div {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    }

    .horario > div span:last-child {
        justify-self: start;
    }
    .top, .bottom {
        height: auto;
    }
    .top {
        gap: 15vh;
    }
    .bottom {
        gap: 25vh;
    }
}

@media (max-width: 575px) {
    html, body {
        font-size: 1.1rem;
    }
    .social-network-icons {
        justify-content: center;
    }

    .horario > div {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
    .bottom {
        gap: 10vh;
    }
}

@media (max-width: 400px) {
    html, body {
        font-size: 0.9rem;
    }
}
