@font-face{
    font-family: "Males";
    src: url('../fonts/Males.otf');
}


body{
    margin: 0;
    font-family: "Males";
    font-weight: 400;
    font-style: normal;
    overflow-x: hidden;
    font-size: 16px;
    scroll-behavior: smooth;
}


.messagedefilant {
    display: block;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    height: 42px;
    padding: 10px 0 0 0;
    color: #fff;
    background-color: #000;
}

.messagedefilant div {
    position: absolute;
    min-width: 100%; 
}

.messagedefilant div span, 
.messagedefilant div:after {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    white-space: nowrap;
    top:0;
}

.messagedefilant div span {
    animation: defilement 10s infinite linear;
}

.messagedefilant div:after {
    position: absolute;
    top:0; left:0;
    content:attr(data-text);
    animation: defilement2 10s infinite linear;

}

@keyframes defilement {
    0% { margin-left: 0; }
    100% { margin-left: -100%; }
}

@keyframes defilement2 {
    0% { margin-left: 100%; }
    100% { margin-left: 0%; }
}


/* Images */

.roostie-img{
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    
}

.roostie-img--1{
    background-image: url(../images/roostie-1.png);
    background-position:51% 50%;
}

.roostie-img--2{
    background-image: url(../images/roostie-2.png);
    background-position:53% 50%;
}

.roostie-img--3{
    z-index: 0;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background-image: url(../images/roostie-3.png);
    background-position: center;
    box-sizing: border-box;
}


.text{
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    
    width: 80vw;
}

.text--2{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 80vh;
}

.text p{
    font-size: 1.5rem;
    margin: 0;
}

.text__1{
    font-size: 1.5rem;
    border: 3px solid #000000;
    border-radius: 15px;
    padding: 1% 1.5%;
    box-sizing: border-box;
    background-color: hsla(0, 0%, 94%, 0.50);
    margin: 0 0 60px 0;
    width: 45vw;
    text-align: center;
    
}


.text__big{
    font-size: 1.5rem;
    border: 3px solid #000000;
    border-radius: 15px;
    padding: 1% 1.5%;
    box-sizing: border-box;
    background-color: hsla(0, 0%, 94%, 0.50);
    margin: 0 0 60px 0;
}

.text__big p{
    font-size: 3rem;
    text-align: center;
    /* white-space: nowrap; */
}

.text__2{
    font-size: 1.5rem;
    border: 3px solid #000000;
    border-radius: 15px;
    padding: 1% 1.5%;
    box-sizing: border-box;
    background-color: hsla(0, 0%, 94%, 0.50);
    margin: 0 0 60px 0;
    width: 45vw;
    text-align: center;
}

.bottom-icons{
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 80px;
    background-color: hsla(0, 0%, 94%, 0.50);
    border-top: 3px solid #000000;

}

.bottom-icons .icons{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    height: 100%;
}


.bottom-icons .icons img{
    width: 50px;
    cursor: pointer;
    border: 3px solid #000;
    border-radius: 100%;
    box-sizing: border-box;
    padding: 3px;
    background-color: hsla(0, 0%, 94%, 0.70);
    transition: all 300ms ease-in-out;
}

.bottom-icons .icons img:hover{
    transform: scale(1.1);
    cursor: pointer;
}

/* Media Queries */

@media screen and (max-width: 768px){

    body{
        overflow-x: hidden;
    }

    

    .text__1{
        width: 90vw;
    }

    .text__2{
        width: 90vw;
    }

    .text__big{
        padding: 1% 1.5%;
    }

    
}


