/* ***********************************
    0. TRANSITION
    1. LOGO
    2. IMAGE / DESC
    3. FONT-SIZE TITLE IMG
    4. FORM CONTATO
    5. CARD
 *********************************** */

html, body {
    overflow: hidden;
}
.box-content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
}
.box-scroll {
    height: 100%;
    position: relative;
    min-height: calc((350px * 2)) !important;
    overflow: hidden;
}
.box, .box > .header, .box > .header > div {
    min-height: 350px !important;
}


/* ***********************************
    0. TRANSITION
 *********************************** */

.box .header .desc,
.box .header .special-title,
.box .card .card-footer a:first-of-type {
    transition: all 0.2s ease-in-out; 
    -o-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

/* ***********************************
    1. LOGO
 *********************************** */

#logo {
    margin: 0;
    position: absolute;
    transform: translate(-50%, -50%);
}
#logo .logo-image {
    background-color: #fff;
    padding: 0.5rem;
    border-radius: 0.375rem;
}

@media (max-width: 767px) {
    #logo .logo-image {
        width: 110px;
        height: 110px;
    }
}

/* ***********************************
    2. IMAGE / DESC
 *********************************** */

.box .header {
    overflow: hidden;
}
.box .header .special-title {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.box .header .desc {
    display: flex;
    align-items: center;
    padding: 3rem;
}
.box .header .desc h2 {
    margin: 0;
    overflow: hidden;
    max-height: 100%;
}
.box .header .special-title,
.box .header .desc {
    width: calc(50vw - 10px) !important;
    max-width: none;

    height: calc(50vh - 10px) !important;
    max-height: none;
}

@media only screen and (min-width: 1025px) {
    .box .header .desc {
        padding: 5rem;
    }
    .box.active .header {
        height: 100%;
    }
    .box.active .header .special-title,
    .box.active .header .desc {
        height: calc(100vh - 10px) !important;
    }

    .box .header .desc {
        visibility: visible;
        position: absolute;
        top: 0;
        left: calc(50vw - 10px);
        bottom: 0;
    }
}
@media only screen and (max-width: 1024px) {
    .box.active .header {
        height: auto;
        min-height: 100%;
    }
    .box.active .header .special-title,
    .box.active .header .desc {
        width: calc(100vw - 20px) !important;
    }
}

/* ***********************************
    3. FONT-SIZE TITLE IMG
 *********************************** */

.box:not(.active) .header .special-title {
    cursor: pointer;
}
.box .header .special-title {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    position: relative;
    padding: 1rem;
}
.box .header .special-title span.title {
    color: #000;
    text-align: center;
    text-shadow: 1px 1px 40px white;
    position: relative;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.box .header .special-title span.title::first-letter {
    font-size: 1.5rem;
}

@media (min-width: 576px) { /* h3-h4 */
    .box .header .special-title span.title {
        font-size: calc(1.275rem + .3vw);
    }
    .box .header .special-title span.title::first-letter {
        font-size: calc(1.3rem + .6vw);
    }
}
@media (min-width: 768px) { /* h2-h3 */
    .box .header .special-title span.title {
        font-size: calc(1.3rem + .6vw);
    }
    .box .header .special-title span.title::first-letter {
        font-size: calc(1.325rem + .9vw);
    }
}
@media (min-width: 992px) { /* h1-h2 */
    .box .header .special-title span.title {
        font-size: calc(1.325rem + .9vw);
    }
    .box .header .special-title span.title::first-letter {
        font-size: calc(1.375rem + 1.5vw);
    }
}
@media (min-width: 1200px) { /* d2-h1 */
    .box .header .special-title span.title {
        font-size: calc(1.375rem + 1.5vw);
    }
    .box .header .special-title span.title::first-letter {
        font-size: calc(1.575rem + 3.9vw);
    }
}

/* ***********************************
    4. FORM CONTATO
 *********************************** */

#contact_form [type="submit"] {
    color: #000;
    font-weight: bold;
}

/* ***********************************
    5. CARD
 *********************************** */

.card {
    width: 70%;
}
.card .card-header, .card .card-footer {
    display: flex;
    border-radius: 1rem;
    align-items: center;
    justify-content: center;
    padding: .25rem;
    background-color: rgba(255, 255, 255, .375);
}
.card .card-header {
    min-height: 90px;
}
.card .card-footer {
    justify-content: space-around;
    padding: 0;
    margin-top: 1rem;
    background-color: rgba(255, 255, 255, .9);
    overflow: hidden;
}
.card .card-footer a {
    color: #000;
    width: 100%;
    padding: .75rem 1.25rem;
    text-align: center;
    white-space: nowrap;
    font-weight: 400;
    position: relative;
    letter-spacing: 2px;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.card .card-footer a ~ a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 1px;
    height: 50%;
    margin: auto;
    background-color: rgba(0, 0, 0, .125);
}
.box.active .card .card-footer a:first-of-type {
    margin-left: -100%;
}
.box .card .card-footer a i {
    padding-left: .5rem;
}

@media only screen and (max-width: 1700px) {
    .card {
        width: 80%;
    }
}
@media only screen and (max-width: 1300px) {
    .card {
        width: 90%;
    }
}
@media only screen and (max-width: 767px) {
    .card {
        width: 100%;
    }
    .card .card-header, .card .card-footer {
        border-radius: .375rem;
    }
    .card .card-footer {
        padding: 0;
        flex-direction: column;
    }
    .card .card-footer a {
        padding: .5rem 1.25rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        letter-spacing: 1px;
    }
    .card .card-footer a ~ a::before {
        right: 0;
        bottom: auto;
        width: 100%;
        height: 1px;
    }
    .box.active .card .card-footer a:first-of-type {
        margin-top: -40px;
        margin-left: auto;
    }
}
@media (max-width: 575px) {
    .card .card-header {
        background-color: rgba(255, 255, 255, .75);
    }
    .box .card .card-footer a:first-of-type i {
        display: none;
    }
}

.card .card-footer a:hover {
    background-color: #d3d4d5;
    border-color: #c6c7c8;
}
.card .card-footer a:focus-visible {
    background-color: #d3d4d5;
    border-color: #c6c7c8;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(211, 212, 213, .5);;
}

  