@font-face {
    font-family: nexa;
    src: url(/static/img/Nexa-Font/Nexa\ Bold.otf.otf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body{
    background: #350806;
}

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #350806;
    min-height: 100vh;
}

.navbar {
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 18vh;
    z-index: 200;
    background: url(/static/img/cubuk.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.navbar li {
    display: inline-block;
    float: left;
    list-style: none;
    width: 13.3%;
    height: 68%;
    padding: 2rem 0 3% .7rem;
    color: aliceblue;
    transition: 250ms ease-in;
    z-index: 10;
}

.navbar > li:nth-child(2) {
    text-align: center;
}

.navbar>li>a {
    text-align: center;
}
.com {
    transform: translateX(10%);
}

.navbar .home {
    position: relative;
    width: 20%;
    border: none;
    text-align: center;
}

.navbar .home .res {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 90%;
    background: url('logo-beyaz-transparan.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 50;
}

.ham {
    position: absolute;
    top: 2rem;
    left: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    display: none;
}

.ham>.cizgi {
    width: 3rem;
    height: .2rem;
    margin-bottom: .5rem;
    background: white;
    border-radius: 1rem;
    z-index: 500;
}


.hbaslik {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.25rem;
}

.navbar li a {
    text-decoration: none;
    color: aliceblue;
    font-size: 1rem;
    font-weight: bold;
}

.navbar li>ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 65%;
    width: 17%;
    transform:  translateY(0.25%);
    opacity: 0;
    visibility: hidden;
    transition: 500ms all;
}

.navbar h3 {
    transform: translateX(0%);
}


.navbar li>ul li {
    background: #480101;
    padding: 0 0 .5rem 1rem;
    width: 100%;
    border: none;
}

.navbar li>ul>li>a {
    font-size: .85rem;
}

.navbar li ul li:last-child {
    border-bottom-left-radius: .5rem;
    border-bottom-right-radius: .5rem;
}

.navbar>li:hover ul {
    opacity: 1;
    visibility: visible;
}


.ham-navbar {
    display: none;
    transition: .250ms all ease;
    position: fixed;
    top: 0%;
    left: 0;
    width: 70%;
    height: 100vh;
    padding: 2rem 0 0 0;
    background: #700000;
    opacity: .9;
    z-index: 600;
    overflow: auto;
}

.ham-navbar li {
    list-style: none;
    width: 100%;
    transition: 250ms ease-in;
    padding: 2rem 0 0 2rem;
    z-index: 10;
    border-bottom: solid .2rem aliceblue;
}

.ham-navbar>li:nth-child(7) {
    padding: 2rem 0 0 0;
}

.ham-navbar>li:nth-child(7)>a>p {
    transform: translateX(2rem);
}

.ham-navbar li a {
    font-weight: bold;
    text-decoration: none;
    color: aliceblue;
    opacity: 1;
    text-transform: uppercase;
    font-size: 1.5rem;
}

.ham-navbar li>ul {
    display: none;
    left: 0;
}

.ham-navbar li>ul li {
    width: 100%;
    padding: .5rem 0 .05rem 1rem;
    font-size: .5rem;
    border: none;
}

.ham-navbar li>ul li a {
    font-size: .9rem;
}

.carpi {
    width: 3rem;
    height: 3rem;
    margin: 0 0 2rem 2rem;
    border-bottom: 0;
    cursor: pointer;
}

.carpi:after {
    content: '';
    height: 3rem;
    border-left: .2rem solid #fff;
    position: absolute;
    transform: rotate(45deg);
}

.carpi:before {
    content: '';
    height: 3rem;
    border-left: .2rem solid #fff;
    position: absolute;
    transform: rotate(-45deg);
}

.content {
    min-height: 100vh;
}

.footer {
    margin-top: 15rem;
    width: 100%;
    height: 15vh;
    padding: .5rem 0 0 2rem;
    background: #700000;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-top: .5rem solid #480101;
}

.logo {
    display: flex;
    gap: 2rem;
}

.resim {
    width: 4rem;
    height: 4rem;
    background: url(/static/logo-beyaz-transparan.png) no-repeat;
    background-position: center;
    background-size: contain;
}

.yazibir {
    padding-top: .7rem;
}
.yaziki {
    font-size: 1.30rem;
}

.footer span,
a {
    color: aliceblue;
    font-weight: bold;
    text-decoration: none;
}

@media screen and (max-width: 500px) {
    .navbar {
        height: 15vh;
        background: url(/static/img/cubuk.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .navbar li {
        opacity: 0;
        visibility: hidden;
    }

    .ham {
        position: fixed;
        display: block;
        z-index: 500;
    }


    .navbar>.home {
        opacity: 1;
        visibility: visible;
    }

    .navbar>.home a .res {
        top: 2%;
        left: 50%;
        transform: translateX(-50%);
        scale: 100%;
    }

    .navbar>.home a p {
        top: 100%;
    }

    .footer {
        padding: .2rem 0 0 .5rem;
    }

    .logo {
        gap: .5rem;
    }

    .resim {
        scale: 60%;
    }

    .footer a,
    span {
        font-size: .7rem;
    }
    .yaziki a {
        font-size: 1rem;
    }
    .ham {
        top: 1.5rem;
    }
}

@media screen and (max-width: 980px) and (min-width: 500px) {
    .navbar li {
        opacity: 0;
        visibility: hidden;
    }

    .ham {
        position: fixed;
        display: block;
        z-index: 500;
    }

    .navbar>.home {
        opacity: 1;
        visibility: visible;
    }

    .navbar>.home>.res {
        width: 95%;
        height: 95%;
    }

    .yamuk>p {
        font-size: 1.5rem;
        text-align: center;
    }

    a .img {
        filter: grayscale(0%);
    }
}