#header{
   width: 45%;
   height: 200px;
}

@media only screen and (max-width: 1400px){
#header{
   width: 65%;
   height: 200px;
}
}
@media only screen and (max-width: 1100px){
#header{
   width: 75%;
   height: 200px;
}
}
@media only screen and (max-width: 400px){
#header{
    width: 90%;
    height: 150px;
}
}
#menuc{
    text-align: right;
    padding-right: 20px;
}
body {margin:0;font-family:Arial}

.topnav {
  overflow: hidden;
  background-color: #ffffff;
}

.topnav a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.active {
  background-color: #00eee;
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 17px;
    border: none;
    outline: none;
    color: black;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #ff7f50;
  color: #00eeee;
}

.dropdown-content a:hover {
    background-color: #ff7f50;
    color: #00eee;
}

.dropdown:hover .dropdown-content {
    display: block;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;

  }
  .topnav a.icon {
    float: right;
    display: block;
  }
  .topnav a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 10px;
}
.dropdown .dropbtn {
    font-size: 10px;
    border: none;
    outline: none;
    color: #black;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;

  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}



* {box-sizing: border-box;}
body {font-family: Verdana, sans-serif;}
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 95%;
  position: relative; /*relative*/
  margin: auto;

}
@media only screen and (max-width: 400px){
.slideshow-container {
  max-width: 100%;
  position: relative; /*relative*/
  margin: auto;

}
}

#slide{
    padding-top:5px;
    height:500px;
    margin-left:10%;
    margin-right:10%;
    width:80%;
}
@media only screen and (max-width: 1200px){
    #slide{
        padding-top:5px;
        height:350px;
        margin-left:10%;
        margin-right:10%;
        width:80%;
        }
}

@media only screen and (max-width: 400px){
    #slide{
    padding-top:5px;
    height:150px;
    margin-left:0%;
    margin-right:5%;
    width:100%
}
}


/* Caption text */
.text {
  color: #ff7f50;
  font-size: 15px;
  font-weight:bold;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width:24%;
  text-align: left;
  margin-right:20%;
  margin-left:56%;

}
@media only screen and (max-width: 400px){
    .text {
      color: #ff7f50;
      font-size: 15px;
      padding: 8px 12px;
      position: absolute;
      bottom: 8px;
      width:80%;
      text-align: left;
      margin-right:15%;
      margin-left:20%;
}
}
.fun{
    width:300px;
}
/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #00eeee;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #ff7f50;
}

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

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

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

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}

.container9{
    display:flex;
    justify-content: space-between;
    width:76%;
    margin-bottom:10px;
    margin-left:12%;
    margin-right:12%
}
#freeses{
    color:#ff7f50;
}
#freeimage{
    width:150px;
    height:150px;

}
@media only screen and (max-width: 600px){
    .container9{
    display:flex;
    flex-direction:column;
    width:90%;
    margin-bottom:10px;
    margin-left:5%;
    margin-right:5%
}
    #freeses{
    color:#ff7f50;
    padding-right:20px;
}
    #freeimage{
    width:100px;
    height:100px;


}

}


@media only screen and (max-width: 600px){
    .container9{
    display:flex;
    flex-direction:column;
    width:99%;
    margin-bottom:10px;
}
}
#free{
    background-color: blue;
    font-size:20px;
    color: red;
    width:400px;
    margin-left:auto;
}
@media only screen and (max-width: 400px) {
#free{
    background-color: blue;
    font-size:15px;
    color: red;
    width:200px;
    margin-left:auto;
}
}
.bod{
    display:flex;
    justify-content: space-between;
    width:99%;
    height:120px;
    color: #00eeee;
    margin-bottom:10px;
}
@media screen and (max-width: 500px){
.bod{
    display:flex;
    flex-direction: column;
    width:99%;
    height:350px;
    color: #00eeee;
    margin-bottom:10px;
}
}
@media screen and (max-width: 700px){
#disp{
    display: none;
}

}
.disp3{
    margin-left:20px;
    color:#00eeee;
}
@media screen and (min-width: 800px){
#disp2{
    display: none;

}

}
.footer{
    display:flex;
    justify-content: space-between;
    width:99%;
    height:160px;
    color: #00eeee;
    background:#1b1d49;
    margin-bottom:10px;
}

@media screen and (max-width: 500px){
.footer{
    display:flex;
    flex-direction: column;
    width:99%;
    height:450px;
    color: #00eeee;
    background:#1b1d49;
    margin-bottom:10px;
}
}

a{
    text-decoration:none;
}
 .lmenu{
    padding-left:20px;

 }
 @media screen and (max-width: 500px){
 .lmenu{
    padding-left:0px;

 }
 }
 ul{
    list-style-type: none;
 }
.mmenu{
    margin-bottom:20px;
    padding-bottom:20px;

}
 .rmenu{
 padding-right:20px;

 }

.lys{
    display:flex;
    justify-content: space-between;
    width:98%;
    margin-left:1%;
    margin-right:1%;
    margin-top:20px;
    margin-bottom:20px;
}
@media screen and (max-width: 400px){
.lys{
    display:flex;
    flex-direction: column;
    width:98%;
    margin-left:1%;
    margin-right:1%;
    margin-top:20px;
    margin-bottom:20px;

}
}

#links{
    padding-left:15%;
}
#regs{
    padding-right:15%;
}
@media screen and (max-width: 1400px){
#links{
    padding-left:5%;
}
#regs{
    padding-right:5%;
}
}
@media screen and (max-width: 1000px){
#links{
    padding-left:5px;
}
#regs{
    padding-right:5px;
}
}


#subhead{
    font-family: arial black;
}
#dream1{
    width:300px;
    height:300px;

}

@media screen and (max-width: 600px){
    #dream1{
    width:200px;
    height:200px;

}
}
.parg{
    width:50%;
    margin-left:25%;
    margin-right:25%;
}
.kontak{
    margin-left:25%;
}
#kolom{
    width:100%;
}
textarea{
    height:400px;
    width:450px;
}
@media screen and (max-width: 1300px){
    #dream{
    width:70%;
    height: 300px;
    margin-left:15%;
    margin-right:15%
}
.parg{
    width:50%;
    margin-left:25%;
    margin-right:25%;
}
.kontak{
    margin-left:25%;
}
}

@media screen and (max-width: 600px){
    #dream{
    width:90%;
    height: 300px;
    margin-left:5%;
    margin-right:5%
}
.parg{
    width:90%;
    margin-left:5%;
    margin-right:5%;
}
.kontak{
    margin-left:5%;
}
textarea{
    height:400px;
    width:200px;
}
}
.facebook {
  background: #3B5998;
  color: white;
}

.twitter {
  background: #55ACEE;
  color: white;
}

.instagram {
  background: radial-gradient(circle at 33% 100%, #fed373 4%, #f15245 30%, #d92e7f 62%, #9b36b7 85%, #515ecf);
  color: white;
}
.icon-bar2 {
  position: relative;
  padding-top:40px;
  bottom: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.icon-bar2 a {
  display: inline;
  text-align: center;
  padding: 16px;
  transition: all 0.3s ease;
  color: white;
  font-size: 20px;
}

.icon-bar2 a:hover {
  background-color: #000;
}

.facebook {
  background: #3B5998;
  color: white;
}

.twitter {
  background: #55ACEE;
  color: white;
}

.instagram {
  background: radial-gradient(circle at 33% 100%, #fed373 4%, #f15245 30%, #d92e7f 62%, #9b36b7 85%, #515ecf);
  color: white;
}

#containercon1{
    display:flex;
    justify-content: space-between;
    width:98%;
    margin-left:1%;
    margin-right:1%;
    margin-top:20px;
    margin-bottom:20px;
    padding-right:20px;
}
@media screen and (max-width: 800px){
#containercon1{
    display:flex;
    flex-direction: column;
    width:98%;
    margin-left:1%;
    margin-right:1%;
    margin-top:20px;
    margin-bottom:20px;

}
}
#dream3{
    padding-top:30px;
    width:400px;
    height:400px;
}
@media screen and (max-width: 1400px){
    #dream3{
    width:250px;
    height:250px;
}
}
