/* @import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@300..900&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body {
    display: grid;
    grid-template-columns: auto;
    grid-template-areas: 
    'header'
    'nav'
    'section'
    'footer'
    ;
}

header {
    grid-area: header;
    display: flex;
    justify-content: center;
}

#logo img {
    width: auto;
    height: 150px;
}

nav {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-size: 23px;
    font-weight: 300;
    letter-spacing: .5px;
    border-top: 1px solid black;
    grid-area: nav;
    display: grid;
    grid-template-columns: 1fr 4fr 1fr;
    grid-template-areas: 
    'navleft navcenter navright'
    ;
}

/*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: rgb(80, 80, 80);
    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;
}
/*Hamburger Menü Bitiş*/
#sosyalmedya {
    grid-area: navleft;
    margin-left: 20px;
    justify-self: center;
    align-self: center;
}

#sosyalmedya a {
    text-decoration: none;
    color:rgb(80, 80, 80);
    display: inline-block;
    padding: 5px;
}

#sosyalmedya a:hover {
    text-decoration: none;
    color:black
}

#menu {
    grid-area: navcenter;
    justify-self: center;
    align-self: center;
    z-index: 2;
}

#menu>ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

#menu>ul>li {
    display: inline-block;
    cursor: pointer;
}

#menu>ul>li>a {
    text-decoration: none;
    color: rgb(80, 80, 80);
    display: block;
    padding: 20px;
}

#menu>ul>li>a:hover {
    color: black;
}

/*Açılır Menü*/
#acilirmenu {
    display: none;
    padding: 0px 20px;
    list-style-type: none;
    top: 225px;
    border-radius: 0px 0px 5px 5px;
    background-color:floralwhite;
    font-size: 18px;
}

#menu>ul>li:hover #acilirmenu {
    display: flex;
    flex-direction: column;
    position: absolute;
    justify-content: center;
}

#acilirmenu li{
    margin: 5px 0px;
}

#acilirmenu a {
    text-decoration: none;
    color:rgb(80, 80, 80);
}

#acilirmenu a:hover {
    color: black;
}

#kullanicipaneli {
    grid-area: navright;
    justify-self: center;
    align-self: center;
}

#kullanicipaneli a{
    text-decoration: none;
    color:rgb(80, 80, 80);
}

section {
    grid-area: section;
}

#footer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    bottom: 0px;
    padding: 10px;
    font-size: 12px;
}

/*Tablet*/
@media screen and (max-width:1150px) {
    .burger {
        display: block;
    }

    #hamburgermenu {
        display: flex;
        justify-content: end;
        align-items: center;
        margin-right: 50px;
    }

    nav {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
        'navleft navright'
        ;
    }

    #menu {
        position: absolute;
        top: 225px;
        background-color:white;
        width: 100%;
        z-index: 1;
        padding-bottom: 50px;
        text-align: center;
    }

    #menu ul li a {
        padding: 10px;
    }

    #sosyalmedya {
        grid-area: navleft;
        display: flex;
        justify-content: start;
        width: 100%;
        padding:15px 25px;
    }

    #hamburgermenu {
        grid-area: navright;
    }

    #menu, #kullanicipaneli {
        display: none;
    }

    #menu ul li {
        display: block;
    }

    #acilirmenu {
        top: 0px;
    }

    #menu>ul>li:hover #acilirmenu {
        position: relative;
        width: 100vw;
        background-color: aliceblue;
    }
}

/*Telefon*/
@media screen and (max-width:900px) {

}