@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

#menubar {
    border-bottom: 2px solid #4C594F;
    background-color: rgb(255, 255, 255,0.8);
    width: 100vw;
    position: fixed;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 3.5fr 0.6fr;
    grid-template-rows: max-content;
    grid-template-areas: 
    'A B C'
}

#logo {
    text-align: center;
    line-height: 100px;
    grid-area: A ;
}

.logo1 {
    width: 100px;
}

.logo2 {
    width: 200px;
}

#menu {
    display: flex;
    justify-content: end;
    align-items: center;
    grid-area: B;
}

#menu_items {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.menu_item {
    display: inline-block;
}

.menu_item:first-child {
    padding: 37px 0px;
}

.menu_item a:hover {
    color:black; /* Menü üzerine gelince değişme efekti*/
}

.menu_item:hover #dropdown_menu_items  {
    display: block;
    position: absolute;
    width: 182px;
}

#dropdown_menu_items {
    display: none;
    padding: 10px;
    list-style-type: none;
    margin-top: -3px;
    text-align: center;
    background-color:#35403A;
    border-radius: 0 0 5px 5px;
    top: 107px;
    font-size: 17px;
    font-family: "Quicksand";
    z-index: 1;
}

#dropdown_menu_items a {
    text-decoration: none;
    color:whitesmoke;
}

#dropdown_menu_items a:hover {
    text-decoration: none;
    /* color:darkgoldenrod; */
    font-weight: bold;
}

#dropdown_menu_items li {
    margin-top: 10px;
}

.menu_item > a {
    margin: 15px;
    text-decoration: none;
    color: #545350;
    font-family: "Quicksand";
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 20px;
}

#socialmedia {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-area: C;
    background-color:#4C594F;
    border-bottom-left-radius: 50px;
    border-top-left-radius:20px;
    margin: 0px;
    padding: 0px;
}

#socialmedia_items {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.socialmedia_item {
    display: inline-block;
    margin-right: 10px;
}

.socialmedia_item > li > a {
    text-decoration: none;
}

.socialmedia_item svg {
    color: white;
}

.socialmedia_item svg:hover {
    color:beige;
}

/* Hamburger Menu */
#hamburgermenu {
    display: none;
}
.hamburger {
    cursor: pointer;
}

.hamburger input {
    display: none;
}

.hamburger svg {
    height: 3em;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
    fill: none;
    stroke: #4C594F;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
                stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
    stroke-dasharray: 12 63;
}

.hamburger input:checked + svg {
    transform: rotate(-45deg);
}

.hamburger input:checked + svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
}

#content {
    position: relative;
    top: 107px;
}

#footer {
    display: flex;
    justify-content: end;
    align-items: center;
    position: relative;
    bottom: 0px;
    padding: 10px;
    font-size: 14px;
}

@media screen and (max-width:1300px) {
    #menubar {
        border-bottom: 2px solid #4C594F;
        display: grid;
        grid-template-columns: 1.5fr 0.5fr;
        grid-template-rows: max-content;
        grid-template-areas: 
        'A B'
    }

    #logo {
        padding-left: 50px;
        text-align:start;
        line-height: 100px;
        grid-area: A ;
    }
    
    .logo1 {
        width: 75px;
    }
    
    .logo2 {
        width: 150px;
    }

    #menu {
        display: none;
        border-bottom-left-radius: 5px;
        width: 300px;
        height: 100vh;
        margin: 0px;
        padding: 0px;
        position: absolute;
        top: 100px;
        right: 0px;
        z-index: 2;
        background-color: #4C594F;
        animation: esneme 0.5s ease;
    }

    @keyframes esneme {
        from {
            right: -200px;
            opacity: 0.3;
        }
        to {
            right: 0px;
            opacity: 1;
        }
    }

    .menu_item {
        display: block;
        margin-top: 20px;
        text-align: end;
        padding-right: 20px;   
    }

    .menu_item:first-child {
        padding: 0px 20px 0px 0px;
    }

    .menu_item:hover #dropdown_menu_items  {
        display: block;
        position: relative;
        width: 300px;
        margin-top: 20px;
    }

    #menu_items a {
        color: white;
    }

    #dropdown_menu_items {
        position: relative;
        top: 0px;
        right: 0px;
        list-style-type: none;
        margin: 0px -20px 0px 0px;
        padding-right: 40px;
        text-align: end;
        background-color:#35403A;
        border-radius: 0 0 5px 5px;
        width: 100%;
        font-size: 17px;
        font-family: "Quicksand";
        z-index: 2;
    }

    #socialmedia {
        display: none;
    }

    #hamburgermenu {
        grid-area: B;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hamburger input:checked #menu {
        display: block;
    }

    .card {
        display: flex;
        align-items: center;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 20px;
        width: 250px;
        background-color: black;
        font-family: "Quicksand";
    }
    
    .card > img {
        margin-top: 10px;
        width: 150px;
        border-radius:50%;
    }

    hr {
        width: 250px;
    }

    #content {
        position: relative;
        top: 101px;
    }

    #footer {
        display: flex;
        justify-content: center;
    }
}
