@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* Sayfa yatayda sığmayı engelle */
html, body { 
  overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

#menubar {
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr 4.5fr;
    grid-template-rows:auto;
    grid-template-areas: 
        'logo menu'
    ;
}

#logo {
    grid-area: logo;
    display: flex;
    justify-content: center;
    align-items: center;
    padding:20px 0px;
}

#logo img {
    width: 200px;
}


#menu {/* Menü Başlangıç */
    grid-area: menu;
    display: flex;
    justify-content: end;
    align-items: center;
    padding-right: 50px;
}

#menu ul {
    padding: 0px;
    margin: 0px;
}

#menu ul li {
    list-style-type: none;
    display: inline;
}

#menu ul li a {
    padding: 20px 10px;
    margin: 0px 5px;
    text-decoration: none;
    color: #403D39;
    font-size: 17px;
    font-family: "Poppins", sans-serif;
    transition: color 0.5s ease;
}

#menu ul li a:hover {
    color: #EB5E28;
}

/* Açılır 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: black;
    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;
}
/* Açılır Menü Bitiş */

#btn_genel {
    background-color: #0081A7;
    border: 0px;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 20px;
    font-family: "Poppins", sans-serif;
    color: #FFFCF2;
}

#btn_genel:hover {
    background-color: #00AFB9;
    color: #FFFCF2;
}

#content {
    margin-top: 0px;
    width: 100%;
}

#footer {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

@media screen and (max-width:1150px) {
    .rowust {
        order: 1;
    }

    .rowalt {
        order: 2;
    }

    #logo {
        margin-left: 50px;
    }
    
    #logo img {
        width: 150px;
    }

    #misyonvevizyon, #sacekimi, #burunestetigi, #plastikcerrahi, #distedavileri {
        flex-direction: column;
        width: 50vw;
        margin: 0px;
    }

    .burger {
        display: block;
    }

    #hamburgermenu {
        display: flex;
        justify-content: end;
        align-items: center;
        margin-right: 50px;
    }

    #logo {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px 0px;
        z-index: 1;
    }

    #menu {
        position: absolute;
        right: 0px;
        margin-right: -100px;
        padding: 0px;
        background-color: rgb(255, 255, 255);
        align-items: center;
        justify-content: center;
        width: 50vw;
        height: 100vh;
        display: none;
        animation: esneme 0.5s ease;
    }


    @keyframes esneme {
        from {
            width: 10vw;
        }
        to {
            width: 50vw;
        }
    }

    #menu > ul > li{
        display: flex;
        justify-content: end;
        align-items: center;
    }

    #menu ul li a {
        font-size: 25px;
    }
}

@media screen and (max-width:900px) {
    #hamburgermenu {
        display: flex;
        justify-content: end;
        align-items: center;
        margin-right: 50px;
    }

    #menu {
        position: absolute;
        right: 0px;
        margin-right: 0px;
        padding: 0px;
        background-color: rgb(255, 255, 255);
        align-items: center;
        justify-content: center;
        width: 100vw;
        height: 100vh;
        display: none;
        animation: esneme 0.5s ease;
    }


    @keyframes esneme {
        from {
            width: 10vw;
        }
        to {
            width: 100vw;
        }
    }

    #menu > ul > li{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #menu ul li a {
        font-size: 25px;
    }
}