@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;
    }
}
#r400 {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 15.5%; /* Näide: 20px ülalt */
    
    left:32%;
    width: 11%; /* Kasti laius */
    height: 12%; /* Kasti kõrgus */
    background-color: rgba(255, 153, 0, 0.5); /* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#r301 {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 4.5%; /* Näide: 20px ülalt */
    left: 79.5%; /* Näide: 20px vasakult */
    width: 12.5%; /* Kasti laius */
    height: 16%; /* 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;
}
#r303 {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 26.25%; /* Näide: 20px ülalt */
    left: 79.5%; /* Näide: 20px vasakult */
    width: 12.5%; /* Kasti laius */
    height: 21.4%; /* 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;
}
#r304{
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 48.5%; /* Näide: 20px ülalt */
    left: 79.5%; /* Näide: 20px vasakult */
    width: 12.5%; /* Kasti laius */
    height: 16%; /* Kasti kõrgus */
    background-color: rgba(28, 219, 60, 0); /* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;  
}
#r305{
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 64.5%; /* Näide: 20px ülalt */
    left: 79.5%; /* Näide: 20px vasakult */
    width: 12.5%; /* 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; 
}
#r306{
    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(255, 0, 0, 0.5); /* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;

}
#r307{
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 65%; /* Näide: 20px ülalt */
    
    left:48.5%;
    
    height: 10.7%; /* Kasti kõrgus */
    width:4.9%;
    background-color: rgba(255, 0, 0, 0.5); /* Pool-läbipaistev punane */
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#r308{
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 65%; /* Näide: 20px ülalt */
    
    left:27%;
    
    height: 11%; /* Kasti kõrgus */
    width:21.5%;
    background-color: rgba(255, 0, 0, 0.5); /* Pool-läbipaistev punane */
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#r315 {
    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, 0, 0, 0.5); /* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#r314 {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 16%; /* Näide: 20px ülalt */
    left: 4.8%; /* Näide: 20px vasakult */
    width: 12%; /* Kasti laius */
    height: 10.5%; /* 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;
}
#r313 {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 27%; /* Näide: 20px ülalt */
    left: 4.8%; /* Näide: 20px vasakult */
    width: 12%; /* Kasti laius */
    height: 10.7%; /* Kasti kõrgus */
    background-color: rgba(255, 153, 0, 0.5); /* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}

#r312 {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 38.5%; /* Näide: 20px ülalt */
    left: 4.8%; /* Näide: 20px vasakult */
    width: 12%; /* Kasti laius */
    height: 21%; /* 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;
}
#r310 {
    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(255, 0, 0, 0.5); /* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 1;
}
#r316 {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 15.5%; /* Näide: 20px ülalt */
    
    left:32.5%;
    width: 10%; /* Kasti laius */
    height: 12%; /* Kasti kõrgus */
    background-color: rgba(28, 219, 60, 0); /* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 2;
}
#r317 {
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 15.5%; /* Näide: 20px ülalt */
    
    left:22%;
    width: 10%; /* Kasti laius */
    height: 12%; /* Kasti kõrgus */
    background-color: rgba(28, 219, 60, 0); /* Pool-läbipaistev punane */
        text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 2;
}
#r318 {
    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(89, 15, 185, 0); /* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 2;
}
#r319{
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 15.5%; /* Näide: 20px ülalt */
    
    left:53%;
    width: 22%; /* Kasti laius */
    height: 12%; /* Kasti kõrgus */
    width:10.5%;
    background-color: rgba(28, 219, 60, 0);/* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 2;
}
#r320{
    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);/* Pool-läbipaistev punane */
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    z-index: 2;
}
#r320r{
    position: absolute; /* Absoluutne positsioneerimine konteineri suhtes */
    top: 15.5%; /* Näide: 20px ülalt */
    left:22.1%;
    width: 51.7%; /* 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;
}
#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;
}
.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;
}
