/*Font family link*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,900;1,900&family=Roboto:wght@300;900&display=swap');

:root {
    --font: 'Roboto';
}

body{
    font-family:var(--font);
    margin: 0;
}

.reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

.sidebar {
    cursor: pointer;
}

.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    right: 0;
    top: 0;
    background-color: rgb(0, 0, 0);
    /* Black fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/opacity */
    overflow-x: hidden;
    /* Disable horizontal scroll */
    transition: 0.5s;
    /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 15%;
    /* 25% from the top */
    width: 100%;
    /* 100% width */
    text-align: center;
    /* Centered text/links */
    margin-top: 30px;
    /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
    cursor: pointer;
    padding: 8px;
    font-family: var(--font);
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    /* Display block instead of inline */
    transition: 0.3s;
    /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay-content a:hover,
.overlay-content a:focus {
    color: #f1f1f1;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    color: white;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgb(2, 3, 129);
    background: linear-gradient(323deg, rgba(2, 3, 129, 1) 50%, rgba(0, 0, 0, 1) 100%);
    color: white;
}

.nav-bar-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.links a {
    text-decoration: none;
    position: relative;
}

.links a::before,
.quick-menu>ul>li>a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    border-radius: 4px;
    background-color: white;
    bottom: 0;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .3s ease-in-out;
}

.links a:hover::before,
.quick-menu>ul>li>a:hover::before {
    transform-origin: left;
    transform: scaleX(1);
}

.heading {
    background: rgb(2, 3, 129);
    background: linear-gradient(323deg, rgba(2, 3, 129, 1) 50%, rgba(0, 0, 0, 1) 100%);
    color: white;
    font-family: var(--font);
    border-top: 1px solid white;
}

.heading h1{
    font-weight: 800;
}


.header__center {
    display: grid;
    grid-template-columns: 1fr max-content 1fr;
    grid-column-gap: 1.2rem;
    align-items: center;
    margin-top: 80px;
}

.header__center::before,
.header__center::after {
    content: "";
    display: block;
    height: 1px;
    background-color: black;
}

.header__center h1 {
    background: rgb(2, 3, 129);
    background: linear-gradient(323deg, rgba(2, 3, 129, 1) 50%, rgba(0, 0, 0, 1) 100%);
    color: white;
    font-weight: 900;
    padding: 10px;
}

.footer {
    background: rgb(2, 3, 129);
    background: linear-gradient(323deg, rgba(2, 3, 129, 1) 50%, rgba(0, 0, 0, 1) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-section-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-section-links a {
    text-decoration: none;
    color: white;
    cursor: pointer;
}

.footer-section-links ul {
    list-style: none;
    padding-left: 2px;
}

.copy-rights {
    color: white;
    background: rgb(2, 3, 129);
    background: linear-gradient(323deg, rgba(2, 3, 129, 1) 50%, rgba(0, 0, 0, 1) 100%);
    border-top: 1px solid white;
    text-align: center;
    padding: 20px;

}

.copy-rights p {
    margin: 0;
}

@media screen and (min-width: 1024px) {

    .heading {
        padding: 90px;
    }

    .heading h3 {
        font-size: 3rem;
    }

    .header__center h1 {
        font-size: 2.5rem;
    }

    .nav-bar {
        padding: 20px;
    }

    .nav-bar-links img {
        height: 80px;
        width: 110px;
        margin-right: 10px;
    }

    .nav-bar-links p {
        margin-bottom: 0;
    }

    .sidebar {
        font-size: 1.5rem;
        margin-right: 20px;
    }

    .footer {
        padding: 100px 80px;
    }

    .footer-section-logo img {
        height: 250px;
        width: 280px;
    }

    .footer-section-details h4, .footer-section-links h4 {
        font-size: 1.3rem;
        font-weight: 900;
    }

    .footer-section-links h4 {
        margin-bottom: 20px;
    }

    .footer-section-links ul li {
        margin: 10px 0;
    }

    .footer-section-details p {
        font-size: 1rem;
        margin-bottom: 40px;

    }
}

@media screen and (max-width: 820px) {

    .heading {
        padding: 70px;
    }

    .heading h1 {
        font-size: 2rem;
    }

    .header__center h1 {
        font-size: 1.8rem;
    }

    .nav-bar {
        padding: 20px;
    }

    .nav-bar-links img {
        height: 70px;
        width: 100px;
        margin-right: 10px;
    }

    .nav-bar-links p {
        margin-bottom: 0;
        font-size: 0.8rem;
    }

    .sidebar {
        font-size: 1.2rem;
        margin-right: 20px;
    }

    .overlay a{
        font-size: 2rem;
    }

    .footer {
        padding: 80px 40px;
    }

    .footer-section-logo img {
        height: 180px;
        width: 210px;
    }

    .footer-section-details h4, .footer-section-links h4 {
        font-size: 1rem;
        font-weight: 900;
    }


    .footer-section-links h4 {
        margin-bottom: 20px;
    }

    .footer-section-links ul li {
        margin: 10px 0;
        font-size: 0.8rem;
    }

    .footer-section-details p {
        font-size: 0.8rem;
        margin-bottom: 40px;

    }

    .copy-rights p {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 480px) {

    .heading {
        padding: 60px 30px;
    }

    .heading h1 {
        font-size: 1.5rem;
    }

    .header__center h1 {
        font-size: 1.5rem;
    }

    .nav-bar {
        padding: 10px;
    }

    .nav-bar-links img {
        height: 50px;
        width: 60px;
        margin-right: 10px;
    }

    .nav-bar-links p {
        margin-bottom: 0;
        font-size: 0.7rem;
    }

    .sidebar {
        font-size: 1rem;
        margin-right: 10px;
    }

    .overlay a{
        font-size: 1.5rem;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 80px 40px;
    }

    .footer-section-logo img {
        height: 180px;
        width: 210px;
    }

    .footer-section-details, .footer-section-links {
        margin-bottom: 80px;
    }


    .footer-section-details p {
        font-size: 0.9rem;
        margin-bottom: 35px;
        text-align: center;

    }

    .footer-section-details h4, .footer-section-links h4 {
        font-size: 1.1rem;
        font-weight: 900;
        text-align: center;
    }


    .footer-section-links h4 {
        margin-bottom: 20px;
    }

    .footer-section-links ul li {
        margin: 10px 0;
        font-size: 0.9rem;
        text-align: center;
    }


}
