@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.slides {
    width: 92%;
    height: 400px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    
}

.slide {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: absolute;
    opacity: 0;
    transition: opacity 1s;
}

.slide_content {
    width: 100%;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
    padding: 20px;
    align-items: center;
    left: 0;
    position: absolute;
    right: 0;
    z-index: 2;
}

.slide_background {
    background-size: cover;
    height: 400px;
    left: 0;
    position: absolute;
    right: 0;
    z-index: 1;
    filter: saturate(4) blur(0.5px) brightness(50%);
}

.image_holder {
    height: 90%;
    padding-left: 2%;
}

.image_holder img {
    height: 100%;
    width: auto;
}

.text_holder {
    height: 90%;
    flex-grow: 2;
}

.text_holder h4 {
    font-size: 3rem;
    display: inline-block;
    color: white;
    line-height: 1.1;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 10px;
}

.text_holder .subtitle {
    display: block;
    font-size: 2.5rem;
}

.show-details {
    display: block;
    margin-top: 10%;
    font-weight: bold;
    text-align: center;
    font-size: 1rem;
    color: white;
    font-family: inherit;
    border-radius: 20px;
    border: none;
    padding: 10px 30px;
    text-transform:uppercase;
    cursor: pointer;
    transition-property: transform;
    transition-duration: 0.3s;
}

.show-details:hover {
    transform: scale(1.05);
}


a {
    text-decoration: none;
}

.slide-1 .show-details {
    background: purple;
}

.slide-2 .show-details {
    background: red;
}

.slide-3 .show-details {
    background: limegreen;
}

/* .slide-2 .image_holder img {
    height: 90%;
    width: auto;
} */

.slide-4 .show-details {
    background: darkorange;
}

.slide_content .new {
    color: yellow;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.slide-1 .slide_background {  
    background-image: url('../img/slide_backgrounds/psych_women_background.jpg');
    background-color: blue;
    filter: saturate(2) blur(0.5px) brightness(50%);
}


.slide-2 .slide_background {  
    background-image: url('../img/slide_backgrounds/wavy_background.jpg');
    background-color: blue;
}

.slide-3 .slide_background {
    background-image: url('../img/slide_backgrounds/patch_background.jpg');
    background-color: red;
    background-position: bottom;
    filter: saturate(2) blur(0.5px) brightness(35%);
}

.slide-3 .text_holder h4 {
    font-size: 2.75rem;
    /* background-color: rgba(50, 205, 0, 0.5); */
}

.slide-3 .text_holder .subtitle {
    display: block;
    font-size: 2.25rem;
}

.slide-4 .slide_background {
    background-image: url('../img/slide_backgrounds/disorganized_background.jpg');
    background-color: green;
    background-position: center;
    filter: saturate(3) blur(0.5px) brightness(45%);
}



/* slider styles */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 45%;
    width: auto;
    padding: 16px;
    color: #fff;
    font-weight: bold;
    font-size: 30px;
    transition: .6s ease;
    border-radius: 0 3px 3px 0;
    z-index: 20;
}

.next {
    right: 0;
}

.prev {
    left: 0p;
}

.nav_dots {
    margin: 10px auto;
    text-align: center;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: var(--site-orange);
    border-radius: 50%;
    display: inline-block;
    transition: background-color .6s ease;
}

.dot_active,
.dot:hover {
    background-color: var(--site-dark-orange);
}

@media screen and (max-width:750px){
    .text_holder h4 {
        font-size: 2rem;
    }

    .text_holder .subtitle {
        font-size: 1.5rem;
    }

    .slide-3 .text_holder h4 {
        font-size: 2rem;
    }
    
    .slide-3 .text_holder .subtitle {
        font-size: 1.5rem;
    }
}

@media screen and (max-width:630px){
    .text_holder {
        display: none;
    }
}

@media screen and (max-width:500px){

    .slide-1 .slide_background {
        background: none;
    }

    .slide-2 .slide_background {
        background: none;
    }

    .slide-3 .slide_background {
        background: none;
    }

    .slide-4 .slide_background {
        background:none;
    }

    .dot {
        height: 20px;
        width: 20px;
        margin: 0 6px;
    }

    .nav_dots {
        margin: -10px auto;
    }

    .prev, .next {
        display: none;
    }
}