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

h1.title {
    margin-top: 40px;
}

td.bubble {
    width: 70%;
}

td.non-bubble {
    width: 30%;
}

div.bubble {
    width: 100%;
    background-color: rgb(230, 230, 250);
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.5);
    padding: 5px 20px;
    margin-bottom: 30px;
    position: relative;
}

div.bubble h3 {
    color: rgb(153 89 226);
}

div.bubble table {
    width: 100%
}

div.bubble td.text {
    text-align: justify; 
    vertical-align: top;
    hyphens: auto;
    font-weight: bold;
}

div.bubble td.image img {
    width: 200px;
}

/* Slideshow container */
div.slideshow-container {
  width: 100%;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
div.mySlides {
  display: none;
  width: 100%;
  margin: auto;
}

/* Next & previous buttons */
a.prev, a.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  padding-bottom: 10px;
  color: black;
  text-shadow: 0px 0px 30px white, 0px 0px 20px white, 0px 0px 10px white;
  font-weight: bold;
  font-size: 24px;
  transition: 0.6s ease;
  border-radius: 3px 3px 3px 3px;
  user-select: none;
}

/* Position the "next button" to the right */
a.next {
  right: 0;
}

/* On hover, add a black background color with a little bit see-through */
a.prev:hover, a.next:hover {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-shadow: 0px 0px 30px white;
}

/* Caption text */
div.mySlides div.text {
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 20px;
  padding: 8px 12px;
  position: absolute;
  width: 100%;
  bottom: 20px;
  text-align: center;
  font-weight: bold;
  text-shadow: 0px 0px 10px black;
}

div.mySlides img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: 50% 50%;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.5);
}

div.mySlides img.thai {
    object-position: 30%;
}

/* The dots/bullets/indicators */
span.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

span.active, span.dot:hover {
  background-color: #717171;
}

/* Fading animation */
div.mySlides.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

/* Fading animation */
div.clip.fade {
    animation-name: fade;
    animation-duration: 2s;
  }

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

div.clip img.zoom {
    width: 500px;
    height: 500px;
    animation-name: zoom;
    animation-duration: 4s;
}

@keyframes zoom {
    from {width: 250px; height: 250px;}
    to {width: 500px; height: 500px;}
}

@keyframes small-zoom {
    from {width: 200px; height: 200px;}
    to {width: 400px; height: 400px;}
}

@keyframes smaller-zoom {
    from {width: 150px; height: 150px;}
    to {width: 300px; height: 300px;}
}

/* Slideshow container */
div.carousel {
    width: 100%;
    position: relative;
    margin: auto;
    height: 500px;
    background-color: black;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

div.clip img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    object-position: 50% 50%;
    display: block;
    margin: auto;
    
}
  
/* Hide the images by default */
div.clip {
    display: none;
    width: 100%;
    margin: auto; 
}

div.rolam {
    position: relative;
    width: 100%;
    text-align: justify;
    font-size: 20px;
    font-weight: bold;
    hyphens: auto;
    background-color: #adda6b;
    padding: 10px 20px;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.5);
}

div.rolam h1 {
    text-align: left;
    color: white;
    text-shadow: 1px 1px 5px black;
}

div.rolam h1#kicsi {
    display: none;
}

div.rolam div.img {
    display: block;
    float: right;
    width: 50%;
    margin: 25px 10px 0px 25px;
}

div.rolam div.img p {
    margin: 0px;
    font-weight: bold;
    text-align: center;
    color: rgb(123 64 190);
}

div.rolam img {
    width: 100%;
}

div.rolam img#small {
    display: none;
}

div.rolam p b.purple {
    color: rgb(123 64 190);
}

div.bejelent {
    width: 70%;
    margin: auto;
    background-color: #adda6b;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.5);
    padding: 5px 5%;
    margin-top: 40px;
}

div.bejelent h1 {
    color: white;
    text-shadow: 1px 1px 2px black;
    font-size: 2.5em;
}

div.bejelent h2 {
    text-align: left;
    word-break: break-word;
}

div.bejelent h2 img {
    height: 16px;
}

div.bejelent h2.end {
    padding-bottom: 25px;
}

div.bejelent h2 span, div.bejelent h2 a {
    color: rgb(123 67 188);;
}

div.bejelent h2 a:hover {
    color: rgb(218, 0, 218);
}

div.cim {
    position: relative;
}

div.cim img {
    width: 100%;
    object-fit: cover;
    min-height: 230px;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.5);
}

div.cim p {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 3px black;
    font-size: 2em;
}

div.cim p.small {
    display: none;
}

@media screen and (max-width: 1550px) {
    div.clip img {
        object-fit: cover;
    }

    div.clip img, div.carousel {
        height: 400px;
    }

    div.clip img.zoom {
        height: 400px;
        width: 400px;
        animation-name: small-zoom;
    }
}

@media screen and (max-width: 1250px) {
    div.cim p {
        font-size: 1.75em;
    }
}

@media screen and (max-width: 1205px) {
    div.rolam h1#kicsi {
        text-align: center;
        display: block;
    }

    div.rolam h1#nagy {
        display: none;
    }
}

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

    td.non-bubble {
        width: 0%;
    }

    div.cim p {
        font-size: 2em;
    }

    div.rolam h1#nagy {
        text-align: center;
        display: block;
    }

    div.rolam h1#kicsi {
        display: none;
    }
}

@media screen and (max-width: 940px) {
    div.cim p {
        font-size: 1.75em;
    }
}

@media screen and (max-width: 910px) {
    div.rolam h1#kicsi {
        text-align: center;
        display: block;
    }

    div.rolam h1#nagy {
        display: none;
    }
}

@media screen and (max-width: 815px) {
    div.cim p {
        font-size: 2em;
    }

    div.rolam h1#nagy {
        text-align: center;
        display: block;
    }

    div.rolam h1#kicsi {
        display: none;
    }
}

@media screen and (max-width: 760px) {
    div.cim p {
        font-size: 1.75em;
    }
}

@media screen and (max-width: 750px){
    div.rolam div.img {
        display: block;
        float: none;
        width: 100%;
        margin: 5px;
    }

    div.rolam img {
        width: 80%;
        margin: auto;
        display: block;
    }

    div.rolam h1#kicsi {
        text-align: center;
        display: block;
    }

    div.rolam h1#nagy {
        display: none;
    }
}

@media screen and (max-width: 590px) {
    h1.cim {
        font-size: 1.5em;
    }
}

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

@media screen and (max-width: 530px) {
    div.bubble table tr, div.bubble td.text, div.bubble td.image {
        display: block;
    }

    div.bubble td.image img {
        display: block;
        margin: auto;
    }

    div.mySlides {
        width: 100%;
    }

    div.mySlides div.text {
        width: 100%;
    }

    a.prev, a.next {
        color: white;
        text-shadow: 0px 0px 5px black;
    }

    a.prev:hover, a.next:hover {
        background-color: rgba(255, 255, 255, 0.5);
        color: black;
    }

    div.bejelent {
        width: 100%;
    }

    div.cim p {
        display: none;
    }

    div.cim p.small {
        display: block;
        position: relative;
        bottom: 0px;
        top: 10px;
        color: rgb(193, 138, 255);
        text-shadow: 1px 1px 5px rgb(220, 189, 255);
    }
}

@media screen and (max-width: 480px) {
    div.bejelent h2, div.bejelent h2 a {
        font-size: 16px;
      }
  
      div.bejelent h2 img {
        height: 12px;
      }
  
      div.bejelent h2 img.insta {
        height: 16px;
        top: 2px;
      }
}

@media screen and (max-width: 450px) {
    div.rolam img#big {
        display: none;
    }

    div.rolam img#small {
        display: block;
    }
}

@media screen and (max-width: 400px) {
    div.rolam p {
        font-size: 16px;
    }

    div.rolam h1 {
        font-size: 1.75em;
    }

    div.clip img.zoom {
        height: 300px;
        width: 300px;
        animation-name: smaller-zoom;
    }
}

@media screen and (max-width: 350px) {
    div.bejelent h1 {
        font-size: 2em;
    }
}

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

    span.dot {
        height: 15px;
        width: 5%;
    }
}