* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: 'Segoe UI';
}

/* Header & Nav */
.home-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #212529;
    z-index: 10;
}

.home-header ul {
    display: flex;
    padding: 30px;
    list-style-type: none;
}

.home-header ul li {
    padding-left: 30px;
}

.home-header ul li a {
    color: white;
    font-size: 1.25rem;   
}

/* Welcome */
.welcome-section {
    display: flex;
    width: 65%;
    margin: 20px auto;
    top: 20;
}

.welcome-section h1 {
    font-weight: 600;
}

.welcome-section p {
    font-size: 1.25rem;
    padding: 20px 0;
}

.welcome-section a {
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    padding: 10px 48px;
    background-color: #dc3545;
    font-size: 1rem;
}

.slider-wrapper {
    position: relative;
    max-width: 30rem;
    margin: auto 0;
}

.slider {
    display: flex;
    aspect-ratio: 16 / 9;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    border-radius: 0.5rem;
}

.slider img {
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
}

.slider-nav {
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
}

.slider-nav a {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.75;
    transition: opacity ease 250ms;
}

.slider-nav a:hover {
    opacity: 1
}


/* Authors */
.authors-section {
    color: white;
    background-color: #212529ee;
    margin: 0 auto;
    padding: 50px;
}

.choose-profile-text {
    font-size: 1.5rem;
    color: white;
    background-color: black;
    padding: 5px 10px;
    border-radius: 10px;
    font-family: "Montserrat";
    font-weight: bold;
}

.authors-container {
    display: flex;
    align-items: center;
    height: 350px;
    justify-content: space-around;
    padding: 50px;
}

.profile-container {
    position: relative;
    text-align: center;
}

.profile-names {
    font-family: "Montserrat";
    font-weight: bold;
    border-radius: 10px;
    color: white;
}

.profile-link {
    display: inline;
    text-decoration: none;
}


.profile-container {
    display: block;
    text-decoration: none;
    font-size: 20px;
    margin: 0 auto;
}


.choose-profile {
    width: 335px;
    border: 5px solid white;
    border-radius: 25px;
    transition: width 0.6s;
}

.choose-profile:hover {
    width: 370px;
}


.about-section p {
    font-size: 1.5rem;
    padding: 20px 50px;
}

.about-section {
    padding: 50px;
    margin: 20px auto;
}

@media (max-width: 768px) {
    .welcome-section {
        flex-direction: column;
        width: 90%;
        text-align: center;
    }

    .welcome-wrapper {
        margin-bottom: 20px;
    }

    .slider-wrapper {
        max-width: 100%;
    }

    .authors-container {
        flex-direction: column;
        height: auto;
        gap: 30px;
        padding: 20px;
    }

    .choose-profile {
        width: 90%;
        max-width: 300px;
    }

    .choose-profile:hover {
        width: 100%;
    }

    .about-section {
        padding: 30px 15px;
    }

    .about-section p {
        font-size: 1.1rem;
        padding: 10px 0;
    }
}

@media screen and (max-width: 1024px) {
    .welcome-section {
        flex-direction: column;
        width: 95%;
        text-align: center;
        align-items: center;
    }

    .slider-wrapper {
        max-width: 100%;
        margin-top: 20px;
    }

    .authors-container {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 20px;
    }

    .choose-profile {
        width: 80%;
        max-width: 300px;
    }

    .choose-profile:hover {
        width: 85%;
    }

    .about-section p {
        padding: 10px 20px;
        font-size: 1.2rem;
    }
}

@media screen and (orientation: portrait) {
    .welcome-section {
        flex-direction: column;
        align-items: center;
    }

    .slider-wrapper {
        max-width: 100%;
    }

    .authors-container {
        flex-direction: column;
        align-items: center;
    }

    .choose-profile {
        width: 90%;
        max-width: 300px;
    }
}

.slider img {
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
    width: 100%;
    height: auto;
}
