body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F2F2F2;
    color: black;
}

header {
    background-color: white;
    padding: 31px 16px;
    border-bottom: 2px solid black;
}

header img {
    width: 200px;
}

section.message {
    padding: 41px 16px 27px;
}

h1 {
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 30px;
}

p {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

a {
    color: black;
}

a:hover {
    text-decoration: none;
    color: #ec0c0c;
}

.slider {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slides {
    position: relative;
    width: 100%;
    height: 136px; 
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

footer {
    border-top: 3px solid #ec0c0c;
    padding: 20px;
    background: #fff;
    text-transform: uppercase;
    height: fit-content;
    display: flex;
}

footer p {
    font-size: 11px;
}

.floatright {
    float: right;
}

.display-desktop {
    display: none;
}
@media screen and (min-width: 480px){
    .floatright {
        float: unset;
    }

    footer {
        display: block;
    }

    .footer-container {
        display: flex;
        justify-content: space-between;
        gap: 24px;
    }
}

@media screen and (min-width: 768px) {
    section.message p {
        max-width: 700px;
    }

    .slides {
        height: 544px; 
    }

    .footer-container {
        width: 100%;
        max-width: 768px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
    }
    
    .display-desktop {
        display: block;
    }
    
    .display-mobile {
        display: none;
    }
}

@media screen and (min-width: 992px) {
    header {
        padding: 50px 242px 48px;
    }
    
    section.message {
        padding: 72px 242px 70px;
    }

}