
html, body {
    width: 100%;
    height: 100vh;
    margin: 0;
    background-color: var(--dark_shade);
}
.intro-wrap, .main-container {
    border: none;
}


.styles, .styles ul {
    list-style: square;
}

.yes-slide {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-template-areas:
        'introduction introduction'
        'service-list slideshow'
        'contact slideshow'
    ;
}


.introduction {
    grid-area: introduction;
}


.service-list {
    grid-area: service-list;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.slideshow {
    grid-area: slideshow;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider {
    height: 440px;
    width: 40vw;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.content {
    opacity: 0;
    position: absolute;
    height: 440px;
    margin: 100%;
    transition: all 0.4s ease;
}

.current {
    opacity: 1;
    margin: inherit;
}

#prev, #next {
    z-index: 1;
    cursor: pointer;
    background: transparent;
    border: none;
}

.slideshow button {
    color: var(--dark_accent);
}
.slideshow button:hover {
    color: var(--light_accent);
}


.contact-details {
    grid-area: contact;
}
.contact-details a {
    color: var(--light_accent);
}


@media screen and (max-width: 900px) {
    .yes-slide {
        gap: 10px;
        grid-template-areas:
            'introduction'
            'service-list'
            'slideshow'
            'contact'
        ;
    }

    .slideshow {
        justify-content: space-around;
    }
    .slider {
        width: 60vw;
    }
}




