/*@import url('https://fonts.googleapis.com/css2?family=EB Garamond:wght@300;400;500;700;900&display=swap');*/

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    /*font-family: 'EB Garamond', sans-serif;*/
}

body {
    line-height: 1.4;
}

.activeMenuItem, .btn:hover {
    background-color: #008080;
    font-weight: bold;
    color: white !important;
}

.main-wrapper img {
    width: 100%;
    display: block;
}

.main-wrapper a {
    color: #000;
    text-decoration: none;
}

.main-wrapper ul li {
    list-style-type: none;
}

.navbar {
    background: #fafafa;
    padding: 0 1rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.brand-and-icon {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
}

.navbar-brand {
    font-size: 40px;
    letter-spacing: 1px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.navbar-toggler {
    display: block;
    border: none;
    background: transparent;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    transition: all 0.4s ease;
    border: 2px solid #000;
    border-radius: 4px;
}

.navbar-toggler:hover {
    opacity: 0.7;
}

.navbar-collapse {
    overflow-y: scroll;
    display: none;
}

.navbar-nav>li>a {
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    padding: 0.6rem 0.6rem;
    margin: 0.2rem 0;
    border-bottom: 1px solid #ddd;
    border-radius: 5px;
    position: relative;
    transition: all 0.4s ease;
}

.drop-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.navbar-nav>li>a:hover {
    opacity: 0.7;
}

.sub-menu h4 {
    text-transform: capitalize;
    font-size: 1rem;
    padding: 0.5rem 0;
}

.sub-menu ul li {
    text-transform: capitalize;
    padding: 0.2rem 0;
    margin: 0.2rem 0;
    font-size: 0.95rem;
}

.sub-menu ul li a {
    opacity: 0.8;
    transition: all 0.5s ease;
}

.sub-menu ul li a:hover {
    padding-left: 14px;
    opacity: 0.9;
}

.sub-menu {
    display: none;
}

.sub-menu-item {
    padding-left: 1.2rem;
}

.sub-menu-item:nth-child(3) {
    background: #ddd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.sub-menu-item:nth-child(3) h2 {
    text-transform: capitalize;
    margin: 1.5rem 0;
}

.sub-menu-item:nth-child(3) .btn {
    border: 1px solid #000;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    cursor: pointer;
    background: #000;
    color: #fff;
    transition: all 0.5s ease;
}

.sub-menu-item:nth-child(3) .btn:hover {
    background: transparent;
    color: #000;
}

.sub-menu-item:nth-child(4) {
    width: 50%;
    margin: 0 auto;
    padding: 2rem 0;
}

/* header */
.header {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://source.unsplash.com/g-kNBpqMIs4/1920x1400) center/cover no-repeat;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header h2 {
    margin: 1rem;
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
}

.header p {
    margin: 1rem auto;
    color: #fff;
    width: 60%;
    opacity: 0.8;
    font-weight: 300;
    font-size: 1.2rem;
    text-align: center;
}

.header button {
    margin: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    background: #000;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    transition: all 0.5s ease;
    cursor: pointer;
}

.header button:hover {
    background: #fff;
    color: #000;
}

/* Media Queries */

@media screen and (min-width: 993px) and (max-width: 1115px) {
    .navbar-brand {
        font-size: 25px;
    }
}

@media screen and (max-width: 993px) {
    .navbar-brand {
        font-size: 30px;
    }
}

@media screen and (min-width: 993px) {
    .navbar {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        border-bottom: 1px solid #ddd;
        padding: 0 5rem;
        position: relative;
    }

    .navbar-toggler {
        display: none;
    }

    .brand-and-icon {
        /*flex: 0 0 100px;*/
        border-bottom: none;
        padding: 0;
    }

    .navbar-collapse {
        display: block !important;
        overflow-y: hidden;
        flex: 1 0 auto;
    }

    .navbar-nav {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-nav>li>a {
        border-bottom: none;
        margin: 1.5rem 0.4rem;
        padding: 1rem 1.8rem 1rem 0.8rem;
        font-size: 0.8rem;
    }

    .sub-menu {
        position: absolute;
        left: 0;
        width: 100%;
        top: 100%;
        background: #f8f8f8;
    }

    .navbar-nav>li:hover .sub-menu {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        padding: 0 5rem;
    }

    .navbar-nav>li {
        border-bottom: 2px solid transparent;
        transition: border-bottom 0.4s ease;
    }

    .navbar-nav>li:hover {
        border-bottom-color: #000;
    }

    .sub-menu-item {
        padding-left: 0;
    }

    .sub-menu-item:nth-child(3) {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /* header */
    .header {
        height: calc(100vh - 75px);
    }

    .header h2 {
        font-size: 6rem;
    }

    .header p {
        width: 40%;
    }
}