body {
    font-family: 'Lora';
    margin: 10px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    padding: 70px 0;
    flex: 1;
    text-align: center;
}

.welcome-text {
    font-weight: bold;
    margin-top: 20px;
}
.slider {
    width: 100%;
    max-width: 600px;
    height: 400px;
    margin: 20px auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    height: 100%;
}

.slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    scroll-snap-align: center;
}

#slides__1 .slide__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 1.5rem;
    margin: 0;
    padding: 0;
    gap: 10px;
}

#slides__1 .slide__text h6 {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

#slides__1 .slide__text .container {
    margin: 0;
    padding: 0;
}

.image {
    max-width: 40%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 0;
}

.container {
    width: 400px;
    height: 350px;
    position: relative;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.outer {
    width: 350px;
    height: 350px;
    position: absolute;
    animation: rotate 60s linear infinite;
    opacity: 0.2;
}

.inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    opacity: 0.2;
}

.wheel-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: #333;
    text-align: center;
    z-index: 1;
    margin: 0;
    padding: 0;
    width: 80%;
}

.slide__text {
    font-size: 1.5rem;
    font-family: sans-serif;
    color: #333;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.slider__nav {
    position: absolute;
    bottom: -1%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    text-align: center;
}

.slider__navlink {
    display: inline-block;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    border: solid rgb(212, 175, 55);
    opacity: 0.5;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.slider__navlink:hover {
    border: solid rgb(212, 175, 55);
    opacity: 1;
    transform: scale(1.2);
}

.slider__navlink.active {
    background-color: rgb(212, 175, 55);
    opacity: 0.8;
    transform: scale(1.2);
}

#typed-text {
    display: inline-block;
    height: 1.5em;
    line-height: 1.5em;
    min-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
}
@media (max-width: 768px) {
    body {
        margin: 5px;
    }

    .welcome-text {
        font-size: 1.2rem;
        margin-top: 10px;
    }

    .container {
        width: 100%;
        max-width: 300px;
        height: 300px;
    }

    .outer {
        width: 250px;
        height: 250px;
    }

    .inner {
        width: 80px;
        height: 80px;
    }

    .slider {
        max-width: 300px;
        height: 300px;
        border-radius: 10px;
    }

    #slides__1 .slide__text {
        font-size: 1rem;
        gap: 5px;
    }

    .image {
        max-width: 80%;
    }

    .wheel-text {
        font-size: 1rem;
    }

    .slide__text {
        font-size: 1rem;
    }

    .slider__nav {
        bottom: -1%;
        width: 100px;
    }

    .slider__navlink {
        height: 10px;
        width: 10px;
        margin: 0 5px;
    }

    #typed-text {
        height: 1em;
        line-height: 1em;
        min-width: 200px;
    }
    .container {
        position: relative;
        overflow: hidden;
    }
    .slides {
        scroll-behavior: smooth;
    }
}
