* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    /*font-family: 'Roboto-Regular';*/
}

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

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

.navbar-collapse ul li {
    list-style-type: none;
    position: relative;
}

.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: 1.8rem;
    letter-spacing: 3px;
    font-weight: 700;
}

.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-size: 16px;
    /*font-weight: 700;*/
    display: block;
    padding: 0.6rem 0;
    margin: 0.2rem 0;
    border-bottom: 1px solid #ddd;
    border-radius: 1px;
    position: relative;
    transition: all 0.4s ease;
    color: #100f27;
}

.drop-icon {
    position: absolute;
    right: 0px;
    top: 57%;
    transform: translateY(-50%);
    font-size: 11px;
}
/*.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: 14px;
    /*border: 1px solid #fafafa;*/
}

    .sub-menu ul li a {
        transition: all 0.5s ease;
        color: #9897a7;
        position: relative;
        padding: 1rem 0.2rem 1rem 1.1rem;
        display: flex;
        align-items: center;
    }

    .sub-menu ul li:hover a {
        /* padding-left: 14px;
            opacity: 0.9;*/
        font-family: 'Roboto-Medium';
        color: #100f27;
    }
    /*yeni tasarım*/
        .sub-menu ul li:hover a:before {
            content: '';
            width: 0;
            height: 0;
            position: absolute;
            top: 50%;
            left: 0;
            transform: translate(0,-50%);
            border: solid transparent;
            border-color: rgba(255, 255, 255, 0);
            border-left-color: #111028;
            border-width: 6px;
        }

    .sub-menu ul li:hover {
        /* border-left: 2px solid #100f27;
        border-right: 2px solid #100f27;*/
        /*position: relative;*/
        box-shadow: 3px 5px 24px rgba(13, 15, 35, 0.11);
        /*box-shadow: 3px 5px 24px rgba(13, 15, 35, 0.06);*/
        border-radius: 2px;
        padding: 0;
    }

    /*    .sub-menu ul li:hover::before {
            content: '';
            width: 0;
            height: 0;
            position: absolute;
            top: 50%;
            left: 0;
            transform: translate(0, -50%);
            border: solid transparent;
            border-color: rgba(255, 255, 255, 0);
            border-left-color: #100f27;
            border-width: 6px;
        }

        .sub-menu ul li:hover::after {
            content: '';
            width: 0;
            height: 0;
            position: absolute;
            top: 50%;
            right: 0;
            transform: translate(0, -50%);
            border: solid transparent;
            border-color: rgba(255, 255, 255, 0);
            border-right-color: #100f27;
            border-width: 6px;
         
        }*/

.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: 992px) {
    .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: flex !important;
        /* overflow-y: hidden; */
        flex: 1 0 auto;
        z-index: 9999;
        justify-content: flex-end;
        align-items: center;
    }

    .navbar-nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 16px;
    }

        .navbar-nav > li > a {
            border-bottom: none;
            /*margin: 0 0.4rem;*/
            padding: 0.3rem 1.3rem 0.3rem 1.3rem;
            /*font-size: 0.8rem;*/
        }

    .sub-menu {
        position: absolute;
        /*left: -70%;
        width: 566px;*/
        /*yeni tasarım*/
        border-radius: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 654px;
        top: 34px;
        background: #ffffff;
        border: 1px solid #fafafa;
        z-index: 999;
        /*max-height: 435px;*/
        box-shadow: -7px -4px 13px rgba(16,15,39,0.17)
    }
    .navbar-nav > li:hover .sub-menu {
        display: grid !important;
        /*grid-template-columns: repeat(4, 1fr);*/
        grid-template-columns: repeat(1, 1fr);
        /*resimli menüde böyle olmalı
        grid-template-columns: repeat(2, 1fr);*/
        /*padding: 1.1rem 1.5rem 1.1rem 2.4rem;*/
        gap: 10px;
    }
        .navbar-nav > li:hover .sub-menu ul:before {
            content: '';
            position: absolute;
            height: 2px;
            width: 41%;
            background: #111028;
            top: 0;
            /*left: -1px;*/
            /*yeni tasarım*/
            left: 50%;
            transform: translate(-50%, 0);
            z-index: 9999;
        }
    /*resimli menü tasarımında küçük olan*/
    /*.sub-menu.small {
        width: 232px;
        left: -58%;
        text-align: center;
    }
    .navbar-nav > li:hover .sub-menu.small {
        grid-template-columns: repeat(1, 1fr);
    }

        .navbar-nav > li:hover .sub-menu.small ul:before {
            width: 100%;
        }*/

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

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

            .navbar-nav > li:hover:before {
                content: '';
                width: 0;
                height: 0;
                position: absolute;
                top: 23px;
                left: 50%;
                transform: translate(-50%,0);
                border: solid transparent;
                border-color: rgba(255, 255, 255, 0);
                border-bottom-color: #111028;
                border-width: 6px;
            }

    .sub-menu-item {
        padding: 1.1rem 1.5rem 1.1rem 2.4rem;
    }

        .sub-menu-item:first-child {
            padding: 0;
        }

            .sub-menu-item:first-child li {
                /*padding: 0.9rem 0.7rem 0.9rem 1.4rem;*/
                /*yeni tasarım*/
                /*padding: 1.35rem 0.2rem 1.35rem 2.3rem;*/
                width: 32%;
                height: 60px;
                display: flex;
            }

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


        .sub-menu-item ul {
            max-height: 410px;
            overflow-y: auto;
            /*mozilla*/
            scrollbar-color: #f1eded transparent;
            scrollbar-width: thin;
            /*border-top: 2px solid #111028;*/
            /*yeni tasarım*/
            display: flex;
            flex-wrap: wrap;
            padding: 20px;
            gap: 10px;
        }
            /* width */
            .sub-menu-item ul::-webkit-scrollbar {
                width: 6px;
                background-color: transparent;
            }

            /* Track */
            .sub-menu-item ul::-webkit-scrollbar-track {
                background: transparent;
            }

            /* Handle */
            .sub-menu-item ul::-webkit-scrollbar-thumb {
                background: #f1eded;
            }

    .sub-menu-item-img {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 291px;
        height: 179px;
        border-radius: 18px;
        margin-bottom: 18px;
        box-shadow: 0 10px 0px rgba(16, 15, 39, 0.14);
    }

        .sub-menu-item-img img {
            max-width: 291px;
            max-height: 179px;
        }

    .sub-menu-item-desc {
        text-align: justify;
        font-size: 14px;
        line-height: 21px;
    }

    .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%;
        }
}
