span#title {
    color: rgb(193, 138, 255);
    text-shadow: 2px 2px 5px rgb(220, 189, 255);
}

.sidenav {
    width: 180px;
    max-height: 90vh;
    position: sticky;
    float: left;
    top: 50px;
    left: 20px;
    background: #1b1b1b;
    overflow-x: hidden;
    padding: 8px 0;
    margin-top: 20px;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.5);
    z-index: 1;
}
  
.sidenav a {
    padding: 6px 8px 10px 16px;
    text-decoration: none;
    font-size: 18px;
    color: white;
    display: block;
}
  
.sidenav a:hover {
    font-weight: bold;
}

td.container {
    width: 80%;
}

div.bubble {
    width: 100%;
    padding: 20px;
    text-align: justify;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    hyphens: auto;
}

div.green {
    background-color: rgb(200, 255, 137);
}

div.purple {
    background-color: lavender;
}

div.green h2, div.green a, div.purple a:hover {
    color: green;
}

div.purple h2, div.purple a, div.green a:hover {
    color: rgb(109, 66, 196);
}

div.bubble h2.small {
    display: none;
}

div.green div.img {
    width: 50%;
    float: right;
    padding: 15px;
}

div.purple div.img {
    width: 50%;
    float: left;
    padding: 15px;
}

div.bubble div.img img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

div.bubble div.img#thai_img img {
    object-position: 30%;
}

div.bubble table.ar {
    margin-left: 20px;
    font-weight: bold;
}

p.elerhetoseg {
    width: 80%;
    margin: auto;
    text-align: justify;
    font-size: 20px;
    hyphens: auto;
    font-weight: bold;
}

p.elerhetoseg a {
    color: rgb(109, 66, 196);
    font-weight: bold;
}

p.elerhetoseg a:hover {
    color: green;
}

@media screen and (max-width: 1250px) {
    div.bubble h2.small {
        display: block;
    }

    div.bubble h2.big {
        display: none;
    }
    
    div.green div.img {
        width: 100%;
    }
    
    div.purple div.img {
        width: 100%;
    }
    
    div.bubble div.img img {
        width: 80%;
        margin: auto;
        display: block;
    }

    div.bubble table.ar {
        margin-left: 0px;
    }

    p.elerhetoseg {
        width: 90%;
    }
}

@media screen and (max-width: 1060px) {
    div.sidenav {
        display: none;
    }

    div.bubble h2.small {
        display: block;
    }

    div.bubble h2.big {
        display: none;
    }
    
    div.green div.img {
        width: 50%;
    }
    
    div.purple div.img {
        width: 50%;
    }
    
    div.bubble div.img img {
        width: 100%;
    }

    div.bubble table.ar {
        margin-left: 20px;
    }

    p.elerhetoseg {
        width: 80%;
    }
}

@media screen and (max-width: 1000px) {
    div.bubble h2.small {
        display: block;
    }

    div.bubble h2.big {
        display: none;
    }
    
    div.green div.img {
        width: 100%;
    }
    
    div.purple div.img {
        width: 100%;
    }
    
    div.bubble div.img img {
        width: 80%;
    }

    div.bubble table.ar {
        margin-left: 0px;
    }

    p.elerhetoseg {
        width: 90%;
    }
}

@media screen and (max-width: 815px) {
    div.bubble h2.small {
        display: block;
    }

    div.bubble h2.big {
        display: none;
    }
    
    div.green div.img {
        width: 50%;
    }
    
    div.purple div.img {
        width: 50%;
    }
    
    div.bubble div.img img {
        width: 100%;
    }

    div.bubble table.ar {
        margin-left: 20px;
    }

    p.elerhetoseg {
        width: 80%;
    }
}

@media screen and (max-width: 750px) {
    div.bubble h2.small {
        display: block;
    }

    div.bubble h2.big {
        display: none;
    }
    
    div.green div.img {
        width: 100%;
    }
    
    div.purple div.img {
        width: 100%;
    }
    
    div.bubble div.img img {
        width: 80%;
    }

    div.bubble table.ar {
        margin-left: 0px;
    }

    p.elerhetoseg {
        width: 90%;
    }
}

@media screen and (max-width: 650px) {
    p.elerhetoseg {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    div.bubble div.img img {
        width: 100%;
    }
}

@media screen and (max-width: 450px) {
    td.container {
        width: 100%;
    }

    p.elerhetoseg {
        font-size: 16px;
    }
}
