* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.logo{
    margin: 0;
}
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #eee;
    color: #111;
    height: 100vh;
}
.childMapsMain {
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height:100vh;
    padding-top: 65px;
}
.gameFrame{
    display: flex;
    justify-content: space-between;
    z-index: 9;
    height: 100%;
    padding-left: 50px;
    padding-bottom:50px;
    overflow-y: hidden;
    padding-top: 135px;
    width: 100%;
}
#timerButton{
    position: absolute;
    bottom: 100px;
    right: 100px;
    z-index: 9;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #AD0F0A;
    color:#ffffff;
    font-size:16px;
    font-weight: 700;
    border:none;
    outline: 1px solid #8c0000;
    transition: all .3s linear;
}
#timerButton:hover{
    background: #8c0000;
}
.backgroundImg{
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    text-align: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 1;
    background:url('map-back.jpg')repeat-x;
    background-size: contain;
    background-position: top;
}
.backgroundImg img{
    height: 100%;
    max-height: 978px;
}
.score {
    font-family: monospace;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.25rem;
    transition: opacity 0.2s;
    position: absolute;
    bottom: 50px;
    left: 28%;
    right: 0;
    width: 200px;
    height: 50px;
    z-index: 9;
}
.score #time{
    display: block;
}
.score .title{
    width: 106px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    display: inline-block;
    text-align: right;
}
.score span{
    font-size:14px;
    color:#ffffff;
    font-weight: 400;
}
.score .gameCount{
    display: flex;
    align-items: center;
}
.score .gameTime{
    display: flex;
    align-items: center;
    padding-bottom:5px;
}
.gameModal{
    position: fixed;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    top:0;
    bottom:0;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
    z-index: 999;
    background: rgba(0,0,0,0.7);
}
.gameModal.active{
    display: block;
}
.gameModal .completedGame{
    width: 300px;
    height: 200px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
}
#play-again-btn {
    font-size: 1rem;
    font-weight: bold;
    color: #111;
    border: 1px double #111;
    border-radius: 14px;
    padding: 8px 10px;
    outline: none;
    letter-spacing: .05em;
    cursor: pointer;
    display: none;
    opacity: 0;
    transition: all .3s linear;
}

#play-again-btn:hover {
    background-color: #111;
    color:#ffffff;
}

#play-again-btn:active {
    background-color: #555;
}

#play-again-btn.play-again-btn-entrance {
    opacity: 1;
}
.head-content {
    padding-left: 5vw!important;
    padding-right: 5vw!important;
}
.hamburger-menu-outer span{
    display: none;
}
.historbackButton {
    cursor: pointer;
    z-index: 1;
    width: 2.6041666vw;
    height: 2.6041666vw;
    left: auto;
    position: absolute;
    right: 7.604167vw;
    display: none;
}
.historbackButton .return-button {
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0.625vw;
    width: 2.604166vw;
    height: 2.604166vw;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1.375vw;
    background-color: #8C0000;
    transform: rotate(180deg);
}
.draggable-items {
    display: flex;
    justify-content: center;
    transition: opacity 0.5s;
    margin: 0;
    width:25%;
    flex-wrap: wrap;
    align-items: center;
    height: 100%;
    position: relative;
    overflow-y: auto;
}
.draggable-items.active:after{
    display: none;
}
.draggable-items:after{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left:0;
    background:rgba(0,0,0,0);
}
.draggable {
    max-height: 15%;
    max-width: 14%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: bold;
    margin: 1rem 0.7rem;
    cursor: move;
    transition: opacity 0.2s;
    width: auto;
}

.draggable:hover {
    opacity: 0.5;
}

.matching-pairs {
    transition: opacity 0.5s;
    width:77%;
    position: relative;
}

.matching-pair {
    height: 6rem;
    width: 22rem;
    margin: 0;
    display: flex;
    justify-content: space-between;
    position: absolute;
}

.matching-pair span {
    height: 100%;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    text-align: center;
    user-select: none;
    width: 100%;
}
.matching-pair.piyadealayi57{
    width: 137px;
    height: 227px;
    right: 332px;
    bottom:514px;
    transform: rotate(61deg);
}
.matching-pair.piyadealayi57 img{
    transform: rotate(-61deg);
}
.matching-pair.conkbayiri{
    width: 98px;
    height: 182px;
    right: 214px;
    bottom:683px;
}

.matching-pair.akbas{
    width: 174px;
    height: 102px;
    right: 118px;
    bottom:327px;
}

.matching-pair.bilgali{
    width: 115px;
    height: 109px;
    right: 43px;
    bottom:493px;
}

.matching-pair.agadere{
    width: 174px;
    height: 79px;
    right: 445px;
    bottom:297px;
}

.matching-pair.bilgalikalesi{
    width: 99px;
    height: 52px;
    right: 292px;
    bottom:358px;
}

.matching-pair.buyukanafarta{
    width: 181px;
    height: 127px;
    right: 22px;
    bottom:633px;
}


.matching-pair.canakkaledestani{
    width: 164px;
    height: 116px;
    right: 519px;
    bottom:445px;
}

.matching-pair.cimenlik{
    width: 217px;
    height: 111px;
    bottom: 5px;
    right: 427px;
    transform: rotate(-30deg);
    overflow: hidden;
}

.matching-pair.cimenlik img{
    transform: rotate(30deg);
    margin-top: -19px;
    width: 217px;
}

.matching-pair.ertugrultabyasi{
    width: 119px;
    height: 78px;
    right: 1200px;
    bottom:434px;
    transform: rotate(-31deg);
}
.matching-pair.ertugrultabyasi img{
    transform: rotate(31deg);
}
.matching-pair.hastane{
    width: 70px;
    height: 63px;
    right: 1000px;
    bottom: 395px;
    z-index: 2;
}

.matching-pair.ilksehitler{
    width: 60px;
    height: 54px;
    bottom: 307px;
    z-index: 2;
    right: 1130px;
}

.matching-pair.kilitbahirkalesi{
    width: 212px;
    height: 107px;
    right: 479px;
    bottom: 180px;
}
.matching-pair.kocadere{
    width: 70px;
    height: 61px;
    right: 430px;
    bottom: 416px;
}
.matching-pair.maresal{
    width: 67px;
    height: 80px;
    bottom: 376px;
    z-index: 2;
    right: 924px;
}
.matching-pair.mehmetcigesaygi{
    height: 126px;
    width: 67px;
    right: 532px;
    bottom: 562px;
}
.matching-pair.mehmetcikfeneri{
    width: 52px;
    height: 98px;
    bottom: 392px;
    right: 1274px;
}
.matching-pair.namazgahtabyasi{
    width: 198px;
    height: 73px;
    bottom: 176px;
    right:694px;
}

.matching-pair.sahindere{
    width: 170px;
    height: 161px;
    bottom: 293px;
    right:663px;
}

.matching-pair.sargiyeri{
    width: 88px;
    height: 116px;
    bottom: 421px;
    transform: rotate(57deg);
    right: 831px;
}
.matching-pair.sargiyeri img{
    transform: rotate(-57deg);
    width: 148px;
}

.matching-pair.seddulbahir{
    width: 132px;
    height: 111px;
    bottom: 316px;
    transform: rotate(146.3deg);
    right: 1164px;
}
.matching-pair.seddulbahir img{
    transform:rotate(-146.6deg);
    width: 170px;
    height: 127px;
}
.matching-pair.sehitlerabidesi{
    width: 130px;
    height: 163px;
    bottom: 246px;
    right:986px;
}

.matching-pair.seyitonbasi{
    width: 55px;
    height: 82px;
    height: 75px;
    bottom: 225px;
    right: 895px;
}

.matching-pair.soganlidere{
    width: 54px;
    height: 59px;
    bottom: 307px;
    z-index: 2;
    right: 800px;
}

.matching-pair.son-ok-aniti{
    width: 70px;
    height: 68px;
    bottom: 357px;
    right: 846px;
}
.matching-pair.tabya{
    width: 110px;
    height: 78px;
    bottom: 18px;
    right: 675px;
}
.matching-pair.truva-sehri{
    width: 154px;
    height: 182px;
    bottom: -49px;
    right: 837px;
}
.matching-pair.yahya-cavus{
    width: 75px;
    height: 131px;
    bottom: 422px;
    right: 1094px;
}
.matching-pair.zigindere{
    width: 88px;
    height: 85px;
    bottom: 459px;
    right: 957px;
}

.matching-pair span.label {
    display: none;
}
.label {
    width: 15rem;
    font-size: 2rem;
}

.droppable {
    width: 6rem;
    font-size: 4rem;
    /* background-color: rgba(255,255,255,0.3); */
    /* border: 3px dashed #111; */
    transition: 0.2s;
    width: 100%;
}

.droppable-hover {
    background-color: #bee3f0;
    transform: scale(1.1);
}

.dropped {
    border-style: solid;
}

.dragged {
    user-select: none;
    opacity: 0.3;
    cursor: default;
    order:1;
}

.draggable.dragged:hover {
    opacity: 0.3;
}

@media (max-width:1860px){
    .draggable-items{
        width: 300px;
    }
    .draggable{
        margin:10px;
        max-width: 20%;
    }
}

@media (max-width:1700px){
    .backgroundImg img {
        height: 100%;
        max-height: 650px;
        width: 65%;
    }
    .matching-pair{
        transform: scale(0.8);
    }
    .matching-pair.agadere {
        right: 342px;
        bottom: 169px;
    }   
    .matching-pair.akbas {
        right: 79px;
        bottom: 185px;
    }
    .matching-pair.bilgali {
        right: 24px;
        bottom: 295px;
    }
    .matching-pair.bilgalikalesi {
        right: 225px;
        bottom: 215px;
    }
    .matching-pair.buyukanafarta {
        right: 0px;
        bottom: 386px;
    }
    .matching-pair.canakkaledestani {
        right: 404px;
        bottom: 261px;
    }
    .matching-pair.cimenlik {
        bottom: -33px;
        right: 323px;
        transform: rotate(-30deg) scale(0.8);
    }
    .matching-pair.conkbayiri {
        right: 162px;
        bottom: 412px;
    }
    .matching-pair.ertugrultabyasi {
        right: 960px;
        bottom: 258px;
        transform: rotate(-31deg) scale(0.8);
    }
    .matching-pair.hastane {
        right: 804px;
        bottom: 236px;
        z-index: 2;
    }
    .matching-pair.ilksehitler {
        right: 908px;
        bottom: 180px;
    }
    .matching-pair.kilitbahirkalesi {
        right: 368px;
        bottom: 88px;
    }
    .matching-pair.kocadere {
        right: 341px;
        bottom: 251px;
    }
    .matching-pair.maresal {
        right: 742px;
        bottom: 222px;
    }
    .matching-pair.mehmetcigesaygi {
        right: 424px;
        bottom: 343px;
    }
    .matching-pair.mehmetcikfeneri {
        right: 1026px;
        bottom: 236px;
    }
    .matching-pair.namazgahtabyasi {
        right: 542px;
        bottom: 91px;
    }
    .matching-pair.piyadealayi57 {
        right: 253px;
        bottom: 297px;
        transform: rotate(61deg) scale(0.8);
    }
    .matching-pair.sahindere {
        right: 520px;
        bottom: 153px;
    }
    .matching-pair.sargiyeri {
        right: 664px;
        bottom: 248px;
        transform: rotate(57deg) scale(0.8);
    }
    .matching-pair.seddulbahir {
        right: 929px;
        bottom: 176px;
        transform: rotate(146.3deg) scale(0.8);
    }
    .matching-pair.sehitlerabidesi {
        right: 786px;
        bottom: 127px;
    }
    .matching-pair.seyitonbasi {
        right: 720px;
        bottom: 124px;
    }
    .matching-pair.soganlidere {
        right: 646px;
        bottom: 180px;
    }
    .matching-pair.son-ok-aniti {
        right: 678px;
        bottom: 213px;
    }
    .matching-pair.tabya {
        right: 534px;
        bottom: -20px;
    }
    .matching-pair.truva-sehri {
        right: 663px;
        bottom: -70px;
    }
    .matching-pair.yahya-cavus {
        right: 879px;
        bottom: 249px;
    }
    .matching-pair.zigindere {
        right: 766px;
        bottom: 277px;
    }
}

@media (max-width: 600px) {
    html {
        font-size: 14px;
    }

    #play-again-btn {
        top: -0.4rem;
    }

    #play-again-btn.play-again-btn-entrance {
        transform: translateX(7rem);
    }
}