@import url('https://fonts.googleapis.com/css2?family=Inria+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

header{
    background-color: #70689d;
    display: grid;
    grid-template-columns: 0.9fr 4.5fr;
    grid-template-rows: max-content;
    grid-template-areas: 
    'logo menu'
    ;
    position: fixed;
    width: 100vw;
    z-index: 2;
}

#logo img {
    padding: 15px;
    width: 120px;
}

/*Logo*/
#logo {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-area: logo;
}

/*Menü*/
#menu {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-area: menu;
}

#menu ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    text-align: center;
}

#menu ul li {
    display: inline-block;
    position: relative;
}

#menu ul li a {
    text-decoration: none;
    height: 120px;
    padding: 15px;
    margin: 3px;
    font-family: "Inria Sans", sans-serif;
    font-size: 22px;
    color:white;
}

#menu ul li a {
    color: #dad6ec;
}

#menu ul li hr {
    display: none;
}

/*Yeni Açılır Menü*/
.dropdown-menu {
    display: flex;
    flex-direction: column;
    width: 220px;
}

.dropdown-menu li {
    padding:0px;
    margin:0px;
    width: 220px;
    color: #70689d;
}

.dropdown-item {
    width: 220px;
    height:max-content;
    padding:5px 0px;
    font-size:20px;
    color:white !important;
}

.dropdown-item:hover {
    background-color: white !important;
    color:#70689d !important;
}
/*Yeni Açılır Menü Kapanış*/



/*Kullanıcı Paneli*/
.kullanici {
    margin-left: 70px;
}

.girisyap {
    color:white;
    background-color:#ce8dab;
    border-radius:10px;
}

/*Hamburger Menü*/
.burger {
    position: relative;
    width: 30px;
    height: 20px;
    background: transparent;
    cursor: pointer;
    display: none;
}
  
.burger input {
    display: none;
}

.burger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: white;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.burger span:nth-of-type(1) {
    top: 0px;
    transform-origin: left center;
}

.burger span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
}

.burger span:nth-of-type(3) {
    top: 100%;
    transform-origin: left center;
    transform: translateY(-100%);
}

.burger input:checked ~ span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 0px;
    left: 6px;
}

.burger input:checked ~ span:nth-of-type(2) {
    width: 0%;
    opacity: 0;
}

.burger input:checked ~ span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: 21px;
    left: 5px;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    top: 200px;
}

@media screen and (max-width:1200px) {
    header{
        background-color: #70689d;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: max-content;
        grid-template-areas: 
        'logo menu'
        ;
    }

    #logo {
        justify-content: start;
        margin-left: 50px;
    }

    #menu {
        position: absolute;
        right: 0px;
        margin-right: 0px;
        background-color:#70689d;
        align-items: center;
        justify-content: center;
        width: 100vw;
        height: 100vh;
        display: none;
        animation: esneme 0.5s ease;
    }


    @keyframes esneme {
        from {
            height: 10vh;
        }
        to {
            height: 100vh;
        }
    }

    #menu ul li {
        display: block;
        margin-bottom: 20px;
        text-align: center;
    }

    /*Yeni Açılır Menü*/
    .dropdown {
        width:100vw;
    }

    .dropdown-menu {
        width:100vw;
        text-align: center;
    }

    .dropdown-menu li {
        padding:0px;
        margin:0px;
        width: 100vw;
    }

    .dropdown-item {
        padding:5px 10px;
        font-size:20px;
    }
    /*Yeni Açılır Menü Kapanış*/

    #menu ul li hr {
        display: block;
    }

    .kullanici {
        margin-left: 0px;
        margin-top: 50px;
    }
    
    .burger {
        display: block;
    }

    #hamburgermenu {
        display: flex;
        justify-content: end;
        align-items: center;
        margin-right: 50px;
    }
}