* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header-container {
    text-align: center;
    margin-bottom: 30px;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #161616;
    min-height: fit-content;
    color: #e0e0e0;
}

main {
    padding: 2em 0 4em;
}

h1 {
    font-family: "Inter", sans-serif;
    color: #ffffff;
    font-weight: 900;
    font-size: 45px;
}

.container {
    background-color: rgb(37, 37, 37);
    border-radius: 40px;
    box-shadow: 0 0 26px rgba(255, 50, 0, 0.6);
    width: calc(100% - 40px);
    max-width: 900px;
    margin: 60px auto;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}

.container.animate:hover {
    transform: translateY(-10px);
    cursor: pointer
}

.container {
    transition: transform 0.3s ease-in-out;
}

.container::before {
    content: attr(data-hover-text);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 5px rgb(255, 255, 255);
    background-color: rgb(22, 22, 22);
    color: rgb(255, 255, 255);
    padding: 8px 16px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.container.animate:hover::before {
    opacity: 1;
    bottom: -10px;
}

.container .image-caption {
    white-space: nowrap;
}

.container-group {
    display: flex;
    flex-direction: row;
    gap: 60px;
    padding: 0 20px;
    max-width: 940px;
    margin: 0 auto;
    justify-content: center;
}

.container .text,
.container .image {
    flex: 1;
    margin: 10px;
}

.image {
    flex: 1;
    max-width: 42%;
    text-align: center;
}

.image img {
    max-width: 60%;
    height: auto;
    border-radius: 8px;
    margin: 0 auto;
    filter: drop-shadow(5px 20px 4px #000000);
    animation: floatUpDown 1s ease-in-out infinite alternate;
}

.image-caption {
    color: #e0e0e0;
    font-size: 19px;
    font-weight: 900;
    text-align: center;
}

.image img.custom-size {
    max-width: 100%;
    width: 300px;
}

.text {
    font-family: "Roboto Slab", serif;
    text-align: justify;
    font-size: 17px;
    word-spacing: 2px;
    font-weight: 400;
    color: white;
    flex: 1;
}

.info-link {
    color: #5a9cff;
    text-decoration-color: #5a9cff;
}


@keyframes hoverUp {
    0% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes floatUpDown {
    100% {
        /* box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.55); */
        filter: drop-shadow(5px 20px 10px rgb(19, 19, 19));
        transform: translateY(-10px);
    }
}

@keyframes glowing {
    100% {
        box-shadow: 0 0 30px rgba(255, 0, 0, 1);
    }
}

@keyframes glowing2 {
    100% {
        box-shadow: 0 0 30px rgb(255, 255, 255);
    }
}

@media (max-width: 500px) {
    .container {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    h1 {
        font-size: 35px;
    }
}

@media (max-width: 700px) {
    .container-group {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
        max-width: 940px;
        margin: 0 auto;
    }
}

/* nao usados */
.label-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tooltip {
    position: relative;
    display: inline-block;
    margin-top: 3.2%;
}

.tooltip-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    font-weight: bold;
    color: rgb(0, 0, 0);
}

.tooltip-text {
    visibility: hidden;
    width: 220px;
    background-color: #202020;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    margin: 5px;
    z-index: 1;
    top: calc(90% + -96px);
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* nao usados */

footer {
    background-color: #313131;
    box-shadow: 0px -5px 30px #414141;
    color: white;
    font-size: 14px;
    position: relative;
    width: 100%;
    text-align: center;
}