* {
    font-family: "Arial Black", sans-serif;
}

#map {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: fixed;
    z-index: 0;
    top: 0;
    left: 0;
    border: none;
    background-color: rgb(113, 211, 106);
    transition: transform 0.5s ease-in-out;
}

#sidebarMenu {
    height: 5%;
    background-size: cover;
    position: fixed;
    z-index: 1;
    top: 10px;
    left: 10px;
    opacity: 0.5;
    transition: 0.2s;
    cursor: default;
    font-size: x-large;
    background-color: white;
    padding: 5px 10px 5px 10px;
}

#sidebarMenu:hover {
    opacity: 1;
}

#sideNav {
    height: 100%;
    width: 70%;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    display: block;
    padding: 10px;
    transform: translateX(-100%);
    transition: transform 0.5s ease-in-out;
    background-color: #FFF;
}

#sideNav .closeBtn {
    top: 0;
    position: absolute;
    font-size: 40px;
    right: 30px;
    opacity: 0.5;
    transition: 0.2s;
    cursor: default;
}

#sideNav .closeBtn:hover {
    opacity: 1;
}

#logo {
    max-width: 70px;
    width: 80%;
}

#sideNav .desc {
    margin: 20px 60px 20px 10px;
    font-size: 14px;
    display: block;
    transition: 0.3s;
    overflow-y: auto;
    color: #636363;
}

@media screen and (min-width: 650px) {
    #links {
        position: absolute;
        bottom: 0px;
        background-color: white;
        color: #636363;
        padding-bottom: 30px;
        font-size: 16px;
        display: grid;
        width: 400px;
        padding-left: 5px;
        grid-template-rows: 40px auto;
        grid-template-columns: 50% 25% 25%;
        grid-template-areas:
            "obserwuj obserwuj obserwuj"
            "zwolnieni_z_teorii instagram tiktok";
    }

    #linia2 {
        display: none;
    }

    .social_media_link {
        text-align: center;
        margin: auto;
    }
}

@media screen and (max-width: 650px) {
    #links {
        color: #636363;
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: auto auto;
        padding-left: 5px;
        grid-template-areas:
            "obserwuj obserwuj"
            "zwolnieni_z_teorii zwolnieni_z_teorii"
            "instagram tiktok";
        width: 100%;

    }

    #linia2 {
        display: block;
        height: 1px;
        border: 0;
        border-top: 1px solid #636363;
        margin: 0px 80px 0px 0px;
    }

    .social_media_link {
        text-align: left;
    }

    #zwolnieni_z_teorii {
        margin-bottom: 5px;
    }

    #instagram {
        margin-bottom: 5px;
    }

    #tiktok {
        margin-bottom: 5px;
    }
}

#linia1 {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #636363;
    margin: 0px 80px 0px 0px;
}

#obserwuj {
    grid-area: obserwuj;
}

#zwolnieni_z_teorii {
    text-decoration: none;
    grid-area: zwolnieni_z_teorii;
    color: #428F8C;
    font-size: 16px;
}

#instagram {
    grid-area: instagram;
    color: #428F8C;
    font-size: 30px;
}

#tiktok {
    grid-area: tiktok;
    color: #428F8C;
    font-size: 25px;
}

#sidebarMenuR {
    height: 5%;
    background-size: cover;
    position: fixed;
    z-index: 1;
    top: 10px;
    right: 10px;
    opacity: 0.5;
    transition: 0.2s;
    cursor: default;
    font-size: x-large;
    background-color: white;
    padding: 5px 10px 5px 10px;
}

#sidebarMenuR:hover {
    opacity: 1;
}

@media screen and (min-width: 800px) {
    #locationList {
        height: 100%;
        width: 30%;
        position: fixed;
        z-index: 2;
        top: 0;
        right: 0;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 10px;
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
        background-color: #FFF;
    }
}

@media screen and (max-width: 800px) {
    #locationList {
        height: 100%;
        width: 50%;
        position: fixed;
        z-index: 2;
        top: 0;
        right: 0;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 10px;
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
        background-color: #FFF;
    }
}

#closeBtnR {
    top: 0;
    position: absolute;
    font-size: 40px;
    left: 10px;
    opacity: 0.5;
    transition: 0.2s;
    cursor: default;
}

#closeBtnR:hover {
    opacity: 1;
}

#locations {
    overflow-y: auto;
    padding-bottom: 20px;
}

.locationBlocks {
    width: 90%;
    margin: auto auto auto auto;
    transition: 0.2s;
    cursor: default;
    padding-left: 10px;
    padding-right: 10px;
}

.locationBlocks:hover {
    background-color: #dcdcdc;
}

.locationName {
    width: 90%;
    overflow-wrap: break-word;
}

@media screen and (min-width: 800px) {
    .locationDesc {
        overflow-wrap: break-word;
        overflow-y: hidden;
        font-size: small;
        max-height: 100px;
        overflow-y: auto;
        color: #636363;
    }
}

@media screen and (max-width: 800px) {
    .locationDesc {
        overflow-wrap: break-word;
        overflow-y: hidden;
        font-size: smaller;
        max-height: 100px;
        overflow-y: auto;
        color: #636363;
    }
}

#locations a {
    color: #428F8C;
}

ul {
    margin: 0%;
}

ul a {
    color: #428F8C;
}

#projekt_realizowany {
    width: 200px;
}

input[type="checkbox"] {
    display: none;
}

#toggles {
    margin-top: 40px;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas: 
        "toggleBtn1 toggleBtn2";
}

#toggleO{
    grid-area: toggleBtn1;
}

#toggleI{
    grid-area: toggleBtn2;
}

.toggleBtn {
    width: 90%;
    text-align: center;
    border: 2px solid #b8b8b8;
    color: #636363;
    border-radius: 8px;
    cursor: pointer;
    margin: 5px;
    display: inline-block;
    transition: 0.2s;
}

input[type="checkbox"]:checked + .toggleBtn {
    background-color: #BC6B38;
    color: white;
    border: 2px solid #BC6B38;
}