@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

#header {
    background-color:rgba(245, 245, 245, 0.8);
    border-radius: 5px 5px 0px 0px;
    position: fixed;
    width: 100%;
    grid-area: header;
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-template-areas: 
        'logo menu'    
    ;
    z-index: 2;
    top: 0px;
}

#logo {
    display: flex;
    justify-content: start;
    align-items: center;
}

#logo {
    grid-area: logo;
}

#logo > img {
    width: 200px;
    margin-left: 100px;
    margin-bottom: 30px;
    margin-top: 30px;
}

#menu {
    grid-area: menu;
    display: flex;
    justify-content: end;
    align-items: center;
    margin-right: 100px;
    z-index: 1;
}

#menu > ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

#menu > ul > li{
    display: inline-block;
    padding: 20px;
    cursor: pointer;
}

#menu > ul > li > a {
    text-decoration: none;
    font-family: 'Montserrat';
    color: #222831;
}

#menu ul li a:hover {
    font-weight: 600;
}

.socialmedia {
    color: #222831;
    margin-left: 20px;
}

/* Açılır Menü Başlangıcı */
.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şi */

/* Content Alanı*/
#content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25vh;
}
/* Content Alanı Bitişi*/

/* PageTitle Alanı */
#pagetitle {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px 0px 0px 10px;
    writing-mode:vertical-rl;
    transform: rotate(180deg);
    position: fixed;
    width: 75px;
    height: 275px;
    top: 25%;
    left: 0px;
    font-size: 30px;
    letter-spacing: 3px;
    font-family: 'Montserrat';
    color: cornsilk;
    background-color: #3C675E;
}
/* PageTitle Alanı Bitişi */

#formfield {
    width: 350px;
}

#formugonder {
    width: 100%;
}

#responsive-socialmedia {
    display: none;
}

/* Whatsapp İkonu*/
#whatsapp {
    position: fixed;
    background-color: #075E54;
    padding: 2px 7px;
    right: 0px;
    bottom: 80px;
    border-radius: 5px 0px 0px 5px;
}

#whatsapp svg{
    width: 30px;
    color: cornsilk;
}

/* Whatsapp İkonu Bitişi */

/* Footer Başlangıcı */
#footer {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;;
    bottom: 0px;
    margin-top: 100px;
    padding: 10px;
    font-size: 14px;
}
/* Footer Bitişi */

/* Telefon */
@media screen and (max-width:900px) {
    #content {
        margin-top: 200px;
    }

    #pagetitle {
        display: none;
    }

    #formfield {
        width: 250px;
    }
}

/* Tablet */
@media screen and (max-width:1000px) {
    #content {
        margin-top: 200px;
    }

    #pagetitle {
        display: none;
    }
}

/* Telefon ve Tablet */
@media screen and (max-width:1150px) {
    #header {
        background-color:rgb(245, 245, 245);
    }

    #logo {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    #logo > img {
        width: 150px;
        margin-left: 50px;
        margin-bottom: 0;
        margin-top: 0;
    }

    #menu {
        position: absolute;
        top: 59px;
        right: 0px;
        margin-right: 0px;
        background-color: rgb(245, 245, 245);
        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: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        position: relative;
        top: -30px;
    }

    .socialmedia {
        display: none;
    }

    .burger {
        display: block;
    }

    #hamburgermenu {
        display: flex;
        justify-content: end;
        align-items: center;
        margin-right: 50px;
    }

    #content {
        margin-top: 200px;
    }

    #responsive-socialmedia {
        position: fixed;
        right: 0px;
        top: 20vh;
        border-radius: 8px 0 0 8px;
        display: block;
        background-color:#3C675E;
    }

    #responsive-socialmedia span {
        writing-mode:vertical-rl;
        transform: rotate(0deg);
        font-size: 25px;
        font-family: 'Montserrat';
        margin: 20px 0px 30px 10px;
        letter-spacing: 2px;
        color: cornsilk;
    }

    #responsive-socialmedia svg{
        display: block;
        margin: 15px 15px;
        width: 30px;
        height: 30px;
    }

    #responsive-socialmedia svg path{
        fill:cornsilk;
    }

    #pagetitle {
        display: none;
    }

    #whatsapp {
        display: none;
    }
}
