@font-face {
    font-family: 'RightGrotesk Narrow';
    src: url('../assets/RightGrotesk-NarrowBold.ttf') format('truetype');
    src: url('../assets/RightGrotesk-NarrowBold.otf') format('truetype');
}

@font-face {
    font-family: 'Lato';
    src: url('../assets/Lato-Regular.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../assets/Lato-Bold.ttf') format('truetype');
    font-weight: bold;
}

body {
    font-family: 'Lato', sans-serif;
}

h1 {
    font-family: 'RightGrotesk Narrow', sans-serif;
    font-weight: bold;
    font-size: 4em;
    line-height: 1em;
    text-transform: capitalize;
    color: #17245F;
    padding-bottom: 12px;
}

.main-top {
    padding-top: 10vh;
}

.heading {
    font-family: 'RightGrotesk Narrow', sans-serif;
    font-weight: bold;
    font-size: 4em;
    line-height: 1em;
    text-transform: capitalize;
    color: #17245F;
}

h3 {
    font-family: 'RightGrotesk Narrow', sans-serif;
    font-weight: bold;
    font-size: 3em;
    color: #00A5FF;
}

ul { padding-top: 25px; }

button {
	background: none;
	color: inherit;
	border: none;
	padding: 20px 0 0 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
    font-weight: bold;
    font-size: 1.1em;
    color: #17245F;
}

hr {
    border-color: #00A5FF;
}

/* CLASSES */
.app {
    display: flex;
    justify-content: center;
}

.cover-container {
    margin: auto;
}

.background-container {
    position: relative;
    aspect-ratio: 1920 / 3957;
    width: 100%;
    max-width: 1920px;
    min-height: 400px; /* Adjust as needed */
    background-image: url('../assets/layout.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.paragraph {
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    color: #17245F;
}

.bold { font-weight: bold; }

.nav-brand {
    padding: 10px 0;
}

.instruction { 
    padding-top: 8px;
    text-align: center;
    font-size: 0.7em;
    line-height: normal;
}

.underline {
    text-decoration: none;
    background-image: linear-gradient(90deg, rgb(0,165,255), rgb(124,193,136));
    background-repeat: no-repeat;
    background-position: 0% 82%;;
    background-size: 100% 16px;
}

.plus-icon {
    font-size: 1.3em;
    color: white;
    background-color: #00A5FF;
    border-radius: 125px;
    margin-right: 8px;
    padding: 5px 12px;
}

.chapter {
    padding-top: 175px;
}

.spaced { margin: 200px 0; }

.top { padding-top: 25px;}

.right {margin-right: 35vh;}

.bottom { padding-bottom: 15px; }

.cta-btn { padding: 5px 15px; margin-top: 10px; }

.test-div {
    background-color: rgb(255, 0, 0, 0.25);
    padding: 150px 100px;
}
.test {
    background-color: rgb(255, 0, 0, 0.25);
    /* padding: 10px 50px; */
}
.tolerance-button {
    padding: 0 0 50px 0;
}

/* MODALS AND SLIDES */
.principles-container {
    border: 5px solid #00A5FF;
    background-color: white;
    padding: 0 25px 25px 25px;
    margin-bottom: 50px;
    max-width: 800px;
}

.principles-title {
    transform: rotate(-90deg);
    color: #00A5FF;
    padding-top: 100px;
}

.m-container {
    border: 15px solid #00A5FF;
    border-style: solid none;
}

.modal-header {
    border: none;
    padding-bottom: 0;
}

button.close {
    color: white;
    background-color: #00A5FF;
    opacity: 1;
    text-shadow: none;
    border-radius: 100px;
    margin: 5px 5px 5px 10px !important;
    padding: 5px 10px !important;
}

.modal-l {
    color: white;
    background-color: #17245F;
    padding: 0 10px;
    margin: 8px 0;
}

.modal-h {
    /* font-weight: bold; */
    font-size: 1.2em;
    color: #182465;
    padding-bottom: 15px;
}

.modal-p { font-size: 0.8em; }

.slideshow-container {
    padding: 70px 0;
}

.slide-content {
    padding: 100px 0;
}

.slide1 {
    height: 600px;
    background-image: url('../assets/slide1.svg');
    background-size: cover;
}

.slide2 {
    height: 600px;
    background-image: url('../assets/slide2.svg');
    background-size: cover;
}

.slide3 {
    height: 600px;
    background-image: url('../assets/slide3.svg');
    background-size: cover;
}

/* COLOURS */
.white { color: white; }
.white-bg { background-color: white; }
.black-bg { background-color: black; }
.blue-bg { background-color: #00A5FF; }
.blue { color: #00A5FF; font-size: 0.6em ; padding-top: 25px; text-align: left; }

/* IDS */
#hero {
    height: 91vh;
    max-height: 1080px;
    background-color: #00A5FF;
    /* background-image: url("../assets/hero-bg.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; */
    z-index: 0;
    margin-bottom: 100px;
}

.hero-background {
    position: relative;
    height: 90vh;
    width: 100%;
    max-height: 1080px;
    background-color: #00A5FF;
    /* background-image: url("../assets/hero-bg.svg");
    background-repeat: no-repeat;
    background-size: cover; */
}

/* CSS for Lottie container */
#lottie-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Ensure the Lottie container is behind other elements */
}

#ourPurpose {
    margin-top: 25px;
}

.purpose {
    min-height: 460vh;
    margin-top: 36vh;
    padding: 0;
    position: absolute;
    z-index: -50;
}

.home-lottie {
    position: absolute !important;
    margin-top: 68vh;
    margin-left: 65vw;
}

.scroll {
    position: absolute !important;
    margin-top: 72vh;
    margin-left: 75px;
}

.lottie-small {
    position: relative;
    width: 400px;
    height: 267px;
}

.lottie-big {
    position: relative;
    width: 800px;
    height: 400px;
}

.hero-lottie {
    position: relative;
    width: 350px;
    height: 234px;
}

#call-to-action { 
    padding: 100px 0 50px 0;
    background-color: white;
    position: relative;
    z-index: 100;
}

#slideshow {
    background-color: white;
    position: relative;
    z-index: 100;
}

#footer { background-color: #17245F; }
.video-container { padding: 100px 0;}
.footer-content { min-height: 250px; }

/* Styles for responsiveness */
@media (min-width: 1600px) {
    .purpose {
        min-height: 300vh;
        margin-top: 25vh;
        padding: 0;
        position: absolute;
        z-index: 0;
    }
}

@media (min-width: 2200px) {
    .purpose {
        min-height: 270vh;
        margin-top: 25vh;
        padding: 0;
        position: absolute;
        z-index: 0;
    }
}

@media (max-width: 1200px) {
    .heading { font-size: 2.5em; }
    .main-top {
        padding-top: 50px;
    }
    .principles-title {
        rotate: 90deg;
    }
    #hero { margin-bottom: 0;}
    .right { margin: 20px 0 0 0; }
    .chapter{ padding: 0; }
    #call-to-action { padding: 50px 0 0 0; }
    .bubble { display: none; }
    .ch { padding-top: 50px; }
    .slide-content { padding: 50px; }
    .slide1 { height: 500px; background-color: #00A5FF; background-image: none; }
    .slide2 { height: 500px; }
    .slide3 { height: 500px; }
    .home-lottie {margin-left: auto;}
    .lottie-big {
        position: relative;
        width: 600px;
        height: 225px;
    }
    .chapters-container { background-color: white; z-index: 500; position: relative;}
}


@media (max-width: 800px) {
    #hero { 
        margin-bottom: 0; 
        /* background-image: url("../assets/hero-bg-mobile.svg");  */
        background-color: #00A5FF;
    }
}