@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@200&display=swap");
/* Basic styling */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  font-family: sans-serif;
  font-size: 16px;
}
nav {
  background: #222;
  padding: 0 15px;
  font-family: "Kanit", sans-serif;
  font-weight: bold;
  position: relative;
  z-index: 999;
}
a {
  color: white;
  text-decoration: none;
}
.menu,
.submenu {
  list-style-type: none;
}
.logo {
  font-size: 20px;
  padding: 7.5px 10px 7.5px 0;
  display: flex;
  align-items: center;
}
.item {
  padding: 10px;
}
.item.button {
  padding: 9px 5px;
}
.item:not(.button) a:hover,
.item a:hover::after {
  color: #ccc;
}

.menu li a:hover {
  cursor: pointer;
}

/* Mobile menu */
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

#logo-name {
  display: none;
}
.menu li a {
  display: block;
  padding: 15px 5px;
}
.menu li.subitem a {
  padding: 15px;
}
.toggle {
  order: 1;
  font-size: 20px;
}
.item.button {
  order: 2;
}
.item {
  order: 3;
  width: 100%;
  text-align: center;
  display: none;
}
.active .item {
  display: block;
}
.button.secondary {
  /* divider between buttons and menu links */
  border-bottom: 1px #444 solid;
}
/* Submenu up from mobile screens */
.submenu {
  display: none;
}
.submenu-active .submenu {
  display: block;
}
.has-submenu i {
  font-size: 12px;
}
.has-submenu > a::after {
  font-family: "Font Awesome 5 Free";
  font-size: 12px;
  line-height: 16px;
  font-weight: 900;
  content: "\f078";
  color: white;
  padding-left: 5px;
}
.subitem a {
  padding: 10px 15px;
}
.submenu-active {
  background-color: #111;
  border-radius: 3px;
}

/*ONAJ DIO*/
.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 160px;
  overflow: hidden;
  font-family: "Lato", sans-serif;
  font-size: 32px;
  /*line-height: 40px;*/
  color: #ecf0f1;
  width: 100%;
  text-align:center;
}

.content h1 {
  text-align: center;
  font-size: 3rem;
}
.content__container {
  /*font-weight: 600;*/
  overflow: hidden;
  height: 20%;
  /*padding: 0 40px;*/
}

.content__container:after,
.content__container:before {
  position: absolute;
  top: 0;
  color: #16a085;
  font-size: 62px;
  line-height: 20px;
  -webkit-animation-name: opacity;
  -webkit-animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  animation-name: opacity;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.content__container__list {
  margin-top: 0;
  /*padding-left: 110px;*/
  text-align: center;
  list-style: none;
  font-size: 1.2rem;
  -webkit-animation-name: change;
  -webkit-animation-duration: 10s;
  -webkit-animation-iteration-count: infinite;
  animation-name: change;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  width: 100%;
}
.content__container__list__item {
  line-height: 40px;
  margin: 0;
}

.landing-open {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.landing-logo img {
  max-width: 180px;
}

.landing-open h5 {
  text-align: center;
  font-size: 1.5rem;
  color: #ffffff;
}

.landing-open:hover {
  cursor: pointer;
}

.flex-container {
  width: 100%;
  min-height: 400px;
  gap: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.setnje-main-heading {
  text-align: center;
  padding-top: 5%;
  padding-bottom: 7%;
  font-size: 2em;
  font-family: Kanit, sans-serif;
}

.contact-map-details {
  width: 100%;
  font-family: Kanit, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-map-details > :first-child {
  width: 100%;
  display: flex;

  flex-direction: column;
  text-align: center;
  padding: 0 10px 10px 10px;
  font-family: Kanit, sans-serif;
  font-size: 1.3rem;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-map-details > :nth-child(2) {
  height: 90vh;
  width: 100%;
  padding-bottom: 20px;
}

#logo_kontakt {
  margin-top: 50px;
  max-width: 150px;
}

.footer-container {
  width: 100%;
  text-align: center;
  font-family: "Kanit", sans-serif;
  font-size: 0.9rem;
}
.sponsors-container {
  position: absolute;
  width: 150px;
  bottom: 6px;
  z-index: 999;
  left: 50%;
  -webkit-transform: translate(-50%);
  -moz-transform: translate(-50%);
  -ms-transform: translate(-50%);
  -o-transform: translate(-50%);
  transform: translate(-50%);
}

@-webkit-keyframes opacity {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
@-webkit-keyframes change {
  0%,
  12.66%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  16.66%,
  29.32% {
    transform: translate3d(0, -25%, 0);
  }
  33.32%,
  45.98% {
    transform: translate3d(0, -50%, 0);
  }
  49.98%,
  62.64% {
    transform: translate3d(0, -75%, 0);
  }
  66.64%,
  79.3% {
    transform: translate3d(0, -50%, 0);
  }
  83.3%,
  95.96% {
    transform: translate3d(0, -25%, 0);
  }
}
@keyframes opacity {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
@keyframes change {
  0%,
  12.66%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  16.66%,
  29.32% {
    transform: translate3d(0, -25%, 0);
  }
  33.32%,
  45.98% {
    transform: translate3d(0, -50%, 0);
  }
  49.98%,
  62.64% {
    transform: translate3d(0, -75%, 0);
  }
  66.64%,
  79.3% {
    transform: translate3d(0, -50%, 0);
  }
  83.3%,
  95.96% {
    transform: translate3d(0, -25%, 0);
  }
}

/* Tablet menu */
@media all and (min-width: 700px) {
  .menu {
    justify-content: center;
  }
  .logo {
    flex: 1;
    display: flex;
    align-items: center;
  }
  .item.button {
    width: auto;
    order: 1;
    display: block;
  }
  .toggle {
    flex: 1;
    text-align: right;
    order: 2;
  }
  /* Button up from tablet screen */
  .menu li.button a {
    padding: 10px 15px;
    margin: 5px 0;
  }
  .button a {
    background: #0080ff;
    border: 1px royalblue solid;
  }
  .button.secondary {
    border: 0;
  }
  .button.secondary a {
    background: transparent;
    border: 1px #0080ff solid;
  }
  .button a:hover {
    text-decoration: none;
  }
  .button:not(.secondary) a:hover {
    background: royalblue;
    border-color: darkblue;
  }

  .content h1 {
    font-size: 5rem;
  }

  .content__container__list {
    font-size: 1.7rem;
  }

  #logo-name {
    display: block;
  }

  .flex-container {
    flex-direction: row;
  }
  .setnje-main-heading {
    text-align: center;
    padding-top: 5%;
    padding-bottom: 7%;
    font-size: 3em;
    font-family: Kanit, sans-serif;
  }
  .landing-logo img {
    max-width: 260px;
  }
  .contact-map-details {
    flex-direction: row;
  }

  .contact-map-details > :first-child,
  .contact-map-details > :nth-child(2) {
    flex: 1;
  }
}

/* Desktop viewport */
@media all and (min-width: 960px) {
  .menu {
    align-items: flex-start;
    flex-wrap: nowrap;
    background: none;
  }
  #logo-name {
    display: block;
  }
  .logo {
    order: 0;
    display: flex;
    align-items: center;
  }
  .item {
    order: 1;
    position: relative;
    display: block;
    width: auto;
  }
  .button {
    order: 2;
  }
  .submenu-active .submenu {
    display: block;
    position: absolute;
    left: 0;
    top: 68px;
    background: #111;
  }
  .toggle {
    display: none;
  }
  .submenu-active {
    border-radius: 0;
  }
  .content h1 {
    font-size: 7rem;
  }

  .content__container__list__item {
    line-height: 30px;
  }
  .flex-container {
    flex-direction: row;
  }
  .setnje-main-heading {
    text-align: center;
    padding-top: 5%;
    padding-bottom: 7%;
    font-size: 3em;
    font-family: Kanit, sans-serif;
  }

  .contact-map-details {
    margin-top: 100px;
    width: 100vw;

    font-family: Kanit, sans-serif;
  }

  .landing-logo img {
    max-width: 260px;
  }
  .contact-map-details {
    flex-direction: row;
  }
  .contact-map-details {
    margin-top: 0;
  }

  /*.footer-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }*/
}

@media screen and (max-width: 1008px) and (min-width: 960px) {
  .content h1 {
    font-size: 5rem;
  }
}

@media all and (max-width: 1080px) {
  .landing-logo img {
    max-width: 210px;
  }
}

@media all and (min-width: 1024px) {
  .landing-open {
    bottom: 6%;
  }
}

@media screen and (max-height: 650px) {
  .sponsors-container {
    max-width: 125px;
  }

  .landing-logo img {
    max-width: 150px;
  }
  .content h1 {
    font-size: 2.6rem;
  }
  .landing-open {
    bottom: 6%;
  }
}

@media screen and (max-height: 550px) {
  .landing-logo img {
    max-width: 100px;
  }

  .landing-open {
    bottom: 0;
  }

  .sponsors-container {
    max-width: 95px;
  }
}

/*ANIMACIJE*/
.fade-in-fwd {
  -webkit-animation: fade-in-fwd 1.2s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: fade-in-fwd 1.2s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

@-webkit-keyframes fade-in-fwd {
  0% {
    -webkit-transform: translateZ(-80px);
    transform: translateZ(-80px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    opacity: 1;
  }
}
@keyframes fade-in-fwd {
  0% {
    -webkit-transform: translateZ(-80px);
    transform: translateZ(-80px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    opacity: 1;
  }
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* HOME CONTAINER */

.home-container {
  width: 100%;
  height: 100vh;
  background: lightblue;
  overflow: hidden;
}

/* INTRO VIDEO*/
.intro-video {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 998;
  overflow: hidden;
  background: #000000;
}

.intro-video video {
  width: 100%;
  max-width: 100%;
  height: 100vh;
  object-fit: contain;
}

/* LANDING DIO */
.landing-logo {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.landing-logo img {
  filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 1));
}

.landing-container {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("./img/intro.webp");
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
}

/* CONTACT FORM */
input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type="submit"] {
  background-color: #a0b6f7;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #8aa5f8;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0 0 0;
  flex-direction: column;
  width: 100%;
}
.contact-body {
  height: 100%;
}

.contact-container-heading {
  display: flex;
  justify-content: center;
}

.contact-container-heading h1 {
  font-size: 3em;
  padding-bottom: 20px;
}

.close-button {
  width: 56px;
  height: 56px;
  position: absolute;
  top: 10%;
  right: 5%;
  z-index: 999;
  vertical-align: middle;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-button img {
  width: 100%;
  height: 100%;
}

.close-button:hover {
  cursor: pointer;
}

/* OPĆENITI CLASSOVI */
.responsive {
  width: 100%;
  height: auto;
}

.setnja-one img,
.setnja-two img,
.setnja-three img {
  max-width: 600px;
}

#setnje-main {
  width: 100%;
  height: 100%;
}

.about-text-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

.div1 {
  grid-area: 1 / 1 / 2 / 3;
}

#about-uvod {
  padding: 0 40px;
  font-family: "Kanit", sans-serif;
  font-size: 1.6rem;
}

.footer-container {
  width: 100%;
  text-align: center;
  font-family: "Kanit", sans-serif;
  padding-bottom: 15px;
}

#footer-link {
  color: #b59254 !important;
}

#footer-link:hover {
  color: rgb(235, 17, 17) !important;
}

#closeIntroVideo {
  width: 60px;
  height: 60px;
  position: absolute;
  top: 10%;
  left: 5%;
  z-index: 999;
  vertical-align: middle;
  display: flex;
  justify-content: center;
  align-items: center;
}

#closeIntroVideo:hover {
  cursor: pointer;
}

#closeIntroVideo img {
  filter: invert(100%);
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: #ffffff;
}
