#video-section {
    height: 100vh;
    max-height: 550px;
}

#video-section video {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

@media (max-width: 992px) {
    #video-section {
        height: 50vh;
        max-height: 720px;
    }
}

@media (max-width: 576px) {
    #video-section {
        height: 30vh;
        max-height: 720px;
    }
}

/* @media (max-width: 1200px) {
    #records .image {
        height: 260px;
    }
    #records .image .overlay {
        padding: 20px;
    }
} */
/* #records .image-1 {
    background-image: url("/assets/images/homepage/img1.png");
} */
#records .image-1 .image-1-overlay {
    background: linear-gradient(180deg, rgba(127, 70, 236, 0.6) 0%, rgba(58, 0, 170, 0.6) 100%);
}
/* @media (max-width: 768px) {
    #records .image-1 {
        max-width: 700px;
        width: 100%;
    }
} */
/* #records .image-2 {
    background-image: url("/assets/images/homepage/img2.png");
} */
#records .image-2 .image-2-overlay {
    background: linear-gradient(180deg, rgba(0, 194, 255, 0.8) 0%, rgba(0, 117, 142, 0.8) 100%);
}
/* #records .image-3 {
    background-image: url("/assets/images/homepage/img3.png");
} */
#records .image-3 .image-3-overlay {
    background: linear-gradient(180deg, rgba(255, 24, 83, 0.65) 0%, rgba(180, 0, 46, 0.65) 100%);
}
/* @media (max-width: 768px) {
    #records .image-3 {
        max-width: 700px;
        width: 100%;
    }
} */
/* #records .image-4 {
    background-image: url("/assets/images/homepage/img4.png");
} */
#records .image-4 .image-4-overlay {
    background: linear-gradient(180deg, rgba(255, 203, 24, 0.6) 0%, rgba(255, 138, 0, 0.6) 100%);
}
/* @media (max-width: 768px) {
    #records .image-4 {
        max-width: 700px;
        width: 100%;
    }
} */
/* #records .image-5 {
    background-image: url("/assets/images/homepage/img5.png");
} */
#records .image-5 .image-5-overlay {
    background: linear-gradient(180deg, rgba(20, 153, 255, 0.65) 0%, rgba(0, 150, 254, 0.65) 100%);
}
/* @media (max-width: 768px) {
    #records .image-5 {
        max-width: 700px;
        width: 100%;
    }
} */
/* #records .image-6 {
    background-image: url("/assets/images/homepage/img6.png");
} */
#records .image-6 .image-6-overlay {
    background: linear-gradient(180deg, rgba(127, 70, 236, 0.6) 0%, rgba(58, 0, 170, 0.6) 100%);
}
/* #records .image-7 {
    background-image: url("/assets/images/homepage/img7.png");
} */
#records .image-7 .image-7-overlay {
    background: linear-gradient(180deg, rgba(255, 107, 0, 0.65) 0%, rgba(255, 46, 0, 0.65) 100%);
}
/* @media (max-width: 768px) {
    #records .image-7 {
        max-width: 700px;
        width: 100%;
    }
} */
/* #records .image-8 {
    background-image: url("/assets/images/homepage/img8.png");
} */
#records .image-8 .image-8-overlay {
    background: linear-gradient(180deg, rgba(255, 203, 24, 0.6) 0%, rgba(255, 138, 0, 0.6) 100%);
}
/* @media (max-width: 768px) {
    #records .image-8-image {
        max-width: 700px;
        width: 100%;
    }
} */
/* #records .image-9 {
    background-image: url("/assets/images/homepage/img9.png");
} */
#records .image-9 .image-9-overlay {
    background: linear-gradient(180deg, rgba(20, 153, 255, 0.65) 0%, rgba(0, 150, 254, 0.65) 100%);
}
/* @media (max-width: 768px) {
    #records .image-9-image2 {
        max-width: 700px;
        width: 100%;
    }
} */
/* #records .image-10 {
    background-image: url("/assets/images/homepage/img10.png");
} */
#records .image-10 .image-10-overlay {
    background: linear-gradient(180deg, rgba(255, 24, 83, 0.65) 0%, rgba(180, 0, 46, 0.65) 100%);
}
/* @media (max-width: 768px) {
    #records .image-10-image2 {
        max-width: 700px;
        width: 100%;
    }
} */
/* #records .image-11 {
    background-image: url("/assets/images/homepage/img11.png");
} */
#records .image-11 .image-11-overlay {
    background: linear-gradient(180deg, rgba(0, 194, 255, 0.6) 0%, rgba(0, 117, 142, 0.6) 100%);
}
/* @media (max-width: 768px) {
    #records .blue-image3 {
        max-width: 700px;
        width: 100%;
    }
} */
/* #records .image-12 {
    background-image: url("/assets/images/homepage/img12.png");
} */
#records .image-12 .image-12-overlay {
    background: linear-gradient(180deg, rgba(127, 70, 236, 0.6) 0%, rgba(58, 0, 170, 0.6) 100%);
}
/* #records .image-13 {
    background-image: url("/assets/images/homepage/img13.png");
} */
#records .image-13 .image-13-overlay {
    background: linear-gradient(180deg, rgba(255, 107, 0, 0.65) 0%, rgba(255, 46, 0, 0.65) 100%);
}
/* #records .image-14 {
    background-image: url("/assets/images/homepage/img14.png");
} */
#records .image-14 .image-14-overlay {
    background: linear-gradient(180deg, rgba(127, 70, 236, 0.6) 0%, rgba(58, 0, 170, 0.6) 100%);
}
/* @media (max-width: 1200px) {
    #records {
        padding: 40px;
    }
}
@media (max-width: 450px) {
    #records {
        padding: 20px;
    }
} */

#newsletter {
    text-align: center;
    padding: 60px;
}
#newsletter h1 {
    /* font-size: 40px; */
}
#newsletter input {
    border: none;
    border-bottom: 1px solid #a1a1a1;
    text-align: center;
    font-size: 20px;
    margin-top: 25px;
    max-width: 500px;
    width: 100%;
    padding: 10px;
}
#newsletter input::-moz-placeholder {
    color: #a1a1a1;
}
#newsletter input:-ms-input-placeholder {
    color: #a1a1a1;
}
#newsletter input::placeholder {
    color: #a1a1a1;
}
#newsletter input:focus {
    outline: none;
}
#newsletter div {
    padding: 20px;
}
#newsletter div button {
    padding: 8px 30px;
}
#newsletter div button:focus {
    box-shadow: none;
}
@media (max-width: 768px) {
    #newsletter {
        padding: 60px 15px;
    }
}
@media (max-width: 450px) {
    #newsletter h1 {
        font-size: 32px;
    }
}

#online-record {
    background-image: url("../images/homepage/online-service/online-records1.png");
    background-repeat: no-repeat;
    background-position: center;
    height: 440px;
    background-size: cover;
}
#online-record .row {
    background-image: url("../images/homepage/online-service/online-records2.png");
    height: 440px;
    background-repeat: no-repeat;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
}
#online-record .row h2 {
    color: white;
    font-size: 48px;
}
/* @media (max-width: 576px) {
    #online-record .row h2 {
        font-size: 48px;
    }
} */
#online-record .row div {
    text-align: center;
    padding-top: 30px;
}
#online-record .row div button {
    font-size: 24px;
    font-weight: 700;
    padding: 5px 25px;
}
@media (max-width: 576px) {
    #online-record .row div button {
        font-size: 18px;
    }
}
#online-record .row div button:hover {
    box-shadow: none;
}

#products {
    padding: 50px 90px;
}
/* #ourProducts .product {
    max-width: 280px;
    border: 1px solid #e3e3e3;
    margin: 20px auto;
}
#ourProducts .product img {
    width: 100%;
}
#ourProducts .product .record {
    display: flex;
    justify-content: space-between;
}
#ourProducts .product .record a {
    color: #101010;
    text-decoration: none;
}
#ourProducts .product .record a p {
    margin: 2px;
    font-size: 16px;
}
#ourProducts .product .record span {
    color: white;
    /* font-size: 14px; */
    margin: 2px;
    text-align: center;
    background-color: #5bbf0d;
    padding: 2px;
}
#ourProducts .product .rating {
    display: flex;
    justify-content: space-between;
    margin: 2px;
}
#ourProducts .product .rating p {
    margin: 2px;
    font-size: 16px;
    font-weight: 700;
}
#ourProducts .product .rating p span {
    font-weight: 400;
    color: #969696;
    padding: 2px;
}
#ourProducts .product .rating div {
    margin: 2px;
}
#ourProducts .product .rating div i {
    font-size: 16px;
    color: goldenrod;
}
@media (max-width: 1200px) {
    #ourProducts {
        padding: 30px;
    }
} */

#events {
    text-align: center;
    padding: 60px;
}
#events h2 {
    font-size: 40px;
    font-weight: 700;
    padding-bottom: 30px;
}
#events .event1 {
    background-image: url("../images/homepage/event1.png");
}
#events .event2 {
    background-image: url("../images/homepage/event2.png");
}
#events .event {
    max-width: 670px;
    width: 100%;
    margin-bottom: 10px;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 300px;
    border-radius: 15px;
    display: block;
    padding: 0;
    margin: auto;
    margin-bottom: 15px;
}
#events .event .event-hover {
    background: linear-gradient(360deg, #000000 0%, rgba(0, 0, 0, 0) 43.39%);
    color: white;
    position: relative;
    width: 100%;
    height: 100%;
    display: none;
    padding: 0;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
#events .event:hover .event-hover {
    opacity: 0.8;
    display: block;
    padding: 245px 90px 20px 90px;
}
@media (max-width: 1200px) {
    #events .event:hover .event-hover {
        padding: 245px 20px 19px 20px;
    }
}
@media (max-width: 992px) {
    #events .event:hover .event-hover {
        padding: 220px 20px 19px 20px;
    }
}
@media (max-width: 768px) {
    #events .event:hover .event-hover {
        padding: 250px 20px 19px 20px;
    }
}
@media (max-width: 450px) {
    #events .event:hover .event-hover {
        padding: 180px 20px 19px 20px;
    }
}
@media (max-width: 450px) {
    #events {
        padding: 60px 30px;
    }
    #events .event {
        height: 250px;
    }
}

#records {
    padding: 100px;
}
#records .image {
    background-repeat: no-repeat;
    background-size: cover;
    /* border-radius: 5px; */
}
#records .image .overlay {
    height: 100%;
    /* border-radius: 15px; */
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#records.grid-container {
    display: grid;
    /* grid-template-columns: auto auto auto; */
    grid-gap: 15px;
    justify-content: center;
}

#records.grid-container .image {
    height: 350px;
    cursor: pointer;
    animation-duration: 250ms;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-name: animate-background-backward;
}

#records.grid-container .image:hover {
    animation-name: animate-background-forward;
}

@keyframes animate-background-forward {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}

@keyframes animate-background-backward {
    from {
        transform: scale(1.05);
    }
    to {
        transform: scale(1);
    }
}

#records.grid-container .image h5 {
    filter: drop-shadow(2px 4px 6px black);
}

#records.grid-container .grid-child {
    overflow: hidden;
    /* border-radius: 5px; */
}

#records.grid-container .grid-child:nth-of-type(1),
#records.grid-container .grid-child:nth-of-type(3),
#records.grid-container .grid-child:nth-of-type(8),
#records.grid-container .grid-child:nth-of-type(11) {
    grid-column: 1 / 3;
}
#records.grid-container .grid-child:nth-of-type(4),
#records.grid-container .grid-child:nth-of-type(9) {
    grid-column: 3 / 5;
}
#records.grid-container .grid-child:nth-of-type(5),
#records.grid-container .grid-child:nth-of-type(7),
#records.grid-container .grid-child:nth-of-type(10) {
    grid-column: 5 / 7;
}
#records.grid-container .grid-child:nth-of-type(2),
#records.grid-container .grid-child:nth-of-type(12) {
    grid-column: 3 / 7;
}
#records.grid-container .grid-child:nth-of-type(6) {
    grid-column: 1 / 5;
}
#records.grid-container .grid-child:nth-of-type(13) {
    grid-column: 1 / 4;
}
#records.grid-container .grid-child:nth-of-type(14) {
    grid-column: 4 / 7;
}

@media (max-width: 1400px) {
    #records.grid-container .image {
        height: 300px;
    }
}
@media (max-width: 1200px) {
    #records {
        padding: 60px;
    }
}

@media (max-width: 992px) {
    #records {
        padding: 30px;
    }
    #records.grid-container .image {
        height: 250px;
    }
    #records.grid-container .grid-child:nth-of-type(odd) {
        grid-column: 1 / 2;
    }
    #records.grid-container .grid-child:nth-of-type(even) {
        grid-column: 2 / 3;
    }
    #records .image .overlay {
        padding: 25px;
    }
}
@media (max-width: 768px) {
    #records {
        padding: 30px;
    }
    #records.grid-container {
        display: block;
    }
    #records.grid-container .image {
        height: 250px;
        margin-bottom: 15px;
    }
}
#welcomeSection {
    padding-top: 55px;
}

#apply-modules-section .row {
    background-color: white;
    box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.13);
    border-radius: 15px;
    margin-bottom: 60px;
}
#apply-modules-section .row .content {
    background-image: url("../images/dots.png");
    background-repeat: no-repeat;
    padding: 50px 35px;
    position: relative;
    overflow: hidden;
    top: 0;
    left: 0;
    background-position: left bottom;
}
#apply-modules-section .row .content span {
    font-family: kazimir-italic;
    /* font-size: 14px; */
    font-weight: lighter;
    letter-spacing: 1.5px;
    word-spacing: 2px;
}
#apply-modules-section .row .content h3 {
    /* margin: 5px 0px 25px; */
    color: #0c2c4d;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}
#apply-modules-section .row .content p {
    /* font-size: 14px; */
    color: #5f5f5f;
    padding: 25px 0;
    letter-spacing: 1px;
    word-spacing: 2px;
}
#apply-modules-section .row .content img {
    display: none;
}
/* #apply-modules-section .row .content .button button {
    color: #237ee9;
    border: 1px solid #237ee9;
    border-radius: 5px;
    background-color: white;
    font-weight: bold;
    padding: 7px 15px;
}
#apply-modules-section .row .content .button button:focus {
    outline: none;
} */
@media (max-width: 1200px) {
    #apply-modules-section .row .content {
        padding: 30px 40px;
    }
}
@media (max-width: 768px) {
    #apply-modules-section .row .content img {
        display: block;
        max-width: 400px;
        width: 100%;
        border-radius: 15px;
        margin: auto;
    }
}
@media (max-width: 450px) {
    #apply-modules-section .row .content {
        padding: 30px 20px;
    }
}
#apply-modules-section .row .content .circle1 {
    position: absolute;
    top: -50px;
    left: 100px;
    height: 100px;
    width: 100px;
    border-radius: 50%;
    background: rgba(35, 126, 233, 0.1);
}
#apply-modules-section .row .content .circle2 {
    position: absolute;
    bottom: -40px;
    right: 50px;
    height: 80px;
    width: 80px;
    border-radius: 50%;
    background: rgba(35, 126, 233, 0.1);
}
#apply-modules-section .row .content2 {
    background-image: url("../images/dots2.png");
    background-repeat: no-repeat;
    background-position: top right;
}
#apply-modules-section .row .content2 .circle1 {
    position: absolute;
    left: 250px;
}
@media (max-width: 992px) {
    #apply-modules-section .row .content2 .circle1 {
        left: 150px;
    }
}
@media (max-width: 768px) {
    #apply-modules-section .row .content2 .circle1 {
        left: 300px;
    }
}
@media (max-width: 450px) {
    #apply-modules-section .row .content2 .circle1 {
        left: 150px;
    }
}
#apply-modules-section .row .content2 .circle2 {
    position: absolute;
    left: 50px;
}
#apply-modules-section .row .image {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    max-height: 650px;
    height: 100%;
    width: 100%;
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
}
@media (max-width: 768px) {
    #apply-modules-section .row .image {
        display: none;
    }
}
#apply-modules-section .row .image2 {
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
}
@media (max-width: 768px) {
    #apply-modules-section .row {
        text-align: center;
    }
}
