/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'helvetica', 'Roboto', Arial, sans-serif;
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'helvetica';
    src: url('files/helvetica-bold.woff') format('woff'),
         url('files/helvetica-bold.ttf') format('truetype');
}

/* Body */
body {
    background: black;
    color: white;
    overflow-y: scroll;
    font-size: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
    color: #9b4eff;
}

/* Sections */
.section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    padding: 2rem;
    box-sizing: border-box;
}

.section h1, .section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Home Section */
#home {
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
    box-sizing: border-box;
}

/* Navigation */
nav {
    margin-top: 1rem;
}

nav a {
    margin: 0 1rem;
    font-size: 1.44rem;
    color: white;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    padding: 2px;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

::-webkit-scrollbar-track {
    background: #000;
}

/* Carousel */
.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 70%;
    margin: 0 auto;
}

.carousel-items {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.carousel-item {
    flex: 0 0 100%;
    text-align: center;
    transition: transform 0.5s ease;
}

.carousel-item img {
    max-width: 100%;
    max-height: 200px;
    margin: 0 auto 1rem;
    display: block;
    border-radius: 10px;
}

.carousel .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 4rem;
    color: white;
    cursor: pointer;
    z-index: 10;
}

.carousel .arrow.left {
    left: 10px;
}

.carousel .arrow.right {
    right: 10px;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer p {
    margin: 0;
    font-size: 1rem;
}

/* Fade Animations */
.fade {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade.visible {
    opacity: 1;
}

/* Media Queries */
@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    .section h1, .section h2 {
        font-size: 2.5rem;
    }

    nav a {
        font-size: 1.2rem;
        margin: 0 0.5rem;
    }

    .carousel-item img {
        max-width: 90%;
        max-height: 150px;
    }

    .carousel .arrow {
        font-size: 3rem;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    body {
        font-size: 18px;
    }

    .section h1, .section h2 {
        font-size: 2.5rem;
    }

    nav a {
        font-size: 1.32rem;
        margin: 0 1rem;
    }

    .carousel-item img {
        max-width: 80%;
        max-height: 180px;
    }

    .carousel .arrow {
        font-size: 3.6rem;
    }
}
