.header__slideshow-wrapper {
    position: relative;
    left: 0;
    overflow: hidden;
}

.header .fa-solid {
    position: absolute;
    z-index: 5;
    font-size: 2rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: white;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 25px;
}

#btn-left {
    left: 0%;
}

#btn-right {
    right: 0%;
}

.header__slideshow {
    display: flex;
    max-width: 100%;
}

.slider-content {
    min-width: 100%;
    max-height: 100vh;
    position: relative;
}

.header__slideshow-images {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
}

.header__slideshow-info {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 1.5rem;
}

.info__box {
    width: 80%;
    overflow: hidden;
}

.info__caption {
    display: block;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
}

.info__caption:hover {
    color: rgb(236, 235, 235);
}

.info__description {
    display: block;
    color: rgb(255, 255, 255);
    font-size: 1.7rem;
    font-weight: 400;
    max-width: 60%;
    font-family: 'Roboto', sans-serif;
}

.info__icon img {
    width: 50px;
}

/* SECTION SMJEROVI */

.smjerovi__container {
    display: grid;
    width: 95%;
    max-width: 1150px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    justify-content: center;
    gap: 3rem;
    margin: 3rem auto;
}

.smjerovi__box {
    text-align: center;
}

.smjerovi__box i {
    color: var(--black);
    font-size: 3rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.smjerovi__icon {
    width: 100px;
    transition: all 200ms ease-in;
}

.smjerovi__box:hover .smjerovi__icon {
    transform: scale(1.3);
}

.smjerovi__text-content h2 {
    color: var(--black);
    font-family: var(--roboto);
    font-size: 1.75rem;
    transition: all 200ms ease-out;
}

.smjerovi__box:hover .smjerovi__text-content h2 {
    color: rgba(0, 0, 0, 0);
}

/* SECTION NOVOSTI */
.novosti__container {
    width: 95%;
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 370px));
    gap: 1.25rem;
    justify-content: start;
}

.novosti__box {
    max-width: 380px;
    border-left: 1px solid rgb(187, 187, 187);
    border-right: 1px solid rgb(187, 187, 187);
    border-bottom: 1px solid rgb(187, 187, 187);
    border-radius: 5px;
}

.novosti__image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.novosti__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.4s ease;
}

.novosti__box:hover .novosti__image img {
    transform: scale(1.1);
}

.novosti__text-content {
    margin: 1rem;
    overflow: hidden;
    height: 90px;
}

.novosti__text-content a {
    display: inline-block;
    font-family: var(--roboto);
    text-align: left;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.novosti__text-content a:hover {
    color: rgb(63, 63, 63);
}

.novosti__text-content h4 {
    color: var(--light-yellow);
    font-family: var(--roboto);
    font-weight: 700;
}

.novosti__text-content p {
    font-family: var(--raleway);
    margin-bottom: 1rem;
}

/* O SKOLI SECTION */
.about-us {
    position: relative;
    background-color: #f1f1f1;
    padding: 3rem 1rem;
}

.about-info {
    position: relative;
    display: flex;
    align-items: top;
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-info img {
    width: 50%;
    margin-right: 2rem;
}

.about-us-text h3 {
    font-family: var(--roboto);
    font-weight: 400;
    font-size: 1.7rem;
    margin-bottom: 2rem;
}

.about-us-text p {
    line-height: 1.6;
    font-family: var(--raleway);
    color: #737373;
    margin-bottom: 2rem;
}

@media screen and (max-width: 1200px) {
    .novosti__container {
        justify-content: center;
    }
}

@media screen and (max-width: 1050px) {
    .about-info {
        justify-content: center;
        flex-direction: column;
    }

    .about-info img {
        width: 100%;
        margin-right: 0;
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 700px) {
    .header__slideshow-images {
        min-height: 100vh;
    }
}
