/* imports */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

/* Variables */
:root {
    --main: #4A54C2;
    --mainhover: #6872e0;
    --mainactive:  #9299e9;
    --secondary: #F96E46;
    --white: #FFFFFF;
    --backwhite: #f0f0f0;
    --charcoal: #333333;
    --shadow: #222121;
    --textblack: #101011;
    --font: "Nunito Sans";
}

/* Animations */
@keyframes slidedown {
    from {
        transform: translateY(50px);
        opacity: 0%;
    }

    to {
        transform: translateY(0);
        opacity: 100%;
    }
}

@keyframes logoRotate{
    to {
        transform: rotate(-360deg);
    }
}


/* Main root Styles */
body {
    min-width: 300px;

    margin: 0;
    overflow-x: hidden;

    background-color: var(--backwhite);
    font-family: var(--font);
    line-height: 24pt;
}

html {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

html::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

a {
    text-decoration: none;
}

/* Navigation bar Styles */
header {
    min-width: 250px;

    position: relative;
    z-index: 10;

    background-color: var(--main);
    color: var(--white);
    box-shadow: 0px 6px 8px 4px rgba(0, 0, 0, 0.15);
}

.top-content {
    max-width: 85%;
    margin: auto;

    display: flex;
    align-items: center;
    column-gap: 12px;
    padding: 20px 0px 20px 0px;
}

.title-container {
    font-size: 36pt;
    font-weight: 500;
}

#logo {
    width: 100px;

    animation-name: logoRotate;
    animation-duration: 1.10s;
    animation-timing-function: ease-out;
    animation-iteration-count: 1;
}

#logoLink {
    display: inline-block;
    max-height: 100px;
}

/* Title section styles */
.title-content {
    text-align: center;
    padding: 50px 8.5%;

    font-size: 26pt;
    color: var(--white);
    background-color: var(--charcoal);
    box-shadow: 0px 6px 8px 4px rgba(0, 0, 0, 0.15);
}

#title-text {
    animation-name: slidedown;
    animation-duration: 1s;
    animation-delay: .15s;
    animation-fill-mode: backwards;
    line-height: 24pt;
}

/* Main content section styles */
.main-content {
    margin: 50px 0px;
    padding: 0px 8.5%;
    display: flex;
    flex-direction: column;
    row-gap: 50px;
}

.section {
    background-color: var(--white);
    box-shadow: 4px 4px 10px 4px rgba(0, 0, 0, 0.09);

    animation-name: slidedown;
    animation-duration: 1s;
    animation-delay: .25s;
    animation-fill-mode: backwards;
    line-height: 22pt;
}

.section-title {
    font-size: 18pt;
    color: var(--white);
    padding-bottom: 5px;
    background-color: var(--main);
    padding: 30px;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 20px 0px 40px 20px
}

.section-text {
    padding: 0px 40px;
    font-size: 18px;
    text-indent: 1em;
}

.image-slider {
    padding-top: 20px;
    display: flex;
    align-items: center;
    gap: 10%;
    margin: 0% 5%;
}

.slider-container {
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    box-shadow: 4px 4px 10px 3px rgba(0, 0, 0, 0.1);
}

.slider {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.image {
    width: 100%;
    max-height: 400px; 
    display: block;
    object-fit: cover;
    height: auto;
}

.arrow {
    max-height: 50px;
    height: 50%;
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
}

.left:hover {
    transform: translateX(-8px);
}

.right:hover {
    transform: translateX(8px);
}

/* Contact section styles */
.contact-content {
    background-color: var(--charcoal);
    padding: 60px 8% 60px 8%;
    color: var(--white);
    line-height: 20px;
}

.contact-title {
    font-size: 24px;
    padding: 10px 0px 5px 0px;
}

.email {
    color: var(--mainhover)
}

.logo {
    max-width: 30px;
    margin: 10px 10px 10px 0px;

}

/* Media Queries */
@media (max-width: 860px) {
    .top-content {
        column-gap: 6px;
        padding: 10px 0px 10px 0px;
    }

    .title-container {
        font-size: 24pt;
    }

    #title-text{
        font-size: 18pt;
    }

    #logo {
        width: 65px;
    }

    #logoLink {
        max-height: 65px;
    }
}
    
@media (max-width: 1150px) {
    .section-content {
        display: flex;
        flex-direction: column;
        margin: auto;
        padding-left: 0px;
    }

    .image-slider {
       justify-content: center;
    }

    .arrow {
        max-height: 35px;
    }
}
