/* fonts */
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400&display=swap");
/* css variables */
:root {
  --primaryColor: #fd9644;
  --mainWhite: #fff;
  --offWhite: #f7f7f7;
  --mainBlack: #222;
  --mainGrey: #d1d8e0;
  --darkGrey: #778ca3;
  --mainTransition: all 0.3s ease-in;
  --mainSpacing: 0.25rem;
  --lightShadow: 2px 5px 3px 0px rgba(0, 0, 0, 0.25);
  --darkShadow: 4px 10px 5px 0px rgba(0, 0, 0, 0.5);

  --navbar-height: 92px;
}
/* reset */
*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.clearfix {
  display: inline-block;
}
/* Hides from IE-mac \*/
* html .clearfix {
  height: 1%;
}
.clearfix {
  display: block;
}
/* End hide from IE-mac */

/* body */
body {
  font-family: "Lato", sans-serif;
  color: var(--mainBlack);
  background: var(--mainWhite);
  line-height: 1.4;
  font-size: 1rem;
  overflow-x: hidden;
}
/* ------------- global styles ------------- */

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://filedn.eu/lnu6Y35q5oK8Eqd5aMedgyk/wedding/photo_2020-10-19_22-48-15%20%283%29.jpg") center/cover no-repeat;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  margin-bottom: 1.25rem;
  letter-spacing: var(--mainSpacing);
}
h1 {
  font-size: 3.3rem;
}
h2 {
  font-size: 2.3rem;
}
h3 {
  font-size: 2rem;
}
h4 {
  font-size: 1.2rem;
}
p {
  margin-bottom: 1.25rem;
  line-height: 2;
  font-weight: 300;
}
a {
  text-decoration: none;
}
/* more global styles */
/* buttons */
.btn-white,
.btn-primary {
  text-transform: uppercase;
  letter-spacing: var(--mainSpacing);
  color: var(--mainWhite);
  border: 2px solid var(--mainWhite);
  padding: 0.9rem 1.6rem;
  display: inline-block;
  transition: var(--mainTransition);
  cursor: pointer;
}
.btn-white:hover {
  background: var(--mainWhite);
  color: var(--mainBlack);
}
.btn-primary {
  background: var(--primaryColor);
  color: var(--mainWhite);
  border: 2px solid var(--primaryColor);
}
.btn-primary:hover {
  background: transparent;
  color: var(--primaryColor);
}
/* section */
.section {
  padding: 5rem 0 0 0;
}
/* title */
.title-wrapper {
  margin-bottom: 2rem;
  padding: 0 2rem;
}
.title {
  text-align: center;
  text-transform: uppercase;
  font-weight: 300;
  font-size: 2.6rem;
}
.subtitle {
  text-align: center;
  line-height: 30px;
  text-transform: uppercase;
}
/* section center */
.section-center {
  width: 85vw;
  margin: 4rem auto 2rem auto;
  max-width: 1170px;
}
@media screen and (max-width: 768px) {
  .title {
    font-size: 1.8rem;
  }
}

/* ------------- end of global styles ------------- */
/* ------------- arrow to the top ------------- */
.arrow {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  background-color: white;
  padding: 1rem;
  border-radius: 50%;
  opacity: 0.8;
  cursor: pointer;
}

.arrow img {
  height: 40px;
  transform: rotate(270deg);
}


/* ------------- navbar ------------- */
/* add :not(.nav-logo) to img */

.nav-icons {
  display: none;
}
.nav-center {
  max-width: 1170px;
  margin: 0 auto;
}
.nav-logo {
  text-align: center;
  text-transform: capitalize;
  font-weight: 300;
  font-size: 1.3rem;
}
.nav-header {
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-toggle {
  background: transparent;
  border: none;
  outline: none;
  font-size: 1.5rem;
  color: var(--primaryColor);
  cursor: pointer;
  transition: var(--mainTransition);
}
.nav-toggle:hover {
  transform: scale(1.2);
}
.nav-link {
  display: block;
  padding: 1rem 2rem;
  color: var(--mainBlack);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: var(--mainSpacing);
  transition: var(--mainTransition);
}
.nav-link:hover {
  color: var(--primaryColor);
  background: var(--darkGrey);
  padding-left: 2.25rem;
}
/* nav toggle functionality */
.nav-links {
  height: 0;
  overflow: hidden;
  transition: var(--mainTransition);
}
.show-links {
  height: 270px;
}

/* nav at bigger screen size */
@media screen and (min-width: 992px) {
  /* hide nav toggle button */
  .nav-toggle {
    display: none;
  }
  /* show links */
  .nav-links {
    height: auto;
    display: flex;
  }
  .nav-center {
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* optional */
    flex-wrap: wrap;
  }
  .nav-header {
    padding: 0 0;
  }
  .nav-link {
    padding: 0 0;
    margin-left: 15px;
  }
  .nav-link:hover {
    padding: 0;
    background: transparent;
  }
  .nav-icons {
    display: flex;
  }
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--mainWhite);
    transition: var(--mainTransition);
    box-shadow: var(--lightShadow);
    z-index: 1;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
  }
  .nav-center {
    width: 100%;
    max-width: 1170px;
  }
  .nav-link {
    margin-right: 0.7rem;
  }
  .nav-icon {
    margin-right: 0.7rem;
    color: var(--primaryColor);
    font-size: 1.2rem;
    transition: var(--mainTransition);
  }
  .nav-icon:hover {
    color: var(--darkGrey);
    transform: translateY(-10%);
  }

}
.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--mainWhite);
  transition: var(--mainTransition);
  box-shadow: var(--lightShadow);
  z-index: 1;
}
/* ------------- end of navbar ------------- */
/* ------------- hero ------------- */
.hero {
  margin-top: var(--navbar-height);
  min-height: 100vh;
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-banner {
  text-align: center;
  color: var(--mainWhite);
  padding: 0 2rem;
}
.hero-title {
  font-size: 4.5rem;
  text-transform: uppercase;
  font-weight: 100;
  margin-bottom: 2rem;
  letter-spacing: 0.4rem;
}
.hero-text {
  width: 85%;
  margin: 0 auto 2rem auto;
  letter-spacing: var(--mainSpacing);
  line-height: 2;
  font-weight: 400;
}
@media screen and (max-width: 992px) {
  .hero {
    margin-top: 0;
  }
}
@media screen and (max-width: 768px) {

  .hero-title {
    font-size: 2.0rem;
  }
  .hero-text {
    width: 70%;
  }
}
/* --------- events ---------- */
.events-center {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5rem;
}
.events {
  margin: 5px;
  text-align: center;
}
.events-title {
  text-transform: uppercase;
}
.events-text {
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 300;
}
@media screen and (max-width: 768px) {
  .events-center {
    flex-direction: column;
  }
  .events {
    margin: 25px 0;
    width: 100%;
  }
}
/* --------- gallery ---------- */
.gallery {
  background: rgb(206, 206, 206);
  padding-bottom: 5rem;
}

.container {
  width: 100%;
  height: 100%;
}
.trans {
  transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  -webkit-transition: all 1s ease;
}
.top {
  width: 1200px;
  margin: 10vh auto;
}

.top ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  list-style: none;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 1200px) {
  
  .top {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .gallery {
    background: #fff;
    padding-bottom: 0;
  }
}

.top ul li {
  position: relative;
  overflow: hidden;
}

.top ul li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  content: '';
  color: white;
  opacity: 0.4;
  text-align: center;
  box-sizing: border-box;
  pointer-events: none;
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
}

@media screen and (max-width: 500px) {
  .top ul li::before {
    background-color: transparent;
  }
}
@media screen and (min-width: 500px) {
  .top ul li:hover::before {
    opacity: 0;
    background-color: rgba(0,0,0,0.90);
  }
}


.top ul li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.75);
  opacity: 0;
  pointer-events: none;
}
.lightbox img
{
  max-width: 90%;
  max-height: 100%;
  position: relative;
  top: -100%;
  /* Transition */
  transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  -webkit-transition: all 1s ease;
}
.lightbox:target
{
  outline: none;
  top: 0;
  opacity: 1;
  pointer-events: auto;
  transition: all 1.2s ease;
  -moz-transition: all 1.2s ease;
  -ms-transition: all 1.2s ease;
  -o-transition: all 1.2s ease;
  -webkit-transition: all 1.2s ease;
}
.lightbox:target img
{
  top: 0;
  top: calc(50% + calc(var(--navbar-height) / 2 ));
  height: auto;
  transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

/* --------- contact ---------- */
.contact {
  background-color: var(--mainWhite);
  min-height: 100vh;
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.tel {
  font-size: 2rem;
}
/* --------- footer ---------- */
.footer {
  padding: 20px 0;
  background-color: var(--mainBlack);
  color: var(--mainWhite);
  text-align: center;
}

@media screen and (max-width: 500px) {
  .footer {
    font-size: 14px;
  }
}
