@font-face {
    font-family: 'ReemKufi';
    font-display: swap;
    src: url(../fonts/Reem_Kufi/ReemKufi-VariableFont_wght.ttf);
}

body{
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    background-color: #29262a;
    color: #fdfdfd;
    font-size: 1vw;
    font-family: 'ReemKufi';
    font-weight: 200;
    overflow: hidden; /* Hide scrollbars */
}

button, input[type="submit"], input[type="reset"] {
	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	outline: inherit;
}

h1{
    margin: 0;
}

#header{
    background-color: #29262a;
    font-family: "ReemKufi";
    letter-spacing: 0.10em;
    height:15%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spechar{
    color: #F1F224;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 768px) {
    #header{
        font-size: 2.2em;
    }
}

.wrapper{
    height: 80%;
    width: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 768px) {
    .wrapper{
        display: block;
    }
    .meta-square{
        position: absolute;
        top: 2%;
        left:0px;
        width: 100%;
        height: 73%;
    }
    .meta-text{
        position: absolute;
        top: 2%;
        left:0px;
        width: 100%;
        height: 73%;
    }
}

.meta-square{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.square{
    width: 50%;
    height: 60%;
    display: grid;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    grid-template-columns: auto;
    grid-template-rows: 44% 44% 12%;
    padding-bottom: 5%;
}

/* Medium devices */
@media only screen and (min-width: 768px) and (max-width: 1024px){
    .square{
        width: 60%;
        height: 50%;
        padding-bottom: 10%;
        font-size: 1.1em;
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 768px) {
    .square{
        width: 60%;
        height: 55%;
        padding-bottom: 20%;
        font-size: 1.1em;
    }
}



a {
    height:100%;
    width: 100%;
    color: inherit;
    text-decoration: inherit;
}

/* Large devices */
@media only screen and (min-width: 768px) {
    a:hover .dis{
        background-color: #29262a;
        color: #fdfdfd;
    }
}

.bottom {
    padding-top: 5%;
    grid-column-start: 1;
    grid-column-end: 3;
  }

.dis{
    height:100%;
    width: 100%;
    color: #29262a;
    font-size: 1.5em;
    font-weight: 400;
    background-color: #F1F224;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 250ms background-color ease, 250ms color ease;
    border: 2px solid #F1F224;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 768px) {
    .dis{
        font-size: 3em;
    }
}

.top-left::after{
    content: "North West";
}

.top-right::after{
    content: "North East";
}

.bot-left::after{
    content: "South West";
}

.bot-right::after{
    content: "South East";
}

.bot::after{
    content: "Full Map";
}

.bot:hover::after{
    content: "Warning : the loading could be long.";
}

.bot:hover{
    font-size: 1em;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 768px) {
    .bot::after{
        content: "Full Map (big size)";
    }

    .bot:hover{
        font-size: 3em;
    }

    .bot:hover::after{
        content: "Full Map (big size)";
    }
}

.meta-text{
    height: 100%;
    width: 100%;
    font-size: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.meta-text > button {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: default;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 768px) {
    .meta-text{
        opacity: 0;
        display: none;
        font-size: 4em;
    }

    .meta-text > button > p{
        width: 90%;
        border: 3px #F1F224 solid;
    }
}

/* Medium devices */
@media only screen and (min-width: 768px) and (max-width: 1024px){
    .meta-text{
        font-size: 2em;
    }
}

.meta-text > button > p{
    text-align: center;
    line-height:1.4;
    padding-bottom: 5%;
    background-color: #29262a;
}

.title{
    display: inline-block;
    padding-bottom: 1em;
    padding-top: 0.5em;
    font-size: 1.5em;
}

.git-link{
    display: inline-block;
    padding-top: 1em;
    font-size: 0.8em;
    text-decoration: underline;  
}

.git-link:hover{
    color: #F1F224;
}

.yell{
    color: #F1F224;
}

.info_btn{
    display: none;
    position: absolute;
    top: 84%;
    left: 44%;
    width: 13%;
}
.info_btn > button {
    background-color: #29262a;
    border: none;
    border-radius: 35px;
}

.info_btn > button > img {
    width: 100%;
    border-radius: 30px;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 768px) {
    .info_btn{
        display:flex;
    }

    .git-link{
        color: #F1F224;
    }

}