@import url('https://fonts.googleapis.com/css2?family=Almarai&family=Anton&family=Bangers&family=Boogaloo&family=Ceviche+One&family=Karla&family=Orbitron&family=Poppins:wght@400;900&family=Staatliches&family=Yanone+Kaffeesatz&display=swap');


/* COLORS */
:root{
    --primary-color: #419a95;
    --seconday-color: #FF725E;
    --thirdly-color: #fff;
    --text-color: #323232;
}

body{
    background-image: linear-gradient(-45deg,#fff,#419a961b);
    color: var(--text-color);
    font-family: 'Poppins';
}

*{
    margin: 0;
    padding: 0;
}

/* HOME */
.home{
    display: flex;
    justify-content: space-around;
    margin: 10% 0;
    height: 100vh;
}
.home .images{
    display: flex;
    animation: move 5s infinite linear;
}
@keyframes move {
    0%{
        transform: translateY(-1em);
    }
    50%{
        transform: translateY(1em);
    }
    100%{
        transform: translateY(-1em);
    }
}
.home .images img{
    width: 200px;
    border-radius: 1.5em;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 60px 40px -7px;
    margin: 0 1em;
    height: fit-content;
}
.home .images img:last-child{
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    position: relative;
    top: 5em;
}
.home .text{
    position: relative;
    top: 4em;
}
.home .text span{
    text-transform: uppercase;
}
.home .text h1{
    font-size: 40px;
}
.home .text p{
    opacity: .5;
    margin: .5em 0;
}
.home .text .btn{
    display: flex;
    align-items: center;
    margin-top: 2em;
}
.home .text .btn a{
    text-decoration: none;
    padding: .7em 1.5em;
    background-color: var(--primary-color);
    color: var(--thirdly-color);
    border-radius: 2em 3em 2em 3em;
    margin: 0 .5em;
    font-size: 14px;
    transition: .5s;
}
.home .text .btn a:last-child{
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    background-color: var(--thirdly-color);
    color: var(--primary-color);
}


/* ERROR */
.error{
    position: absolute;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    text-align: center;
}
.error img{
    width: 300px;
}
.error a{
    position: relative;
    top: 2em;
    background-color: var(--primary-color);
    color: var(--thirdly-color);
    padding: .7em 1.5em;
    border-radius: 2em 3em 2em 3em;
    text-decoration: none;
    font-size: 13px;
}



/* MEDIA QUERY */
@media (max-width: 1010px) {
    .home{
        display: block;
        text-align: center;
        margin: 5%;
    }
    .home .text .btn{
        display: block;
    }
    .home .images{
        justify-content: center;
        margin-top: 8em;
    }
}
@media (max-width: 600px) {

    .home .text h1{
        font-size: 30px;
    }
    .home .images img{
        width: 150px;
    }
}
@media (max-width: 450px) {
    .home .text p,.btn a,span{
        font-size: 13px;
    }
    .home .images img{
        width: 130px;
    }
}
@media (max-width: 412px) {
    .home .text .btn{
        display: inline-grid;
    }
    .home .text .btn a{
        margin: .5em 0;
    }
}