/* TITLE */

#title{
    color: white;
    text-decoration: none;
    width:min-content;
    float: left;
    transition: 0.4s;
}

#title:hover {
    color: #8c82fd;
}


/* NAVIGATION BAR */

.header {
    color: #f4f4f4;
    background-color: #01001b;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 10px;
    height: 120px;
}

.header h1{
    padding-left: 30px;
    padding-bottom: 15px;
    font-size: 60px;
    /* float: left; */
}

#navigationBar li{
    display: inline;
    float: right;
    padding-top: 25px;

    a{
        text-decoration: none;
        color: #ffffff;
        padding-right: 20px;
        padding-left: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
        border-radius: 5px;
        transition: 0.4s;
    }
    
    a:hover{
        background-color: #8c82fd;
        /* color: #01001b; */
        padding-right: 20px;
        padding-left: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
        border-radius: 5px;
        box-sizing: border-box;    
    }
}


@media (max-width: 895px) {
    .nav1 {
        display: none;
    }
}

@media (max-width: 810px) {
    .nav2 {
        display: none;
    }
}

@media (max-width: 700px) {
    .nav3 {
        display: none;
    }
}

@media (max-width: 600px) {
    .nav4 {
        display: none;
    }
}


/* MAP */

#map {
    /* position: fixed; */
    height: 600px;
    width: 100%;
    /* float: right; */
    /* padding-top: -20px;
    margin-top: 35px; */
}

#toggles {
    /* display: inline; */
    margin-top: 10px;
    margin-left: 6px;
    padding-left: 30px;
    position: relative;
}

#toggleOptions {
    color: #fffee2;
    font: 16px 'SourceSans3';
}

#explanation {
    color: #dcd9ff;
    font: 15px 'SourceSans3';
    margin: 5px 0px 0px 0px;
}

/* #toggleOptions {
    padding-top: -40px;
    padding-left: 160px;
    position: relative;
} */

.btn {
    background-color: #01001b;
    color: #fffee2;
    transition: 0.2s;
    border: none;
    text-align: center;
    font: 15px 'SourceSans3';
    border-radius: 10%;
    margin-top: 4px; 
    margin-left: 4px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.clickedBtn {
        background-color: #8c82fd;
}

.btn:hover {
    background-color: #333169; 
    color: #fffee2;
}


/* LEGEND */

.maplibregl-ctrl-legend {
    background: white;
    padding: 10px;
    border-radius: 4px;
    max-width: 200px;
    font-family: "SourceSans3";
}

.legend-header h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #2c2929;
    /* border-bottom: 1px solid #ccc; */
    /* padding-bottom: 5px; */
}

.legend-item {
    display: flex;
    align-items: center;
    /* margin-bottom: 5px; */
}

.legend-color {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 1px solid #ffffff;
    border-radius: 2px;
}

.legend-label {
    font-size: 12px;
    color: #000000;
}


/* ABOUT PAGE */

.centerHeader {
    text-align: center;
}

.box1{
    background-color: #ffffff;
    border:3px #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    height:fit-content;
    padding-top: 40px;
    padding-bottom: 30px;
    padding-right: 10vw;
    padding-left: 10vw;
}

#kofiLink {
    margin-top: 20px;
    padding: 20px;
    color: #ffffff;
    background-color: #ee5f2e;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.3s;
}

#kofiLink a:active, a:visited, a:focus { 
    text-decoration: none;
}

#kofiLink:hover{
    color: rgb(255, 255, 255);
    background-color: #8c82fd;
}

/* FOOTER */

footer{
    text-align: center;
    color: rgb(255, 255, 255);
    padding-top: 10px;
    padding-bottom: 40px;
    p, h4 {
        margin-top: 0px;
        margin-bottom: 0px;
    }
}

.footerLeft {
    width: 50%;
    float: left;
    padding-bottom: 40px;
    padding-left: 15%;
    p {
        font-size: 16px;
    }
}

#footerLabel{
    margin-top: -10px;
}


.footerRight {
    width: 20%;
    float: right;
    padding-top: 12px;
    padding-right: 15%;
    font-size: 16px;
    a {
        text-decoration: none;
        color: #ffffff;
        transition: 0.3s;
    }
    a:hover {
        color: #8c82fd;
    }
}