@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
body, html {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
#main {
    transition: margin-left .5s; /* Sujuv üleminek */
    padding: 20px;
}
body {
    font-family: "Lato", sans-serif;
    padding: 0;
    margin: 0;
    transition: margin-left .5s; /* Sujuv üleminek külgriba avamisel ja sulgemisel */
}

.sidenav {
    height: 100%;
    width: 0; /* Alguses peidetud */
    position: fixed;
    z-index: 2;
    top: 0;
    left: 10;
    background-color: #ffffff;
    overflow-x: hidden;
    transition: 0.5s; /* Sujuv laiuse muutus */
    padding-top: 60px;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.596);
}
.sidenav h2 {
    text-align: center;
}
.sidenav a {
    padding: 8px 8px 8px 32px;
    margin-left: -18%;
    text-decoration: none;
    font-size: .875em;
    color: #000;
    display: block;
    transition: 0.3s;
    background-color: #f5f7fa;
}
.cross a{
    background-color: #fff;
}
.sidenav li {
    padding-top: 2%;
}
.sidenav ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
}
.sidenav a:hover {
    background-color: #dde3ed;
}
.cross a:hover{
    background-color: #fff;
}
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.container {
    display: flex;
    flex-direction: row; /* Elemendid reas */
    width: 100%; /* Võtab üle kogu vanema laiuse */
}

.sidebar {
    flex: 1; /* Võtab vähem ruumi */
    padding: 20px; /* Lisab sisu ümber polsterdust */
    background-color: #f8f9fa; /* Taustavärv */
    border-left: 1px solid #ccc; /* Joone lisamine vasakule küljele */
}
#klassiroom::marker {
    color: red;
    font-size: 2rem;

}
#arvutiklass::marker {
    color: #590fb980;
    font-size: 2rem;

}
#fotostuudio::marker {
    color: #ff990080;
    font-size: 2rem;

}
#labor::marker {
    color: rgb(98, 126, 250);
    font-size: 2rem;

}
#opetajad::marker {
    color: rgb(227, 225, 228);
    font-size: 2rem;

}
#valjapaas::marker {
    color: #1cdb3c80;
    font-size: 2rem;

}
.content {
    display: flex;
}

.left-side {
    flex: 1;
    padding-right: 200px; /* Adjust as needed */
}

.right-side {
    flex: 2;
}
.image-container {
    position: relative; /* Lubab absoluutset positsioneerimist selle sees */
    align-items: flex-start;
    display: inline-block; /* Või "block", sõltuvalt vajadusest */
    width: auto;
}
@media only screen and (max-width: 1538px) {
    .image-container{
        left: 0;
        width: auto;
    }
}
#r401 {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 4.5%; /* Näide: 20px ülalt */
    left: 79.5%; /* Näide: 20px vasakult */
    width: 12.3%; /* Kasti laius */
    height: 16%; /* Kasti kõrgus */
    background-color: rgba(255, 0, 0, 0.5); /* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#r403 {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 26.25%; /* Näide: 20px ülalt */
    left: 79.5%; /* Näide: 20px vasakult */
    width: 12.3%; /* Kasti laius */
    height: 16%; /* Kasti kõrgus */
    background-color: rgba(55, 102, 255, 0.5); /* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    z-index: 1;
}
#r404{
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 42.8%; /* Näide: 20px ülalt */
    left: 79.5%; /* Näide: 20px vasakult */
    width: 12.3%; /* Kasti laius */
    height: 16.1%; /* Kasti kõrgus */
    background-color: rgba(255, 0, 0, 0.5); /* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;  
}
#r406{
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 64.5%; /* Näide: 20px ülalt */
    left: 79.5%; /* Näide: 20px vasakult */
    width: 12.3%; /* Kasti laius */
    height: 23%; /* Kasti kõrgus */
    background-color: rgba(255, 0, 0, 0.5); /* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1; 
}
#r407{
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 65%; /* Näide: 20px ülalt */
    left:53.5%;
    height: 11%; /* Kasti kõrgus */
    width:21.5%;
    background-color:  rgba(89, 15, 185, 0.5);/* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;

}
#r408{
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 65%; /* Näide: 20px ülalt */
    left:42.5%;
    height: 11%; /* Kasti kõrgus */
    width:11%;
    background-color: rgba(89, 15, 185, 0.5); /* Pool-läbipaistev punane */
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#r409{
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 65%; /* Näide: 20px ülalt */
    left:27%;
    height: 11%; /* Kasti kõrgus */
    width:15.6%;
    background-color: rgba(255, 0, 0, 0.5); /* Pool-läbipaistev punane */
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#r410 {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 4.5%; /* Näide: 20px ülalt */
    left: 4.8%; /* Näide: 20px vasakult */
    width: 12%; /* Kasti laius */
    height: 11%; /* Kasti kõrgus */
    background-color: rgba(255, 255, 255, 0.103); /* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#r411 {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 21%; /* Näide: 20px ülalt */
    left: 4.8%; /* Näide: 20px vasakult */
    width: 12%; /* Kasti laius */
    height: 16.7%; /* Kasti kõrgus */
    background-color: rgba(255, 0, 0, 0.5); /* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}

#r412 {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 43%; /* Näide: 20px ülalt */
    left: 4.8%; /* Näide: 20px vasakult */
    width: 12%; /* Kasti laius */
    height: 16.5%; /* Kasti kõrgus */
    background-color: rgba(89, 15, 185, 0.5); /* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#r413 {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 65.4%; /* Näide: 20px ülalt */
    left: 4.8%; /* Näide: 20px vasakult */
    width: 12%; /* Kasti laius */
    height: 22%; /* Kasti kõrgus */
    background-color:  rgba(89, 15, 185, 0.5); /* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#r418 {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 15.5%; /* Näide: 20px ülalt */
    
    left:22%;
    width: 21%; /* Kasti laius */
    height: 12%; /* Kasti kõrgus */
    background-color:  rgba(89, 15, 185, 0.5); /* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#r419 {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 15.5%; /* Näide: 20px ülalt */
    
    left:43%;
    width: 12%; /* Kasti laius */
    height: 12%; /* Kasti kõrgus */
    width:9.5%;
    background-color: rgba(255, 0, 0, 0.5); /* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#r420{
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 15.5%; /* Näide: 20px ülalt */
    
    left:52.9%;
    width: 10.6%; /* Kasti laius */
    height: 12%; /* Kasti kõrgus */
    background-color: rgba(255, 0, 0, 0.5);/* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#r421{
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 15.5%; /* Näide: 20px ülalt */
    
    left:63.5%;
    width: 22%; /* Kasti laius */
    height: 12%; /* Kasti kõrgus */
    width:10.5%;
    background-color: rgba(255, 0, 0, 0.5);/* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#rlift {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 0%; /* Näide: 20px ülalt */
    left: 31.4%; /* Näide: 20px vasakult */
    width: 5.2%; /* Kasti laius */
    height: 3.6%; /* Kasti kõrgus */
    background-color: rgba(255, 0, 0, 0); /* Pool-läbipaistev punane */
    border-color: #000;
    border-style: solid;
    border-width: 2px;
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#valjap1 {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 83.3%; /* Näide: 20px ülalt */
    left: 16.7%; /* Näide: 20px vasakult */
    width: 4%; /* Kasti laius */
    height: 3.6%; /* Kasti kõrgus */
    background-color: rgba(102, 255, 0, 0.726); /* Pool-läbipaistev punane */
    border-color: #00000000;
    border-style: solid;
    border-width: 2px;
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#valjap2 {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 83.3%; /* Näide: 20px ülalt */
    left: 74.9%; /* Näide: 20px vasakult */
    width: 4%; /* Kasti laius */
    height: 3.6%; /* Kasti kõrgus */
    background-color: rgba(102, 255, 0, 0.726); /* Pool-läbipaistev punane */
    border-color: #00000000;
    border-style: solid;
    border-width: 2px;
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#trepp {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 4.6%; /* Näide: 20px ülalt */
    left: 37%; /* Näide: 20px vasakult */
    width: 21.2%; /* Kasti laius */
    height: 4%; /* Kasti kõrgus */
    background-color: rgba(102, 255, 0, 0.726); /* Pool-läbipaistev punane */
    border-color: #00000000;
    border-style: solid;
    border-width: 2px;
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#wc {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 5.5%; /* Näide: 20px ülalt */
    left: 21.4%; /* Näide: 20px vasakult */
    width: 5.2%; /* Kasti laius */
    height: 3.6%; /* Kasti kõrgus */
    background-color: rgba(102, 255, 0, 0); /* Pool-läbipaistev punane */
    border-color: #00000000;
    border-style: solid;
    border-width: 2px;
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#wc2 {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 5.5%; /* Näide: 20px ülalt */
    left: 68.4%; /* Näide: 20px vasakult */
    width: 5.2%; /* Kasti laius */
    height: 3.6%; /* Kasti kõrgus */
    background-color: rgba(102, 255, 0, 0); /* Pool-läbipaistev punane */
    border-color: #00000000;
    border-style: solid;
    border-width: 2px;
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
.items {
    text-align: center;
    color: #fff;
    display: flex;
    margin-bottom: 5%;
    padding: 5px;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.over-text2 {
    color: rgb(0, 0, 0);
    font-size: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    z-index: -1;
}

.in-text {
    padding: 0 20px 20px 20px;
}

.items .info-gar {
    border-radius: 0px;
    flex: 1;
    background-color: #333;
    padding-top: 5px;
    position: relative;
    align-items: center;
}
