/* FONT*/

@font-face {
  font-family: "AvenirNextLTPro";
  src: url("../assets/fonts/AvenirNextLTPro-Regular-webfont.woff") format("woff"),
    url("../assets/fonts/AvenirNextLTPro-Medium-webfont.woff") format("woff"),
    url("../assets/fonts/AvenirNextLTPro-Bold-webfont.woff") format("woff");
}

html {
  scroll-behavior: smooth;
}

/* BODY */

body {
  position: relative;
  margin: 0;
  font-family: "AvenirNextLTPro";
  background-image: url("../assets/img/background-1-min.png");
}

/* HEADER */

header {
  position: sticky; 
  top: 0;
  z-index: 120;
  padding-top: 10px;
  background-color: rgb(234,225,217, 0.5);
  padding-bottom: 10px;
}

.desktop-header {
  display: flex;
  padding: 0 50px;
  justify-content: space-between;
}

.desktop-menu {
  display: none;
}

ul.nav {
  padding-left: 0px;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  color: #f1f1f1;
}

.desktop-logo {
  width: 100px;
}

.desktop-logo-1 {
  width: 300px;
}

main {
  padding: 16px;
}

/* MENU */

#burger-menu {
  cursor: pointer;
  height: 27px;
  width: 27px;
  margin: 15px 50px;
  margin-right: 30px;
  overflow: visible;
}
#burger-menu span,
#burger-menu span:before,
#burger-menu span:after {
  background: #000000;
  display: block;
  height: 4px;
  opacity: 1;
  position: relative;
  transition: 0.3s ease-in-out;
}
#burger-menu span:before,
#burger-menu span:after {
  content: "";
}
#burger-menu span {
  right: 0px;
  top: 13px;
  width: 27px;
}
#burger-menu span:before {
  left: 0px;
  top: -10px;
  width: 16px;
}
#burger-menu span:after {
  left: 0px;
  top: 10px;
  width: 20px;
}

#burger-menu.close span {
  transform: rotate(-45deg);
  top: 13px;
  width: 27px;
}
#burger-menu.close span:before {
  top: 0px;
  transform: rotate(90deg);
  width: 27px;
}
#burger-menu.close span:after {
  top: 0px;
  left: 0;
  transform: rotate(90deg);
  opacity: 0;
  width: 0;
}

#menu-wrapper {
  z-index: 120;
  min-height: 100%;
  position: fixed;
  left: 0;
  width: 75vw;
  visibility: hidden;
  opacity: 0;
  text-align: center;
  transition: all 0.3s ease-in-out;
  transform: translateX(-100%);
}

#menu-wrapper.overlay {
  visibility: visible;
  opacity: 1;
  background: rgba(0, 0, 0, 0.5);
  transform: translateX(0);
}

#menu-wrapper li {
  list-style: none;
}
#menu-wrapper a {
  color: #fff;
  display: block;
  font-size: 22px;
  padding: 10px;
  margin-bottom: 10px;
  text-decoration: none;
}

.container {  display: grid;

  grid-auto-flow: row;
  grid-template-areas:
    "sponsor-1 sponsor-1"
    "area-2 sponsor-4"
    "area-2 sponsor-5"
    "area-2 sponsor-6";
    margin-bottom: 0.5em;
}

.sponsor-1 { grid-area: sponsor-1; }

.sponsor-4 { grid-area: sponsor-4; }

.sponsor-5 { grid-area: sponsor-5; }

.sponsor-6 { grid-area: sponsor-6; }

.area-2 {  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "sponsor-2"
    "sponsor-3";
  grid-area: area-2;
}


.sponsor-2 { grid-area: sponsor-2; }

.sponsor-3 { grid-area: sponsor-3; }


.sponsor {
  width: 80px;
  margin: 0.2em;
  }

  .sponsor-vial {
    width: 100px;
  }

  .sponsor-vial-desktop {
    width: 150px;
  }

  .blueberry-menu {
    width: 200px;
  }

/*.sponsor-vial {
  grid-column: 1 / 3;
  grid-row: 1;
}*/

/*.sponsor-1 { grid-area: 1 / 1 / 2 / 3; }
.sponsor-2 { grid-area: 2 / 1 / 3 / 2; }
.sponsor-3 { grid-area: 2 / 2 / 3 / 3; }
.sponsor-4 { grid-area: 3 / 1 / 4 / 2; }
.sponsor-5 { grid-area: 3 / 2 / 4 / 3; }
.sponsor-6 { grid-area: 3 / 2 / 4 / 3; }*/


.sponsor-wrapper {
  display: none; 
}

/* SOCIALS */

.socials {
  display: flex;
  justify-content: space-between;
}

.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
}

.fa:hover {
  opacity: 0.7;
}

.fa-facebook {
  background: #3b5998;
  color: white;
}

.fa-twitter {
  background: #55acee;
  color: white;
}

.fa-instagram {
  background: #125688;
  color: white;
}

/* ASIDE */

.aside-wrapper {
  position: absolute;
  top: 0;
}

/* MAIN */

main {
  padding: 0;
  overflow: hidden;
}

/* SECTIONS */

section {
  margin-bottom: 100px;
}

section #home-link,
#about-link,
#gallery-link,
#actors-link {
  height: 96px;
}

/* HOME */

section#home {
  padding-top: 102px;
  margin-top: -50px;
}

.home-wrapper {
  position: relative;
}

/*.home-image{
  position: relative;
  background-image: url('../assets/img/image-1.png');
  background-size: 120%;
  margin-left: -200px;
  background-repeat: no-repeat;
}*/

.home-logo {
  position: absolute;
  z-index: 40;
  top: 5%;
  left: 25%;
  width: 50vw;
}

.home-image {
  position: relative;
  width: 150vw;
  left: -33%;
}

.home-image-text {
  position: absolute;
  width: 100vw;
  top: 65%;
  text-align: center;
  color: #ffffff;
  font-family: "AvenirNextLTPro";
}

.home-image-header {
  text-transform: uppercase;
  font-size: 24px;
  margin: 0;
  text-shadow:
		-1px -1px 0 #000,
		1px -1px 0 #000,
		-1px 1px 0 #000,
		1px 1px 0 #000;
}

.home-image-subheader {
  text-transform: uppercase;
  font-size: 12px;
  margin: 0;
  margin-bottom: 50px;
  text-shadow:
		-1px -1px 0 #000,
		1px -1px 0 #000,
		-1px 1px 0 #000,
		1px 1px 0 #000;
}

.home-trailer-link {
  text-decoration: none;
  cursor: pointer;
}

.home-trailer-link > a {
  text-decoration: none;
}

.home-trailer-text {
  width: fit-content;
  padding: 2px 12px;
  margin: 0 auto;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.5;
  text-transform: uppercase;
  background-color: #f0b146;
  color: #000000;
  border-radius: 5%;
}

.aldo-marku {
  text-shadow:
		-1px -1px 0 #000,
		1px -1px 0 #000,
		-1px 1px 0 #000,
		1px 1px 0 #000;
}

/* About */

.about-wrapper {
  margin: 20px;
}

h2.section-title {
  margin: 0 auto 30px;
  text-align: center;
}

.about-wrapper > p {
  font-size: 20px;
}



/* Gallery */

#gallery {
  width: 100vw;
}

.galleria {
  max-width: 400px;
  height: 300px;
  margin:0 auto;
  /*background: rgb(0, 0, 0, 0.7);*/
}

.galleria-wrapper {
  width: 70%;
  margin: 0 auto;
}

/* ACTORS */ 

.actors {
  display: none;
}

.actors-mobile {
  display: block;
}

.actors-wrapper {
  display: flex;
  flex-direction: column;
}

.actor-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
  margin-bottom: 4em;
}

.actor-card-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.actor-card:nth-child(even) {
  flex-direction: row-reverse;
}

.actor-card:nth-child(odd) > div.actor-text{
  text-align: right;
}

.actor-picture {
  width: 60%;
  max-width: 300px;
  border: 2px solid rgb(0, 0, 0, 0.7);
  border-radius: 50%;
}

.actor-text {
  width: 75%;
  margin: 0 auto;
}

.actor-name {
  font-size: 24px;
  font-weight: 600;
}

.actor-role {
  font-size: 16px;
  margin-bottom: 0.5em;
}

.actor-role-sub {
  margin-top: 0;
}

.actor-card > p {
  font-size: 20px;
  max-width: 40%;
}

.cameos {
  display: none;
}

.cameos-mobile {
  display: block;
}

/* FOOTER */

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 8em;
}

.powered-by {
  text-align: center;
  margin: 2em 0;
}

.vial-link {
  text-decoration: none;
  color: #913BD3;
}

.overlay-show {
  position: absolute;
  z-index: 200;
  background: rgba(0, 0, 0, 0.5);
  width: 100vw;
  height: 400vh;
}

#iframe-container {
  display: none;
}

.iframe-show {
  display: block !important;
  position: fixed;
  z-index: 300;
  margin: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

}

.html-body-toggle {
  overflow: hidden;
}


@media screen and (min-width: 424px) {
  .home-image-text {
    top: 68%;
  }
}

@media screen and (min-width: 800px) {

  .actors {
    display: block;
  }

  .actors-mobile {
    display: none;
  }

  .actor-picture {
    width: 40%;
    max-width: auto;
  }

  .actor-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1em;
    margin-bottom: 0em;
  }  

  .actor-text {
    width: auto;
  }

  section {
    max-width: 1024px;
    margin: 0 auto;
    overflow: visible;
  }

  #burger-menu {
    display: none;
  }

  .desktop-menu {
    width: max-content;
    display: flex;
    padding: 10px 0;
    margin-left: auto;
    align-items: center;
  }

  .desktop-menu > a {
    padding: 10px;
    text-decoration: none;
    color:rgba(0, 0, 0);
    margin-right: 15px;
    height: max-content;
    font-size: 1.2em;
    font-weight: 500;
  }

  section {
    margin-bottom: 140px;
  }
  .home-image-text {
    top: 75%;
    width: max-content;
    left: 50%;
    transform: translate(-50%, -70%);
  }

  h2.section-title {
    font-size: 34px;
    margin-bottom: 75px;
  }

  .about-wrapper > p {
    font-size: 28px;
  }

  .actors-wrapper {
    display: grid;
    grid-template-columns: auto auto; 
    row-gap: 2em;
    column-gap: 2em;
  }

  .home-image {
    position: absolute;
    top: 60%;
    left: 30%;
    transform: translate(-45%, -50%);
    width: 200%;
  }

  .home-logo {
    width: 300px;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  section#home {
    margin-bottom: 200px;
  }

  .desktop-header {
    width: 100%;
    max-width: 1443px;
    margin: 0 auto;
  }

  .home-image-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 700px;
  }

  .home-image-header {
    font-size: 36px;
  }

  .home-image-subheader {
    font-size: 24px;
  }

  .home-trailer-text {
    font-size: 24px;
  }

  .actors-wrapper {
    display: grid;
    grid-template-columns: auto; 
    grid-template-rows: auto;
    column-gap: 2em;
    row-gap: 0s;
  }

  .actor-card:nth-child(even) {
    margin-left: auto;
  }

  .actor-card:not(:first-child) {
    margin-top: -100px;
  }

  .actor-card {
    justify-content: flex-start;
    gap: 20px;
    margin: 0px 50px
  }

  .sponsor-wrapper {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: space-evenly; 
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1em;
    margin: 3em auto;
  }

  .cameos {
    display: block;
  }

  .cameos-mobile {
    display: none;
  }
}
