body {
    margin: auto;
    background-color: #e0d8f8;
  }
  @font-face {
    font-family: 'friends';
    src: url('font.ttf');
  }
  * {
    box-sizing: border-box;
  }
/*izrada stupaca*/
  .column1 {
    float: left;
    width: 50%;
    padding: 10px;
    height: 600px;
  }

  .row1:after {
    content: "";
    display: table;
    clear: both;
  }


  @media screen and (max-width: 600px) {
    .column1 {
      width: 100%;
      margin-top: -10px;7777
    }
  }

.naslov {
    margin-top: 20%;
    text-align: left;
    padding-left: 7%;
    padding-right: 24%;
    font-family: "Poppins", sans-serif;
  }

.tekst {
  text-align: left;
  padding-left: 7%;
  padding-right: 30%;
  padding-top: 3%;
  font-family: "Poppins", sans-serif;
}

.naslov1 {
  margin-top: 18%;
  text-align: left;
  padding-left: 34%;
  font-family: "Poppins", sans-serif;
}

.tekst1 {
text-align: left;
padding-left: 34%;
padding-right: 7%;
padding-top: 3%;
font-family: "Poppins", sans-serif;
}

.naslov-matt {
  margin-top: 18%;
  text-align: left;
  padding-left: 25%;
  font-family: "Poppins", sans-serif;
}

.tekst-matt {
text-align: left;
padding-left: 25%;
padding-right: 7%;
padding-top: 3%;
font-family: "Poppins", sans-serif;
}

.slika {
  border: 5px solid red;
  border-bottom: 40px solid white;
  height:200px;
  margin-top: 35%;
  box-shadow: 0 0 1.4em #0007;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.slika2 {
  border: 5px solid white;
  border-bottom: 40px solid white;
  height:350px;
  margin-top: 15%;
  box-shadow: 0 0 1.4em #0007;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.slika:hover {
  box-shadow: 5px 10px 100px black;
  -webkit-transform: scale(1.1, 1.1);
  z-index: 20;
}
.slika2:hover {
  box-shadow: 5px 10px 100px black;
  -webkit-transform: scale(1.1, 1.1);
  z-index: 20;
}

.slikaj:hover {
  box-shadow: 5px 10px 100px black;
  -webkit-transform: scale(1.1, 1.1);
  z-index: 20;
}

.slikar:hover {
  box-shadow: 5px 10px 100px black;
  -webkit-transform: scale(1.1, 1.1);
  z-index: 20;
}

.slikac:hover {
  box-shadow: 5px 10px 100px black;
  -webkit-transform: scale(1.1, 1.1);
  z-index: 20;
}

.slikam {
  border: 5px solid white;
  border-bottom: 40px solid white;
  height:450px;
  margin-top: 5%;
  box-shadow: 0 0 1.4em #0007;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.slikam:hover {
  box-shadow: 5px 10px 100px black;
  -webkit-transform: scale(1.1, 1.1);
  z-index: 20;
}

.slikac {
border: 5px solid white;
border-bottom: 40px solid white;
height:350px;
margin-top: 35%;
box-shadow: 0 0 1.4em #0007;
display: block;
margin-left: auto;
margin-right: auto;
}



  @media screen and (min-width: 300px) {
    .slika {
      border: 5px solid white;
      border-bottom: 40px solid white;
      height:350px;
      margin-top: 35%;
      box-shadow: 0 0 1.4em #0007;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
    .slikaj {
      border: 5px solid white;
      border-bottom: 40px solid white;
      height:350px;
      margin-top: 35%;
      box-shadow: 0 0 1.4em #0007;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
    .slikar {
      border: 5px solid white;
      border-bottom: 40px solid white;
      height:350px;
      margin-top: 35%;
      box-shadow: 0 0 1.4em #0007;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
    .slika2 {
      border: 5px solid white;
      border-bottom: 40px solid white;
      height:350px;
      box-shadow: 0 0 1.4em #0007;
      display: block;
      margin-left: auto;
      margin-right: auto;
  }
    .slikac {
    border: 5px solid white;
    border-bottom: 40px solid white;
    height:350px;
    margin-top: 35%;
    box-shadow: 0 0 1.4em #0007;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
  @media screen and (min-width: 450px) {
    .slika {
      border: 5px solid white;
      border-bottom: 40px solid white;
      height:350px;
      margin-top: 35%;
      box-shadow: 0 0 1.4em #0007;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
    .slikaj {
      border: 5px solid white;
      border-bottom: 40px solid white;
      height:350px;
      margin-top: 35%; ujj
      box-shadow: 0 0 1.4em #0007;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
    .slikar {
      border: 5px solid white;
      border-bottom: 40px solid white;
      height:350px;
      margin-top: 35%; ujj
      box-shadow: 0 0 1.4em #0007;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
    .slika2 {
      border: 5px solid white;
      border-bottom: 40px solid white;
      height:350px;
      margin-top: 15%;
      box-shadow: 0 0 1.4em #0007;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
    .slikac {
      border: 5px solid white;
      border-bottom: 40px solid white;
      height:350px;
      margin-top: 15%;
      box-shadow: 0 0 1.4em #0007;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
  }

  @media screen and (min-width: 600px) {
    .slika {
      border: 5px solid white;
      border-bottom: 40px solid white;
      height:140px;
      margin-top: 25%;
      box-shadow: 0 0 1.4em #0007;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
    .slikaj {
      border: 5px solid white;
      border-bottom: 40px solid white;
      height:280px;
      margin-top: 25%;
      box-shadow: 0 0 1.4em #0007;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
    .slikar {
      border: 5px solid white;
      border-bottom: 40px solid white;
      height:280px;
      margin-top: 25%;
      box-shadow: 0 0 1.4em #0007;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
    .slika2 {
      border: 5px solid white;
      border-bottom: 40px solid white;
      height:280px;
      margin-top: 25%;
      box-shadow: 0 0 1.4em #0007;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
    .slikac {
      border: 5px solid white;
      border-bottom: 40px solid white;
      height:280px;
      margin-top: 25%;
      box-shadow: 0 0 1.4em #0007;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
  }

  @media screen and (min-width: 900px) {
    .slika {
      border: 5px solid white;
      border-bottom: 40px solid white;
      height:450px;
      margin-top: 15%;
      box-shadow: 0 0 1.4em #0007;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
    .slikaj {
      border: 5px solid white;
      border-bottom: 40px solid white;
      height:380px;
      margin-top: 15%;
      box-shadow: 0 0 1.4em #0007;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }

    .slika2 {
      border: 5px solid white;
      border-bottom: 40px solid white;
      height:450px;
      margin-top: 5%;
      box-shadow: 0 0 1.4em #0007;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }

    .slikac {
      border: 5px solid white;
      border-bottom: 40px solid white;
      height:450px;
      margin-top: 15%;
      box-shadow: 0 0 1.4em #0007;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }

    .slikar {
      border: 5px solid white;
      border-bottom: 40px solid white;
      height:420px;
      margin-top: 5%;
      box-shadow: 0 0 1.4em #0007;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }

  }

  /*galerija glumac*/
  * {box-sizing:border-box}

  .slideshow-container {
    max-width: 450px;
    position: relative;
    margin: auto;
    border-style: solid;
    border-width: 20px 5px;
    margin-top: 40px;
    padding: 0px;
    height:490px;
  }

  .slideshow-container-joey {
    max-width: 450px;
    position: relative;
    margin: auto;
    border-style: solid;
    border-width: 20px 5px;
    margin-top: 40px;
    padding: 0px;
    height:430px;
  }

  .slideshow-container-monica {
    max-width: 550px;
    position: relative;
    margin: auto;
    border-style: solid;
    border-width: 20px 5px;
    margin-top: 40px;
    padding-bottom: -20px;
    height:420px;
  }

  .slideshow-container-chandler {
    max-width: 600px;
    position: relative;
    margin: auto;
    border-style: solid;
    border-width: 20px 5px;
    margin-top: 40px;
    height:365px;
  }

  .slideshow-container-phoebe{
    max-width: 400px;
    position: relative;
    margin: auto;
    border-style: solid;
    border-width: 20px 5px;
    margin-top: 40px;
    height:470px;
  }

  .slideshow-container-ross{
    max-width: 500px;
    position: relative;
    margin: auto;
    border-style: solid;
    border-width: 20px 5px;
    margin-top: 40px;
    height:400px;
  }
  /* Hide the images by default */
  .mySlides {
    display: none;

  }

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

  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }

  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
  }


  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }

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

  .active, .dot:hover {
    background-color: #9789c2;
  }

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

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

/*video*/
#video {
  display: block;
  margin: auto;
  width:630px;
  height:355px;
  margin-bottom: 80px;
  margin-top: 30px;
}


@media screen and (max-width: 970px) {
  #video {
    margin-left: 100px;
    width:500px;
    height:340px;
    display: block;
    margin: auto;
  }
}

  @media screen and (max-width: 670px) {
    #video {
      margin-left: 53px;
      width:480px;
      height:315px;
      display: block;
      margin: auto;
    }
  }

  @media screen and (max-width: 560px) {
    #video {
      margin-left: 43px;
      width:400px;
      height:280px;
      display: block;
      margin: auto;
    }
  }


/*NASLOV*/
.nf {
  font-size: 90px;
  text-align: center;
  color: #687bb1;
  font-family: 'friends';
  font-weight: 700;
  text-shadow: 5px 5px 0px #404040;
  padding-top: 100px;
  padding-bottom: -70px;
}
.nf:hover {
  shadow: 5px 10px 100px black;
  -webkit-transform: scale(1.1, 1.1);
  z-index: 20;
}

.nfz {
  font-size: 90px;
  text-align: center;
  color: #a878ba;
  font-family: 'friends';
  font-weight: 700;
  text-shadow: 5px 5px 0px #404040;
  padding-top: 100px;
  padding-bottom: -70px;
}

  @media screen and (max-width: 500px){
    .nf {
      font-size: 70px;
      text-align: center;
      color: #687bb1;
      font-family: 'friends';
      font-weight: 700;
      text-shadow: 5px 5px 0px #404040;
      padding-top: 100px;
      padding-bottom: -70px;
    }
    .nfz {
      font-size: 70px;
      text-align: center;
      color: #a878ba;
      font-family: 'friends';
      font-weight: 700;
      text-shadow: 5px 5px 0px #404040;
      padding-top: 100px;
      padding-bottom: -70px;
    }
  }


.nfz:hover {
  shadow: 5px 10px 100px black;
  -webkit-transform: scale(1.1, 1.1);
  z-index: 20;
}

/*karta na kojoj je prikazana lokacija stana */
#karta{
width:600px;
height:450px;
border:dotted 7px;
color:#7a68b1;
display: block;
margin:auto;
padding: 10px;
margin-top: 80px;
margin-bottom: 70px;
};
