* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Lato', sans-serif;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('./images/landscape.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.container-1 {
    position: relative;
    width: 100%;
    height: 100%;
}

.container-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
}

.nav-buttons {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.nav-btn {
    display: inline-block;
    padding: 15px 30px;
    border: 2px solid #000000;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    background-color: transparent;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    color: #fefefe;
    background-color: #000000;
}

.cloud {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 10;    
}

.cloud img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -800px;  /* Start further off-screen */
    width: 1800px;
    height: 600px;
    max-width: none;
    opacity: 0;  /* Start at 0 instead of 0.7 */
    animation: cld calc(30s * var(--i)) linear infinite;
    animation-delay: calc(-5s * var(--i));
}

@keyframes cld {
    0%   { 
        transform: translateX(0) translateY(-50%);
        opacity: 0;
    }
    8%   { 
        opacity: 0.7;
    }
    92%  { 
        opacity: 0.7;
    }
    100% { 
        transform: translateX(calc(100vw + 800px)) translateY(-50%);
        opacity: 0;
    }
}
