@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
*{
    margin: 0;padding: 0;box-sizing: border-box;
}
html{
    font-family: "Montserrat", sans-serif;
    font-size: 0.625rem;
    height: 100%;
}
body{
    font-size: 1.6rem;
}

/*BASE SITE CSS ENDING*/
.main {
    width: 100%;
    min-height: 100dvh;
    background-image: url(../assets/pattern-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.content-container {
    padding: 5rem;
    padding-top: 15rem;
    width: 100%;
    max-width: 1600px;
    background-color: #fcf8ed;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow:   0px 0px 10px 0px rgba(0,0,0,0.75);
    position: relative;
    
    
}
.back-button {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 3.5rem;
    color: #0c264c;
    width: 50px;
    height: 50px;
}
.back-button a {
    text-decoration: none;
    color: #0c264c;
}
.back-button img {
    width: 100%;
    height: auto;
}
.content-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}
.content-title h1 {
    font-weight: 400;
    font-size: 5rem;
}
.content-title p {
    font-size: 2rem;
    max-width: 800px;
}

.content-video {
    margin-top: 4rem;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-video video, .content-video iframe {
    width: 100%;
    height: auto;
    max-width: 1600px;
}

.content-video iframe {
    aspect-ratio: 16 / 9;
}

.content-text {
    margin-top: 10rem;
    display: grid;
    grid-template-columns: 1fr;

    gap: 5rem;
}
.upper-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 70px;
}
.lower-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    align-items: center;
    gap: 30px;

}
.lower-text img {
    width: 100%;
    height: auto;
    max-width: 350px;
    place-self: center;
    
}
.lower-text a {
    display: flex;
    justify-content: center;
    align-items: center;
}
.full-width-text {
    display: flex;
    flex-direction: column;

}

h2, h3 {
    font-weight: 600;
    padding-bottom: 10px;
}



.content-text .normal-text {
    
    display: flex;
    flex-direction: column;
    justify-content: center;
   
}
.content-text .important-text {
    display: flex;
   
    border: 1px solid black;
    flex-wrap: wrap;
}

.important-text{
    display: flex;
    
    align-items: center;
    place-self: center;
    gap: 20px;
  height: 650px;
    width: 100%;
    padding: 20px;
}

.important-text img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.download-icon{
    display: flex;
    width: calc(50% - 2rem);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 50px;
    cursor: pointer;
    text-decoration: none;
    color: #0c264c;
    gap: 10px;
}
.download-icon p {
    font-size: 12px;
    text-align: center;
    text-wrap: wrap;
}


.content-slider {
    margin-top: 5rem;
    height: 350px;
    width: 100%;
    display: flex;
    overflow: hidden;
    position: relative;
    transition: transform 0.5s ease-in-out;
    max-width: 1600px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slide {

position: absolute;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
transition: ease-in-out 0.7s;
}
.slide:nth-child(2) {
    left: 100%;

}
.slide:nth-child(3) {
    left: 200%;
}
.slide:nth-child(4) {
    left: 300%;
}
.slide img {
    width: 80%;
    height: 100%;
    object-fit: contain;
}
.next-btn {
    height: 80px;
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    cursor: pointer;

    z-index: 99;

}
.prev-btn {
    height: 80px;
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    cursor: pointer;

    z-index: 99;

}
.next-btn, .prev-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.next-btn, .prev-btn ion-icon {
    color: #0c264c;
    font-size: 4rem;

}
/*Tablet*/
@media screen and (max-width: 1024px) {
    .main {
        padding: 5rem;
    }
    .content-text {
        margin-top: 6rem;
        grid-template-columns: 1fr;
        gap: 6rem;
    }
    .upper-text {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }
    .lower-text {
        display: flex;
        flex-direction: column;
        flex-direction: column-reverse;
        gap: 5rem;
        
    }
    .lower-text img {
        max-width: 400px;
    }
}

/*Mobile*/
@media screen and (max-width: 768px) {
    .main {
        padding: 0;
    }
    .normal-text {
        font-size: 1.6rem;
    }
    .content-container {
        
        padding: 3rem;
        padding-top: 12rem;
    }
    .back-button {
        top: 20px;
        left: 20px;
        font-size: 2.5rem;
    }
    .content-title h1 {
        font-size: 2.7rem;
    }
    h2 {
        font-size: 1.9rem;
    }
    .content-title p {
        font-size: 1.8rem;
    }
    .content-text {
        grid-template-columns: 1fr;
       
    }
    .upper-text {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }
    .lower-text {
        margin-top: 3rem;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        img {
            max-width: 280px;
        }
    }
    .lower-text img {
        max-width: 280px;
    }
    .content-text .important-text {
        padding: 1rem;
        max-height: fit-content;
        min-height: 150px;
    }
    .content-slider {
        height: 200px;
    }
    .slide img {
        width: 80%;
        height: auto;
        object-fit: cover;
    }
    .next-btn {
        width: 30px;
    }
    .prev-btn {
        width: 30px;
    }
}