/*
**
** RESET
**
*/
* {
    box-sizing: border-box;
}

body {
    color: #003e68;
    font-family: "Quicksand";
    margin: 0;
}

button {
    font-family: "Quicksand";
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    margin: 0;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

/*
**
** CLASSES
**
*/
.bg-blue {
    background-color: #003e68 !important;
}

.bg-gray {
    background-color: #647883 !important;
}

.bg-white {
    background-color: #fff !important;
}

.text-blue {
    color: #003e68 !important;
}

.text-gray {
    color: #647883 !important;
}

.text-white {
    color: #fff;
}

.btn {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 0.25rem;
    display: inline-flex;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 24px;
    text-decoration: none;
}

.img-thumbnail {
    background-color: #fff;
    border: 1px solid #dee2e6;
    height: auto;
    max-width: 400px;
    width: 100%;
    padding: 0.25rem;
}

.rounded {
    border-radius: 0.25rem;
}

/*
**
** HEADER
**
*/
header .brand {
    max-height: 60px;
    height: 100%;
}

header nav {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

header nav button {
    background-color: transparent;
    border: none;
    border-radius: 0.25rem;
    color: #003e68;
    cursor: pointer;
    font-size: 1rem;
    padding: 6px 12px;
    text-decoration: none;
    transition: all 150ms ease-in-out;
}

header nav button:hover {
    background-color: #003e68;
    color: #fff;
}

/*
**
** HERO
**
*/
.hero {
    display: flex;
    align-items: center;

    background-attachment: fixed;
    background-image: linear-gradient(to right, rgba(0, 62, 104, .9), rgba(0, 62, 104, .15)), url(../img/hero-1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    color: #fff;
    height: 420px;
}

/*
**
** FOOTER
**
*/
footer img {
    max-width: 150px;
}

/*
**
** SCROLL TOP
**
*/
.scroll-top {
    position: fixed;
    bottom: 40px;
    right: 40px;

    visibility: hidden;
    opacity: 0;

    background-color: #003e68;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    padding: 1rem;
    transition: all 250ms ease-in-out;
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

.scroll-top svg {
    fill: #fff;
}

/*
**
** SCROLL X
**
*/
.scroll-x {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: 40px;
}

.scroll-x svg {
    animation: scroll;
    animation-duration: 1200ms;
    animation-iteration-count: infinite;
    animation-fill-mode: backwards;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translate(100%);
    }
    100% {
        transform: translateX(0%);
    }
}

/*
**
** SLIDESHOW
**
*/
.slideshow {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    align-items: center;

    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* Adiciona suporte para scroll com o dedo no iOS */

    cursor: grab;
    height: 320px;
    user-select: none;
    width: 100%;
}

.slideshow-item {
    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;

    height: 100%;
    width: 250px;

    background-color: #647883;
    border-radius: 0.25rem;
    color: #fff;
    font-size: 20px;
    padding: 2rem;
}

.slideshow-item-top {
    border-left: 2px solid #fff;
    font-size: 32px;
    padding-left: 1rem;
}

.slideshow-item-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}