body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
}

img,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

.navbar-brand {
    white-space: normal;
}

.accordion {
    width: min(100% - 2rem, 1100px);
    margin-inline: auto;
}

.navbar,
h1, h2, h3 {
    font-family: 'Lato', sans-serif;
}

h1 {
    font-weight: 700;
}


.rotating-text {
    display: inline-block;
    position: relative;
    height: 1.2em;
    overflow: hidden;
    vertical-align: bottom;
}

.rotating-text span {
    display: block;
    animation: rotateText 8s infinite;
}

@keyframes rotateText {
    0%, 20% {
        transform: translateY(0);
    }

    25%, 45% {
        transform: translateY(-100%);
    }

    50%, 70% {
        transform: translateY(-200%);
    }

    75%, 95% {
        transform: translateY(-300%);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 0.95rem;
    }

    h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .w-50,
    .w-75 {
        width: calc(100% - 2rem) !important;
    }

    .navbar .container-fluid {
        align-items: flex-start;
    }

    .navbar-brand {
        max-width: 80%;
    }

    .navbar-collapse {
        padding-top: 0.75rem;
    }

    .navbar-nav .nav-link {
        padding-block: 0.65rem;
    }

    .carousel,
    .container {
        max-width: 100%;
    }

    .ratio {
        --bs-aspect-ratio: 65%;
    }

    .btn-lg {
        width: 100%;
        font-size: 1rem;
    }

    form .btn {
        min-width: 7rem;
    }
}
