body {
    margin: 0;
    background: url(media/backt.jpg) no-repeat center fixed ;
    background-size: cover;
    background-color: rgb(110, 66, 8);

}
* {
    box-sizing: border-box;
}
@font-face {
    font-family: StintUltraCondensed-Regular;
    src: url(StintUltraCondensed-Regular.ttf);
}
div.karsılama {
    text-align: center;
    font-size: 50px;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
}
ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    background-color: orangered;
}
div.upsticky {
    position: sticky;
    top: 0px;
    z-index: 1;
}
li {
    float: left;
}
li a, .dropbtn {
    display: inline-block;
    color: white;
    padding: 14px 16px;
    text-align: center;
    text-decoration: none;
}
li a:hover:not(.active), .dropdown:hover .dropbtn {
    background-color: rgb(255, 145, 105);
}
li a.active {
    background-color: rgb(204, 13, 13);
}
li.dropdown {
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.dropdown-content a {
    color: black;
    padding: 14px 16px;
    display: block;
    text-align: left;
}
.dropdown-content a:hover {
    background-color: rgb(255, 145, 105);

}
.dropdown:hover .dropdown-content {
    display: block;
}
ul li:last-of-type {
    float: right;
}
div.baslık {
    font-family: StintUltraCondensed-Regular;
    text-align: center;
    font-size: 80px;
    color: white;
    text-shadow: 2px 2px 2px black;
    padding: 20px;
    background: url(media/ateste_pisenler.png) left bottom no-repeat;
    background-size: contain;
    background-color: rgba(255, 255, 255, 0.2);
}



/* GALERİ */
div.butonlar {
    display: block;
    width: 100%;
    height: 70px;

}
input.buton {
    font-size: 15px;
    text-align: center;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px 10px;
    border: 0px;
    margin: 5px 5px;
    color: white;
    border: 2px solid sandybrown;
    width: 130px;
    height: 60px;
    transition: width 1s ease-in-out;
    animation-name: butonanime, butonanime2;
    animation-duration: 0.8s;
    animation-delay: 0s;
    position: relative;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    z-index: 0;
}
.buton:hover {
    text-shadow: 0px 0px 20px gold;
}

@keyframes butonanime {
    0% {
        background-color: rgba(0, 0, 0, 0.9);
        color: white;
        border: 2px solid sandybrown;
        padding: 10px 10px;
        top: 0px;
        left: 220px;
    }
    100% {
        top: 0px;
        left: 0px;
        background-color: rgba(0, 0, 0, 0.0);
    }
}


div.gallery {
    border: 1px solid #c5c5c5;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 6px 20px 0 rgba(0, 0, 0, 0.39);

}
div.gallery img {
    width: 100%;
    height: auto;
    border-radius: 20px ;
    padding: 5px;
}
div.gallery:hover {
    border: 1px solid #ffffff;
    box-shadow: 0px 0px 2px 1px rgb(255, 255, 255);
}
div.desc {
    position: relative;
    display: block;
    text-decoration-line: underline;
    padding: 10px;
    color: white;
    text-shadow: 2px 2px 2px black;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}
.desc .tooltip {
    visibility: hidden;
    position: absolute;
    bottom: 130%;
    left: 50%;
    margin-left: -75px;
    width: 150px;
    padding: 5px 5px;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.5);
    color: white;
    text-align: center;
    font-size: 20px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.desc .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.5) transparent transparent transparent;
}
div.desc:hover .tooltip {
    visibility: visible;
    opacity: 1;
} 
.responsive {
    padding: 0px 6px;
    float: left;
    width: 24.9999%;
}
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
.container {
    margin-top: 20px;
    position: relative;
    width: 25%;
    border: 1px solid #c5c5c5;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 6px 20px 0 rgba(0, 0, 0, 0.39);
}
.container:hover {
    border: 1px solid #ffffff;
    box-shadow: 0px 0px 2px 1px rgb(255, 255, 255);
}
.image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px ;
    padding: 5px;
}
.overlay {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.2);
    width: 100%;
    height: 0;
    overflow: hidden;
    transition:  .5s ease;
    border-radius: 20px;
}
.container:hover .overlay {
    height: 100%;
    bottom: 0;
}
.text{
    background-color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    color: black;
    font-size: 20px;
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
}
.altbosluk {
    display: block;
    height: 250px;
}
@media only screen and (max-width: 700px){
    .responsive {
        width: 49.999%;
        margin: 6px 0px;
    }
    .container {
        width: 49.999%;
        margin: 6px 0px;
    }
        div.upsticky  li a, .dropbtn {
        padding: 10px 10px;
    }
    div.baslık {
    text-align: center;
    font-size: 50px;
    color: white;
    text-shadow: 2px 2px 2px black;
    padding: 20px;
    background: url(media/ateste_pisenler.png) left bottom no-repeat;
    background-size: contain;
    background-color: rgba(255, 255, 255, 0.2);
    padding-left: 70px;
}

}
@media only screen and (max-width: 550px){
    .responsive {
        width: 100%;
        margin: 6px 0px;
    }
    .container {
        width: 100%;
        margin: 6px 0px;
    }
    div.upsticky  li a, .dropbtn {
        padding: 15px 7px;
        font-size: 10px;
    }
    div.upsticky li a.active {
        padding: 15px 22px;
    }
    div.baslık {
        text-align: center;
        font-size: 40px;
        color: white;
        text-shadow: 2px 2px 2px black;
        padding: 20px;
        background: url(media/ateste_pisenler.png) left bottom no-repeat;
        background-size: contain;
        background-color: rgba(255, 255, 255, 0.2);
        padding-left: 100px;
    }
}

