@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;

  padding: 0;

  box-sizing: border-box;

  font-family: "Roboto Slab";
}

.preload * {
  -webkit-transition: none !important;

  -moz-transition: none !important;

  -ms-transition: none !important;

  -o-transition: none !important;

  transition: none !important;
}

html {
  scroll-behavior: smooth;
}

/*  */

/* HERO */

/*  */

.hero {
  display: flex;

  height: 100vh;

  position: relative;

  font-weight: 500;
}

.hero-logo {
  width: 175px;

  border-radius: 50%;

  margin-bottom: 25px;

  transition: width 1s;
}

.hero .left {
  width: calc(100% - 300px);

  position: relative;
}

.hero-overlay {
  width: 100%;

  height: 100%;

  position: absolute;

  top: 0;

  left: 0;

  background-color: #f9a825;

  opacity: 0.75;
}

.hero-scroll {
  position: absolute;

  bottom: 0;

  left: 50%;

  transform: translate(-50%, -5px);

  z-index: 2;

  font-size: 50px;

  line-height: 40px;

  color: #fff;

  animation: blinking 2s linear 0;

  animation-iteration-count: infinite;

  cursor: pointer;

  font-weight: 700;
}

@keyframes blinking {
  0% {
    color: #fff;

    transform: translate(-50%, -5px);
  }

  50% {
    color: #000;

    transform: translate(-50%, -30px);
  }

  100% {
    color: #fff;

    transform: translate(-50%, -5px);
  }
}

.hero-img {
  width: 100%;

  height: 100%;

  background-image: url("../img/home.jpg");

  background-attachment: fixed;

  background-position: center;

  background-repeat: no-repeat;

  background-size: cover;
}

.hero .right {
  width: 300px;
}

.main-nav {
  width: 500px;

  height: 500px;

  position: absolute;

  right: 0;

  top: 100px;

  padding: 50px 25px;

  background-color: #fff;

  text-align: center;

  transition: width 1s, height 1s, padding 1s;
}

.main-nav.sticky {
  display: flex !important;

  justify-content: space-between;

  align-items: center;
}

.hero-name {
  font-size: 50px;

  color: #f9a825;
}

.nav {
  display: flex;

  margin-top: 40px;
}

.nav-entry {
  width: calc(100% / 3);
}

.sticky {
  position: fixed;

  top: 0;

  width: 100%;

  height: 150px;

  padding: 25px;

  border-bottom: 5px solid #f9a825;

  box-shadow: 0 0 15px #555;

  z-index: 6;
}

.nav-icon {
  color: #f9a825;

  width: 60px;

  height: 60px;

  cursor: pointer;

  position: relative;

  z-index: 1;
}

.nav-entry p {
  visibility: hidden;

  color: #f9a825;

  font-weight: 700;

  opacity: 0;

  transform: translate(0, -100%);

  transition: opacity 0.5s, transform 0.5s;

  position: relative;

  z-index: 0;

  user-select: none;
}

.nav-entry:hover p {
  visibility: visible;

  opacity: 1;

  transform: translate(0, 0);
}

.hero-logo-container {
  position: relative;
}

.sticky .hero-name {
  font-size: 41px;
}

.sticky .hero-company {
  display: flex;

  align-items: center;

  height: 100%;
}

.sticky .hero-logo {
  margin: 0 50px 0 0;

  width: 100px;
}

.sticky .nav {
  width: 400px;

  margin-top: 20px;
}

.sticky .socials {
  right: 10px;

  height: 100px;

  top: 5px;
}

.sticky .socials .nav-icon {
  width: 30px;

  height: 30px;

  margin: 2px 0;
}

.socials {
  position: absolute;

  right: 55px;

  top: 0;

  display: flex;

  flex-direction: column;

  justify-content: center;

  height: 175px;
}

.socials .nav-icon {
  width: 35px;

  height: 35px;

  color: #ccc;

  margin: 5px 0;
}

.socials .nav-icon:hover {
  color: #000;
}

.socials .nav-entry {
  width: unset;
}

.socials .nav-entry p {
  color: #000;

  font-size: 14px;
}

/*  */

/* ABOUT US */

/*  */

.about-us {
  padding: 50px 0 0 0;
}

.about-text,
.about-motto {
  width: 800px;

  margin: 0 auto;

  text-align: center;

  font-size: 25px;
}

.about-motto {
  font-size: 30px;

  font-weight: 700;

  color: #f9a825;

  margin: 50px auto 0 auto;
}

.about-text span {
  font-weight: 700;
}

.about-content {
  padding: 50px 0;
}

.about-line {
  width: 80%;

  margin: 0 auto;

  height: 10px;

  border: 5px dashed #f9a825;
}

.about-container {
  width: 1000px;

  margin: 50px auto;

  display: flex;

  flex-wrap: wrap;
}

.about-container p {
  width: calc(100% / 3);

  text-align: center;

  font-size: 25px;

  color: #f9a825;

  font-weight: 700;
}

.about-2 {
  margin-top: 20px;
}

.about-3 {
  margin-top: 40px;
}

.about-4,
.about-7 {
  margin-top: 20px;
}

.about-5,
.about-8 {
  margin-top: 40px;
}

.about-6,
.about-9 {
  margin-top: 60px;
}

/*  */

/* GALLERY */

/*  */

.photo-overlay {
  position: fixed;

  top: 0;

  left: 0;

  width: 100vw;

  height: 100vh;

  background-color: rgba(0, 0, 0, 0.75);

  cursor: pointer;

  display: flex;

  justify-content: center;

  align-items: center;

  z-index: 50;
}

.photo-overlay > div {
  position: relative;
}

.photo-overlay img {
  max-width: 85vw;

  max-height: 85vh;

  object-fit: cover;

  border: 5px dashed #f9a825;
}

.photo-overlay p {
  padding: 15px;

  position: absolute;

  bottom: 9px;

  left: 5px;

  width: calc(100% - 10px);

  color: #fff;

  background-color: rgba(0, 0, 0, 0.75);

  opacity: 0.9;

  font-size: 14px;
}

.gallery {
  padding: 50px 0;
}

.gallery-margin {
  margin: 75px 0;
}

.photo-container-4,
.photo-container-3 {
  width: 1200px;

  margin: 0 auto;

  display: flex;

  justify-content: space-between;
}

.photo-container-4,
.photo-container-3 {
  margin-bottom: 26px;
}

.photo-single {
  object-fit: cover;

  cursor: pointer;

  max-width: 400px;

  max-height: 300px;

  position: relative;
}

.photo-single p {
  position: absolute;

  bottom: 0;

  left: 0;

  background-color: rgba(0, 0, 0, 0.75);

  opacity: 0.9;

  font-size: 14px;

  width: 100%;

  color: #fff;

  padding: 5px;

  height: 28px;

  overflow: hidden;

  vertical-align: top;
}

.photo-single img {
  object-fit: cover;

  cursor: pointer;

  width: 100%;

  height: 100%;
}

.photo-single:hover {
  border-width: 7px !important;
}

.photo-container-4 .photo-single {
  width: 280px;

  height: 210px;

  border: 5px dashed #f9a825;
}

.photo-container-3 .photo-single {
  width: 383px;

  height: 298px;

  border: 5px dashed #f9a825;
}

/*  */

/* CONTACT */

/*  */

.contact {
  padding: 50px 0 0 0;

  display: flex;

  width: 1000px;

  margin: 0 auto;

  justify-content: space-between;
}

.contact .left {
  width: 30%;

  display: flex;

  justify-content: flex-end;

  align-items: center;

  padding-right: 50px;
}

.contact .right {
  width: 70%;

  padding: 75px 0 0 0;
}

.contact-icon-big {
  color: #f9a825;

  width: 300px;

  height: 300px;
}

.contact-motto {
  text-align: center;

  font-size: 25px;

  margin-bottom: 50px;
}

.contact-entry {
  display: flex;

  align-items: center;

  margin-bottom: 10px;

  text-decoration: none;

  color: #8e44ad;
}

.contact-icon {
  width: 50px;

  height: 50px;

  color: #f9a825;
}

.contact-info {
  width: calc(100% - 50px);

  display: flex;

  justify-content: center;

  font-weight: 700;

  font-size: 40px;
}

.from-top {
  margin-top: 75px;
}

@media only screen and (max-width: 1249px) {
  .photo-container-4,
  .photo-container-3 {
    width: 800px;

    margin-bottom: 10px !important;
  }

  .photo-container-4 .photo-single {
    width: 190px;
  }

  .photo-container-3 .photo-single {
    width: 260px;
  }

  .contact {
    width: 800px;
  }

  .contact-info {
    font-size: 30px;
  }
}

@media only screen and (max-width: 1024px) {
  .about-text {
    width: 550px;

    font-size: 22px;
  }

  .about-container {
    width: 650px;
  }

  .about-motto {
    width: 550px;
  }

  .contact-icon-big {
    width: 200px;

    height: 200px;
  }

  .sticky .nav {
    width: 250px;

    margin-top: 50px;
  }

  .sticky .nav-icon {
    width: 40px;

    height: 40px;
  }
}

@media only screen and (max-width: 879px) {
  .photo-container-4,
  .photo-container-3 {
    width: 95%;

    margin-bottom: 0 !important;
  }

  .photo-container-4 {
    flex-wrap: wrap;
  }

  .photo-container-3 {
    display: block;
  }

  .photo-container-3 .photo-single {
    width: 100%;

    max-width: 400px;

    display: block;
    height: calc(100vw / 2 - 15px);

    margin: 0 auto 5% auto;
  }

  .photo-container-4 .photo-single {
    width: calc(99vw / 2 - 20px);

    max-width: 400px;
    min-width: 145px;
    height: calc(100vw / 2 - 15px);

    margin-bottom: 5%;
  }

  .contact {
    width: 95%;

    display: block;

    position: relative;
  }

  .contact .left {
    position: absolute;

    top: -110px;

    left: -25px;
  }

  .contact .right {
    width: 100%;

    padding: 0;
  }

  .contact-entry {
    display: block;
  }

  .contact-icon {
    margin: 0 auto 15px auto;

    display: block;
  }

  .contact-motto {
    font-size: 18px;
  }

  .contact-info {
    width: 100%;

    font-size: 20px;

    margin-bottom: 15px;
  }

  .about-text {
    width: 95%;

    font-size: 20px;
  }

  .about-container {
    width: 95%;
  }

  .about-container p {
    width: 100%;

    margin-top: 0 !important;

    margin-bottom: 10px;

    font-size: 25px;
  }

  .about-motto {
    width: 95%;

    font-size: 20px;
  }

  .hero .left {
    width: 75%;
  }

  .hero .right {
    width: 25%;
  }

  .main-nav {
    width: 300px;

    top: 45px;

    z-index: 3;
  }

  .sticky {
    width: 100%;
  }

  .hero-name {
    font-size: 25px;
  }

  .sticky.main-nav {
    top: 0;

    padding: 0;
  }

  .sticky .hero-logo {
    width: 90px;

    height: 90px;

    margin: 5px 0 5px 0;
  }

  .sticky .hero-logo-container {
    padding-left: 10px;

    display: block;
  }

  .sticky .hero-name {
    font-size: 25px;
  }

  .sticky .socials {
    width: 120px;
  }

  .socials {
    position: static;

    flex-direction: row;

    height: unset !important;
  }

  .socials .nav-entry {
    width: calc(100% / 3);
  }

  .nav-icon {
    width: 50px;

    height: 50px;
  }

  .photo-overlay img {
    max-width: 99%;
  }

  .sticky .hero-mobile-hidden {
    display: none;
  }
}
