html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;

    background-image: url("img/IMG_2193.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
}

.buttons {
    position: relative;
    z-index: 20;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;

    gap: 50px;

    width: 100%;
    padding-top: 20px;
}

.buttons a {
    display: block;
}

button {
    padding: 10px 30px;
    background: #fb6853;
    color: white;
    border-radius: 50px;
    font-size: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 2px solid white;
}

button:hover {
    transform: scale(1.05);
}


.layers {
    position: fixed;

    bottom: 0;
    left: 0;

    width: 100%;
    height: 300px;

    pointer-events: none;

    z-index: 5;
}

.layer {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;
    height: 300px;

    object-fit: cover;

    animation: wave 3s ease-in-out infinite;
}



.layer1 {
    z-index: 4;
}

.layer2-wrapper {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;
    height: 300px;

    z-index: 3;

    pointer-events: auto;

    animation: wave 3s ease-in-out infinite;
}

.layer2-wrapper img {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;
    height: 300px;

    object-fit: cover;
}

.layer2 {
    opacity: 1;
}

.layer2-hover {
    opacity: 0;
}

.layer2-wrapper:hover .layer2 {
    opacity: 0;
}

.layer2-wrapper:hover .layer2-hover {
    opacity: 1;
}



.layer3 {
    z-index: 2;
}

.layer4 {
    z-index: 1;
}


@keyframes wave {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25px);
    }
}



footer {
    position: fixed;

    bottom: 0;
    left: 0;

    width: 100%;

    box-sizing: border-box;

    text-align: center;

    color: white;
    background: #fb6853;

    padding: 10px 0;

    z-index: 15;
}


/* MOBILE FRIENDLY*/

@media (max-width: 600px) {

    /* Buttons */
    .buttons {
        gap: 30px;
        padding: 15px 10px;
    }

    button {
        font-size: 25px;
        padding: 8px 18px;
        border-radius: 50px;
    }


    /* Animated layers */
    .layers {
        height: 180px;
    }

    .layer {
        height: 180px;
    }

    .layer2-wrapper {
        height: 180px;
    }

    .layer2-wrapper img {
        height: 180px;
    }


    /* Footer */
    footer {
        font-size: 14px;
        padding: 8px 0;
    }
}
