@font-face {
    src: url(fonts/cooper-hewitt.book.otf);
    font-family: cooper;
}

@font-face {
    font-family: helveticacdblk;
    src: url(fonts/HelveticaCdBlk.ttf);
}

* {
    text-decoration: none;
}


body,
html {
    padding: 0px;
    margin: 0px;
    height: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: rgb(70, 75, 81);
}

#container {
    display: grid;
    grid-template-columns: 30% 40% 30%;
    height: 100%;
    width: 100%;
}

.area {
    display: flex;
    justify-content: center;
    margin: auto;
    margin-top: 0px;
    width: 90%;
    height: 100vh;
    background-color: #6c727900;
}

.slayt {
    height: 100vh;
}

.navbar {
    font-family: cooper;
    display: flex;
    height: 80px;
    width: 100%;
    background-color: transparent;
    position: absolute;
    justify-content: space-between;
    z-index: 98;
}

#name {
    padding-left: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.logo {
    display: inline-flexbox;
    padding: 15px;
    padding-right: 40px;
}

.name img {
    height: 110%;
}

.name2 {
    font-family: helveticacdblk;
}

.logo img {
    height: 100%;
}

img {
    margin: 0px;
    padding: 0px;
    height: 100%;
}

.sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.top {
    display: flex;
    flex-direction: column;
}

.vis {
    display: none;
}

.btn {
    -webkit-border-radius: 30;
    -moz-border-radius: 30;
    border-radius: 30px;
    color: #ffffff;
    font-size: 15px;
    background: #464b51;
    padding: 4px 0px;
    border: solid #ffffff 2px;
    text-decoration: none;
    width: 150px;
    transition: 0.3s;
}

.btn-active {
    background-color: #ffffff;
    color: #000000;
    ;
}

.btn-active:hover {
    background-color: rgb(70, 75, 81);
    ;
    color: #ffffff;

}

.btn:hover {
    background: #ffffff;
    text-decoration: none;
    cursor: pointer;
    border: solid transparent 2px;
}

.btn:hover {
    color: black;
}

.down {
    color: white;
    font-size: 1.2rem;
}

.menu-item {
    /* hide and position tooltip */
    opacity: 0;
    transition: opacity 0s ease-in 600ms, opacity 600ms;
    position: relative;
}

.menu-item:after {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(70, 75, 81);
    transition: width 600ms;
}

.menu-item-hover:hover .menu-item {
    opacity: 1;
    transition: opacity 0s ease-in 600ms, opacity 600ms;
}

.menu-item-hover:hover .menu-item:after {
    width: 0;
}

.fa {
    color: white;
    font-size: 1.4rem;
    padding-left: 5px;
    padding-bottom: 2px;
}

.select {
    text-decoration: none;
    color: white;
}



button:hover {
    cursor: pointer
}

button {
    border: solid transparent;
    background: transparent;
    outline: none;
    position: relative;
    padding: 0px 100px;
    overflow: hidden;
    color: white;
}

button:hover:before {
    opacity: 0;
}

button:before {
    font-family: Arial, Helvetica, sans-serif;
    content: attr(data-hover);
    position: absolute;
    left: 0;
    width: 100%;
    font-weight: 800;
    font-size: 1em;
    opacity: 0;
    transition: all .3s ease-in-out;
}

button:hover div {
    opacity: 0;
    transform: translate(0, 0)
}

button div {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    transition: all .3s ease-in-out;
}


.loader-wrapper {
    z-index: 4;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #464b51;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    display: inline-block;
    animation-delay: 5s;
    transition-delay: 5s;
    width: 670px;
    height: auto;
    position: relative;
    animation: loader 9s infinite ease;
}

hr {
    padding: 0px;
    margin: 0px;
    border: 0px;
}

.invisible {
    visibility: hidden;
}

.br {
    padding: 0px;
    margin: 0px;
    width: 0px;
    height: 7px;
}

.and {
    padding-left: 15px;
    padding-right: 5px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
}

.slide {
    background-color: #464b51;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide1 {
    background-color: #464b51;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide1 img {
    width: 100%;
    height: auto;
}

.ikon {
    height: 18px;
}

button:hover {
    cursor: pointer
}

button {
    border: solid transparent;
    background: transparent;
    outline: none;
    position: relative;
    padding: 2px 100px;
    overflow: hidden;
    color: white;
}


.kutucuk {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.birinci {
    padding: 0px 50px;
}

.ikinci {
    display: none;
    color: transparent;
    text-decoration: none !important;
    transform: translateX(-20px);
    transition: 0.2s ease-in;
}

.ikinci:hover {
    color: white;
    transform: translateX(0px);
}

.kutucuk:hover .birinci {
    display: none;
}

.kutucuk:hover .ikinci {
    display: block;
    text-decoration: none;
}


.articles {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    padding-top: 90px;
    height: 90%;
}

.article {
    display: flex;
    height: 600px;
    width: 400px;
    background-color: rgb(123, 123, 123);
    justify-content: center;
    align-items: flex-end;
    overflow:visible;
}

.makale {
    border-radius: 4px;
    height: 100%;
    width: auto;
}

.makale:hover {
    box-shadow: rgba(0, 0, 0, 0.378) 0px 10px 60px;
}

.pad {
    position: absolute;
    -webkit-border-radius: 30;
    -moz-border-radius: 30;
    border-radius: 30px;
    color: #ffffff;
    font-size: 20px;
    background: #464b51;
    padding: 5px 10px 5px 10px;
    border: solid #ffffff 2px;
    text-decoration: none;
    width: 180px;
    transition: 0.3s;
    transform: translateY(20px);
}

.pad:hover {
    color: black;
    background-color: white;
}



.photo {
    width: 100%;
    height: auto;
    cursor: pointer;
    padding-bottom: 15px;
}

.album {

    padding-top: 85px;
    padding-right: 15px;
    padding-left: 15px;

    /* Galeri ana div'i flex e çevirir*/
    display: flex;

    /*
        Flex akış yönünü soldan sağa dogru olacak şekild ayarlar
        Mobil ve daha kücük ekranlarda column olarak aşşağı doğru akacak şekilde değiştirilebilir
    */
    flex-direction: row;
    flex-wrap: wrap;


    /*
    
        Sağ - Orta - Sol listeleri arasındaki 20px lik boşluk
    */
    gap: 0px;
    justify-content: space-between;
}


.column {

    /*
        Sağ - Orta - Sol listeleri 3 tane olduğu için ekranı 3 e bölüyoruz
        Not: - 20px aradaki boşlukları ifade etmekte
        Sağ ve Sol olarak 2 tane yapmak istersek calc(50% - 20px) 
    */
    flex: calc(33% - 5px);
    max-width: calc(33% - 5px);
}




/*
    Galeride ki herhangi bir resime tıklandığında tam ekran bir şekilde gösterilmesi için kullandığımız ana yapı

    100vw ve 100vh ekranın tamanı kapsaması için
*/
.full-photo {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.94);


    /*
        Ekranın tamamını kaplasakta farklı boyuttaki resimler ekrana sığmadığı durumlarda ögeleri dikey ve yatay olarak ekranın ortasına yerleştirir
    */
    display: flex;
    justify-content: center;
    align-items: center;
}


/*
    Galeri fotoğrafımızın tamamen ekranı kaplamasını sağlamaktayızz
*/
.full-photo .photo {
    height: 100% !important;
    width: auto !important;
    padding-bottom: 0px;
    cursor: default;
}

.content {
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
}

/*

    Kapat - Sonraki - Önceli butonlarının ana stil'i
*/
.controls-div {
    position: absolute;
    z-index: 1000;

    cursor: pointer;


    /* Animasyonlar için ayarlar*/
    transition: all .3s cubic-bezier(0.47, 0, 0.745, 0.715);

    width: 48px;
    height: 48px;
    background-color: hsla(0, 0%, 0%, 0);
    display: flex;
    justify-content: center;
    border-radius: 50%;
    align-items: center;
}

/*
    Fare ile üstüne gelince oluşan animasyon
*/
.controls-div:hover {
    transform: scale(1.2);
}

/* Kapat butonu */
.controls-div.close {
    top: 5px;
    right: 5px;
}

/* Önceki Butonu */
.controls-div.before {
    top: 50%;
    left: 5px;
    transform: translate(0 -50%);
}

/* Sonraki Butonu */
.controls-div.next {
    top: 50%;
    right: 5px;
    transform: translate(0 -50%);
}

.dp-none {
    display: none;
}



#topBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: rgba(0, 0, 0, 0.097);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 30px;
}

#topBtn:hover {
    background-color: rgba(0, 0, 0, 0.768);
}





/* BURGER MENU */


.title {
    height: 45px;
}

header {
    position: fixed;
    z-index: 3;
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
}

.aktif {
    background-color: #464b51;
}

nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 8vh;
    font-family: 'Roboto', sans-serif;
    width: 95%;
    margin: auto;
    z-index: 5;
}

.nav-links {
    justify-content: space-evenly;
    width: 500px;
    display: flex;
    flex-direction: column;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: normal;
    font-size: 16px;
}

.dropdown {
    position: relative;
}

.dropdown:hover .dropdownmenu {
    display: inline-block;
}

.dropdownmenu {
    left: -20px;
    top: 25px;
    display: none;
    position: absolute;
    line-height: 30px;
    width: 160%;
}

#check {
    display: none;
}

.checkbtn {
    height: 0px;
    float: right;
    cursor: pointer;
    display: block;
    z-index: 99;
}

ul {
    position: fixed;
    display: block;
    width: 100%;
    height: 95%;
    background-color: #464b51dc;
    top: 50px;
    right: -200%;
    text-align: center;
    transition: all .5s;
    z-index: 99;
    padding: 0px;
}

.nav-links li {
    margin-top: 0px;
    align-content: center;
}

.nav-links li a {
    font-size: 20px;
}

#check:checked~ul {
    right: 0px;
}

.dropdown:hover .dropdownmenu {
    display: none;
}

#check:checked~.checkbtn {
    z-index: 2;
}

h2,
h3 {
    text-align: center;
}

p {
    text-align: justify;
}

/* BURGER MENU */





/*  RESPONSIVE  */

@media only screen and (max-width: 1150px) {

    header {
        position: fixed;
        background-color: #464b51;
    }

    .area {
        padding-top: 8vh;
        height: 92vh;
    }

    #container {
        display: block;
    }

    .checkbtn {
        height: 40px;
    }

    .sidebar {
        display: none;
    }

    .column {
        flex: calc(50% - 5px);
        max-width: calc(50% - 5px);
    }

    .vis {
        display: flex;
        margin-top: 50px;
        justify-content: center;
        justify-items: center;
    }

    .down {
        display: block;
    }
    
}

@media only screen and (max-width: 880px) {

    .articles {
        overflow: visible;
    }

    .area {
        width: 100%;
    }

    .article {
        margin-bottom: 40px;
    }

}


@media only screen and (max-width: 800px) {

    .title {
        height: 35px;
    }

    .checkbtn {
        height: 35px;
    }

    .column {
        flex: calc(100% - 0px);
        max-width: calc(100% - 0px);
    }

    .album {
        padding-right: 0px;
        padding-left: 0px;
    }

    .loader {
        height: 200px;
        width: auto;
    }

    .area {
        height: 92vh;
    }

    .swiper-slide {
        position: absolute;
    }

    .swiper-slide img {
        align-items: center;
        width: 95%;
        height: auto;
    }

}

@media only screen and (max-width: 500px) {


    .nav-links {
        width: 100%;
    }


    #name,
    .logo {
        padding-left: 10px;
        padding-right: 10px;
    }

    .full-photo .photo {
        height: auto !important;
        width: 100vw !important;
    }

    .vis {
        display: none;
    }

}