@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500&display=swap");

:root {
    --bg: #363fff;
    --bg2: #3138c6;
    --title: #293245;
    --secondary-light: rgb(34, 124, 112, 0.2);
    --secondary-light-2: rgb(127, 183, 126, 0.1);
    --white: #fff;
    --black: #393e46;
    --green: #00FF96;
    --blue: #00A2FF;

    --shadow: 0px 2px 8px 0px var(--secondary-light);
}
*{
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* waves animation */
.ocean{
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.waves{
    position: relative;
    height: 150px;
    background-color: #3e43cc;
}

.wave{
    position: absolute;
    bottom: 0;
    left: 0;
    background: url(../img/wave.png);
    width: 100%;
    height: 150px;
    background-size: 1500px 300px;
}

#wave1{
    bottom: 0;
    opacity: 1;
    z-index: 5;
    animation: moving_waves 5s infinite linear;
}

#wave2{
    bottom: 10px;
    opacity: 0.5;
    z-index: 4;
    animation: moving_waves_reverse 4.5s infinite linear;
}

#wave3{
    bottom: 15px;
    opacity: 0.7;
    z-index: 3;
    animation: moving_waves 5.5s infinite linear;
}

#wave4{
    bottom: 20px;
    opacity: 0.4;
    z-index: 2;
    animation: moving_waves_reverse 5s infinite linear;
}

#wave5{
    bottom: 25px;
    opacity: 0.5;
    z-index: 1;
    animation: moving_waves 3.5s infinite linear;
}

@keyframes moving_waves{
    0%{
        background-position-x: 0px;
    }
    100%{
        background-position-x: 1500px;
    }
}

@keyframes moving_waves_reverse{
    0%{
        background-position-x: 1500px;
    }
    100%{
        background-position-x: 0px;
    }
}

.ocean .waves-continu{
    width: 100%;
    height: 200px;
    color: #fff;
}

/* footer */

footer{
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #1e7d90, #16184f);
    width: 100%;
    height: 250px;
    padding: 20px;
}

footer a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    padding: 5px 0;
    position: relative;
    display: inline-block;
    width: max-content;
}

footer a.underline::after {
    content: '';
    position: absolute;
    height: 3px;
    left: 50%;
    bottom: 0;
    width: 0;
    background: white;
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

footer a.underline:hover::after {
    width: 100%;
    left: 0;
}


footer .box-top{
    display: flex;
    justify-content: space-around;
}

footer img{
    width: 150px;
}

footer .box-top .box2, footer .box-top .box3{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

footer .box4{
    display: flex;
    margin: 40px auto;
}

footer .box4 a{
    padding: 0 10px;
}

footer p{
    color: white;
    font-size: 20px;
}

/* responsive */
@media screen and (max-width: 1024px) {
    footer img{
        display: none;
    }
    
    footer .box-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    footer .box-top .box2, 
    footer .box-top .box3 {
        margin-top: 15px;
        align-items: center;
    }
}

@media screen and (max-width: 768px) {
    footer {
        height: auto;
        padding: 20px 10px;
    }
    
    footer .box-top img {
        width: 120px;
    }
    
    footer .box4 {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 20px auto;
    }
    
    footer .box4 a {
        padding: 5px 0;
    }
}

@media screen and (max-width: 480px) {
    footer a {
        font-size: 16px;
    }
    
    footer p {
        font-size: 14px;
    }
    
    footer img {
        width: 100px;
    }
}
