@font-face {
    font-family: "perfograma";
    src: url(../font/perfograma/Perfograma.otf);
}

@font-face {
    font-family: "Nunito";
    src: url(../font/Nunito/Nunito-Regular.ttf);
}



/* General */

body {
    display: grid;
    grid-template-columns: 10% 80% 10%;
    grid-template-areas: "header1 header1 header1" "bline bline bline" ". main ." "footer1 footer2 footer3";
    background-color: #e1e4ea;
    cursor: default;
    overflow: hidden;
}

#links {
    cursor: pointer;
}

.hidden {
    /*display: none;*/
    visibility: hidden;
    opacity: 0;
    transition-duration: 0.5s;
}

.show {
    visibility: visible;
    opacity: 1;
    top: 0px;
    transition-duration: 0.5s;
}

p {
    color: black;
    padding: 20px;
    font-family: nunito;
}

.dandp {
    grid-area: title;
    color: black;
    font-family: nunito;
    margin: -5px;
}

textarea {
    font-size: 16px;
}



/* header + Baseline */

header {
    grid-area: header1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #eff1f4;
    height: 100px;
}

header h1 {
    font-family: perfograma;
    font-size: 60px;
    /*margin: 0 0 0 20px;*/
    margin-left: 2%;
    padding: 0;
}

header div {
    font-family: nunito;
    font-size: 25px;
    display: flex;
    align-items: center;
}

#email {
    height: 20px;
    border-radius: 15px;
    margin-right: 10px;
    margin-left: 10px;
}

#sub {
    height: 20px;
    border-radius: 15px;
    margin-right: 10px;
    font-family: nunito;
    background-color: #42454c;
    color: #e1e4ea;
}

#contact {
    margin-right: 30px;
}


#baseline {
    grid-area: bline;
    background-color: #42454c;
    height: 40px;
    width: 100%;
    font-family: nunito;
    font-size: 30px;
    text-align: center;
    color: #eff1f4;
    padding: 10px;

}






/* Map */

#map {
    grid-area: main;
    justify-self: center;
    margin: 30px 0px 0px 0px;
}

#map div {
    border-radius: 10px;
    margin: 2px;
    width: 15px;
    height: 15px;
    display: inline-block;
}

.blackdot {
    background-color: #42454c;
}

.whitedot {
    background-color: #e1e4ea;
}

.reddot {
    background-color: #b0001e;
    border-radius: 10px;
    margin: 2px;
    width: 15px;
    height: 15px;
    display: inline-block;
}

.yellowdot {
    background-color: #ffbd00;
    border-radius: 10px;
    margin: 2px;
    width: 15px;
    height: 15px;
    display: inline-block;
}

.bluedot {
    background-color: #82bbd1;
    border-radius: 10px;
    margin: 2px;
    width: 15px;
    height: 15px;
    display: inline-block;
    transition: -webkit-transform .2s;
    transition: transform .2s;
    transition: transform .2s, -webkit-transform .2s;
    -webkit-animation-delay: 0.1s;
            animation-delay: 0.1s;
}

.greendot {
    background-color: #00b458;
    border-radius: 10px;
    margin: 2px;
    width: 15px;
    height: 15px;
    display: inline-block;
    transition: -webkit-transform .2s;
    transition: transform .2s;
    transition: transform .2s, -webkit-transform .2s;
    -webkit-animation-delay: 0.7s;
            animation-delay: 0.7s;
}

.purpledot {
    background-color: #9c7dd4;
    border-radius: 10px;
    margin: 2px;
    width: 15px;
    height: 15px;
    display: inline-block;
    transition: -webkit-transform .2s;
    transition: transform .2s;
    transition: transform .2s, -webkit-transform .2s;
}

#legend {
    grid-area: main;
    align-self: flex-end;
    font-size: 23px;
    line-height: 40px;
    font-family: nunito;
    margin-bottom: 20px;
}




/* map animation */

@-webkit-keyframes pound {
    from {
        -webkit-transform: none;
                transform: none;
    }
    50% {
        -webkit-transform: scale(2);
                transform: scale(2);
    }
    to {
        -webkit-transform: none;
                transform: none;
    }
}

@keyframes pound {
    from {
        -webkit-transform: none;
                transform: none;
    }
    50% {
        -webkit-transform: scale(2);
                transform: scale(2);
    }
    to {
        -webkit-transform: none;
                transform: none;
    }
}

#map > .greendot {
    -webkit-animation: pound 1.5s infinite;
            animation: pound 1.5s infinite;
}

#map > .reddot {
    -webkit-animation: pound 1.5s infinite;
            animation: pound 1.5s infinite;
    -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s;
}

#map > .purpledot {
    -webkit-animation: pound 1.5s infinite;
            animation: pound 1.5s infinite;
    -webkit-animation-delay: 0.4s;
            animation-delay: 0.4s;
}

#map > .yellowdot {
    -webkit-animation: pound 1.5s infinite;
            animation: pound 1.5s infinite;
    -webkit-animation-delay: 0.6s;
            animation-delay: 0.6s;
}

#map > .bluedot {
    -webkit-animation: pound 1.5s infinite;
            animation: pound 1.5s infinite;
    -webkit-animation-delay: 0.8s;
            animation-delay: 0.8s;
}



/* article général*/

.art {
    display: grid;
    background-color: white;
    grid-template-columns: 3fr 2fr;
    grid-template-areas: "title article" "photo article";
    width: 800px !important;
    height: 500px !important;
}




/* article 1 */

#article1 {
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

/*.backgroundarticle {
    background-color: rgba(0, 0, 0, 0.75);
    height: 100%;
    width: 100%;
    position: fixed;
    display: flex;
    justify-content: center;
    align-content: center;
}

.art {
    display: grid;
    background-color: white;
    grid-template-columns: 3fr 2fr;
    grid-template-areas: 
        "title article"
        "photo article";
    width: 700px;
    top: 50%;
    left: 50%;
}*/

#koreatitle {
    grid-area: title;
    color: black;
    font-family: nunito;
    margin-left: 20px;
    margin-top: 50px;
    font-size: 27px
}

#kim {
    grid-area: photo;
    height: 360px;
    width: 500px;
    margin-left: 20px;
    margin-top: -20px;
}

#korea {
    grid-area: article;
}

#article1 > div {
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    height: 60%;
    width: 60%;
    border-radius: 10px;

}



/* article 2 */

#article2 {
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
}

#pakistantitle {
    grid-area: title;
    color: black;
    font-family: nunito;
    margin-left: 20px;
    margin-top: 50px;
    font-size: 27px
}

#tariq {
    grid-area: photo;
    height: 330px;
    width: 500px;
    margin-left: 20px;
    margin-top: -20px;
}

#pakistan {
    grid-area: article;
}

#article2 > div {
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    height: 60%;
    width: 60%;
    border-radius: 10px;

}






/* article 3*/

#article3 {
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
}

#mittitle {
    grid-area: title;
    color: black;
    font-family: nunito;
    margin-left: 20px;
    margin-top: 50px;
    font-size: 27px
}

#reactor {
    grid-area: photo;
    height: 330px;
    width: 500px;
    margin-left: 20px;
    margin-top: -20px;
}

#mit {
    grid-area: article;
}

#article3 > div {
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    height: 60%;
    width: 60%;
    border-radius: 10px;

}



/* article 4*/

#article4 {
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
}

#malariatitle {
    grid-area: title;
    color: black;
    font-family: nunito;
    margin-left: 20px;
    margin-top: 40px;
    font-size: 27px
}

#mosquito {
    grid-area: photo;
    height: 330px;
    width: 500px;
    margin-left: 20px;
    margin-top: -20px;
}

#malaria {
    grid-area: article;
}

#article4 > div {
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    height: 60%;
    width: 60%;
    border-radius: 10px;

}





/* article 5*/

#article5 {
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
}

#hockeytitle {
    grid-area: title;
    color: black;
    font-family: nunito;
    margin-left: 20px;
    margin-top: 40px;
    font-size: 27px
}

#sweden {
    grid-area: photo;
    height: 330px;
    width: 500px;
    margin-left: 20px;
    margin-top: -20px;
}

#hockey {
    grid-area: article;
}

#article5 > div {
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    height: 60%;
    width: 60%;
    border-radius: 10px;

}





/* Responsive*/

@media screen and (max-width: 1445px) {

    #map div {
        border-radius: 10px;
        margin: 1px;
        width: 10px;
        height: 10px;
        display: inline-block;

    }
}

    @media screen and (max-width: 600px) {

        #map div {
            display: none;
        }

        #mapmobile div {
            display: block;
        }
    }