* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    overflow-x: hidden;
    width: 100%;
}

:root {
    --font-default: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-primary: "Montserrat", sans-serif;
    --font-secondary: "Poppins", sans-serif;
}

/* Colors */
:root {
    --color-default: #222222;
    --color-primary: #821f75;
    --color-secondary: #500064;
    --color-menu: #7b1c92;
    --color-yellow: rgb(239, 184, 31);
}

/* Smooth scroll behavior */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: var(--font-default);
    color: var(--color-default);
    scroll-behavior: smooth;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: #00b6a1;
    text-decoration: none;
}

button {
    border: 0;
    background-color: transparent;
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
}

.hero {
    max-height: 100vh;
}

.swiperdiv .mySwiper {
    max-height: 100vh;
    height: 100vh;

}

.swiperdiv .mySwiper img {
    object-fit: cover;
    width: 100vw;
    height: 100vh;

}


/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs .page-header {
    padding: 60px 0 60px 0;
    min-height: 20vh;
    position: relative;
    background-color: var(--color-primary);
}

.breadcrumbs .page-header h2 {
    font-size: 56px;
    font-weight: 500;
    color: #fff;
    font-family: var(--font-secondary);
}

.breadcrumbs .page-header p {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs nav {
    background-color: #f6f6f6;
    padding: 20px 0;
}

.breadcrumbs nav ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-default);
}

.breadcrumbs nav ol a {
    color: var(--color-primary);
    transition: 0.3s;
}

.breadcrumbs nav ol a:hover {
    text-decoration: underline;
}

.breadcrumbs nav ol li + li {
    padding-left: 10px;
}

.breadcrumbs nav ol li + li::before {
    display: inline-block;
    padding-right: 10px;
    color: var(--color-secondary);
    content: "/";
}


/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background: var(--color-secondary);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}

.scroll-top:hover {
    background: var(--color-yellow);
    color: #fff;
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: #fff;
    transition: all 0.6s ease-out;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid;
    border-color: var(--color-primary) transparent var(--color-primary) transparent;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.teacher-formation {
    display: flex;
    position: fixed;
    left: 0;
    bottom: 0;
    cursor: pointer;
    text-align: center;
    width: 220px;
    height: 70px;
    margin: 0 0 1rem 1rem;
    flex-shrink: 0;
    border-radius: 50px 10px 10px 50px;
    background: rgba(127, 69, 146, 0.81);
    padding: 2.5rem;
    opacity: 80%;
}

.teacher-formation > a {
    display: flex;
    color: #ffffff;
    font-size: 0.8rem;
    justify-content: center;
    align-items: center;
    margin-right: -1.78rem;
}

#text {
    margin-top: 1.02rem;
}

.teacher-formation-img {
    display: flex;
    align-items: end;
    justify-content: right;
    margin-left: -1rem;
}

.teacher-formation-img > img {
    width: 60px;
    height: 60px;
}

#text-mobile, #chart-mobile {
    display: none;
}

.teacher-formation:hover {
    background-color: #c70ac7;
    opacity: 100%;
}


@media (max-width: 1400px) {
    .swiperdiv .mySwiper img {
        height: 100vh;
    }
}

.museum {
    display: flex;
    position: fixed;
    right: 0;
    bottom: 0;
    cursor: pointer;
    text-align: center;
    width: 220px;
    height: 70px;
    margin: 0 1rem 1rem 0;
    flex-shrink: 0;
    border-radius: 10px 50px 50px 10px;
    background: rgba(127, 69, 146, 0.81);
    padding: 2.5rem;
    opacity: 80%;
}

.museum > a {
    display: flex;
    color: #ffffff;
    font-size: 0.8rem;
    justify-content: center;
    align-items: center;
    margin-left: -1.75rem;
}

#text {
    margin-top: 1.02rem;
}

.museum-img {
    display: flex;
    align-items: end;
    justify-content: right;
    margin-right: -2rem;
}

.museum-img > img {
    width: 60px;
    height: 60px;
}

#chart {
    background: #FFFFFF;
    height: 3.5rem;
    margin: 5rem 0.75rem 5rem 1rem;
}

#text-mobile, #chart-mobile, #text-mobile-formation, #chart-mobile-formation {
    display: none;
}

.museum:hover {
    background-color: #c70ac7;
    opacity: 100%;
}

@media screen and (max-width: 985px) {
    .teacher-formation-img {
        margin-left: -3.5rem;
        margin-top: -3rem;
        padding: 0;
        width: 89px;
        height: 84px;
        position: absolute;
        border-radius: 10px;
        flex-direction: column;
    }

    #text, #chart {
        display: none;
    }

    #text-mobile, #chart-mobile, #text-mobile-formation, #chart-mobile-formation {
        display: block;
    }

    #chart-mobile {
        transform: rotate(90deg);
        background: #FFFFFF;
        height: 4.5rem;
        margin: 1.5rem -3.7rem 2rem 0;
    }

    .museum {
        padding: 0;
        width: 89px;
        height: 90px;
        position: fixed;
        border-radius: 10px;
        flex-direction: column;
    }

    .museum > a {
        align-items: center;
        justify-content: center;
    }

    #text-mobile {
        font-size: 0.5rem;
        margin: 7px -0.28rem -1rem 1.5rem;
        line-height: 10px;
        width: 80%;
        position: absolute;
    }

    #text-mobile-formation {
        font-size: 0.5rem;
        margin: 3px -0.28rem -0.5rem -2rem;
        line-height: 10px;
        width: 80%;
        position: absolute;
    }

    #chart-mobile-formation {
        transform: rotate(90deg);
        background: #FFFFFF;
        height: 4.5rem;
        margin: 1.5rem 1.5rem 2.5rem 0;
    }

    .museum-img > img {
        width: 3rem;
        height: 3rem;
        position: absolute;
        margin: 1.3rem 5px 8px 0;
    }

    .eventCalendar {
        z-index: 100;
        position: relative;
    }

    .teacher-formation {
        padding: 0;
        width: 89px;
        height: 90px;
        position: fixed;
        border-radius: 10px;
        flex-direction: column;
    }

    .teacher-formation > img {
        width: 3rem;
        height: 3rem;
        position: absolute;
        margin: 0 0.4rem 0 0.75rem;
    }

    .teacher-formation > a {
        align-items: center;
        justify-content: center;
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 0)
and (min-resolution: .001dpcm) {
    .museum {
        opacity: 100%
    }

    .teacher-formation {
        opacity: 100%
    }
}

/* Chrome 22-28 */
@media screen and(-webkit-min-device-pixel-ratio: 0) {
    .museum {
        opacity: 100%
    }

    .teacher-formation {
        opacity: 100%
    }
}
