/**
* index.css
* Author: Gabriel Ponce
* Date: 2025-05-15
**/

/* slideshow styles */
.slideshowContainer {
    width: 80%;
    position: relative;
    margin: auto;

    .mySlides {
        display: none;
    
        img {
            width: 100%;
            height: 50%;
            vertical-align: middle;
        }
    }

    /* Next & previous buttons */
    .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        padding: 16px;
        margin-top: -22px;
        color: white;
        font-weight: bold;
        font-size: 18px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
        background-color: rgba(0,0,0,0.5);
        z-index: 100; 
        display: none; /* Hide by default */
    }
    

    .next {
        right: 0;
        border-radius: 3px 0 0 3px;
    }

    .prev {
        left: 0;
    }

    .prev:hover, .next:hover {
        background-color: rgba(0,0,0,0.8);
    }
}

.homeWriteUp{
    width: 70%;
    display: grid;
    grid-template-columns: 55% 40%;
    column-gap: 5%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 50px;
    margin-bottom: 50px;
    align-items: center;

    p{
        font-size: 1.5rem;
        line-height: 150%;
    }

    img{
        width: 100%;
        object-fit: cover;
    }
}



/* Media Queries */
@media (max-width: 1200px) {
    .homeWriteUp {
        grid-template-columns: 100%;
        width: 90%;
        row-gap: 5%;
        margin-top: 20px;
        padding-bottom: 20px;
    }

    .slideshowContainer {
        width: 100%;
    }
}

