:root {
    --primary-color: #B7E4F7;
    --secondary-color: #133E87;
    --tertiary-color_1: #608BC1;
    --tertiary-color_2: #CBDCEB;
}

div.flex-container {
    width: 100vw;
}

.body {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 80vh;
    width: 100vw;
}

.flex-items {
    flex-grow: 1;
    flex-shrink: 1;
    height: inherit;
    display: flex;
    flex-direction: row;
}

.flex-items:nth-child(1) {
    flex-basis: 40%;
    justify-content: center;
    align-items: center;
}

.flex-items:nth-child(2) {
    flex-basis: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    height: auto;
}

.imgHome {
    max-height: 80%;
    max-width: 80%;
}

p {
    color: var(--secondary-color);
    margin: 0;
}

button.button-content {
    background-color: var(--secondary-color);
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: left;
    font-size: 18px;
    margin: 15px auto 0 50px;
    cursor: pointer;
    border-radius: 8px;
}

button.button-content:hover {
    background-color: var(--tertiary-color_1);
}

.slider-container {
    width: 95%;
    height: 58%;
    margin-right: 300px;
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.btn-left,
.btn-right {

    height: 40px;
    width: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    /* color: rgba(255, 255, 255, 0.425); */
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-left {
    left: 10px;
}

.btn-right {
    right: 130px;
}

.btn-left img,
.btn-right img {
    width: 100%;
    height: 100%;
}

.btn-left:hover, 
.btn-right:hover {
    background-color: rgba(0, 0, 0, 0.089);
    border-radius: 6px;
}

p.cardName {
    padding-left: 50px;
    padding-bottom: 10px;
    font-size: 1.6em;
    font-weight: 600;
}

p.explanation,
p.explanation2 {
    padding-left: 50px;
    margin-right: 120px;
    font-size: 1.1em;
    font-weight: 500;
    text-align: justify;
    line-height: 1.4;
}

p.explanation2 {
    margin-top: 30px;
    text-indent: 40px;
    width: 75%;
}

/* ---------- RESPONSIVE MEDIA QUERIES ---------- */


@media (max-width: 1440px) {
    .flex-items:nth-child(1) {
        display: 30%;
    }

    .flex-items:nth-child(2) {
        flex-basis: 70%;
    }

    .slider-container {
        width: 100%;
        margin-right: 10px;
    }

    p.explanation,
    p.explanation2 {
        font-size: 1em;
        line-height: 1;
    }
}

/* Laptops */
@media (max-width: 1024px) {
    .flex-items:nth-child(1) {
        display: none;
    }

    .flex-items:nth-child(2) {
        flex-basis: 100%;
    }

    button.button-content {
        font-size: 15px;
        padding: 8px 18px;
        margin-left: 50px;
    }

    .btn-right {
        right: 50px;
    } 
}

/* Tablets - small screens */
@media (max-width: 768px) {
    .body{
        height: auto;
        margin-top: 30px;
    }

    .slider-container {
        width: 100%;
        margin-right: 0;
    }

    p.cardName{
        padding-left: 10px;
        margin-right: 10px;
        font-size: 1.5em;
    }
    p.explanation,
    p.explanation2 {
        padding-left: 10px;
        margin-right: 10px;
        font-size: 0.95em;
        line-height: 1.2;
    }

    p.explanation2 {
        text-indent: 20px;
        margin-top: 20px;
        width: 95%;
    }

    button.button-content {
        font-size: 16px;
        padding: 8px 14px;
        margin-left: 10px;
    }
    .btn-right {
        right: 0;
    } 
}
