/* Global Settings */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "LilitaOne";
  src: url("./fonts/LilitaOne-Regular.ttf");
}

@font-face {
  font-family: "Poppins-Regular";
  src: url("./fonts/Poppins-Regular.ttf");
}

html {
  font-size: 63.5%;
  --header1: calc(1.5rem + 1vw);
  --header2: calc(2.5rem + 1vw);
  --header3: calc(1.5rem + 1vw);
  --header4: calc(1rem + 1vw);
  --text: calc(1rem + 0.5vw);
  --big: calc(2.4rem + 1vw);
  --text-color: #535353;
  --header-color: #9c4141;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins-Regular", sans-serif;
  color: var(--text-color);
}

h1 {
  font-size: var(--header1);
  font-family: "LilitaOne", sans-serif;
  color: var(--header-color);
}

h2 {
  font-size: var(--header2);
}

h3 {
  font-size: var(--header3);
}

h4,
h5 {
  font-size: var(--header4);
}

p,
a,
li {
  font-size: var(--text);
  color: var(--text-color);
}

.flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--header-color);
}

/* Navigation Style */

.main-header {
  position: sticky;
  top: 0;
  background: #faf3f3;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

nav {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  min-height: 6vh;
  padding: 1rem 0rem;
}

#logo {
  flex: 1 1 20rem;
}

.nav-links {
  display: flex;
  justify-content: space-evenly;
  flex: 3 1 20rem;
}

.nav-links li a {
  color: var(--text-color);
}

.nav-links li a:hover {
  color: var(--header-color);
}

.hero {
  min-height: 100vh;
  width: 90%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
}

.hero-introduction {
  flex: 2 1 40rem;
  text-align: center;
  padding-top: 10vh;
}

.hero-introduction h2 {
  font-family: "LilitaOne", sans-serif;
  font-size: 10rem;
  color: var(--header-color);
  animation: scaletext 2s ease-in-out;
}

.hero-introduction h2,
.hero-introduction h3,
.hero-introduction p {
  padding-bottom: 3rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-transform: uppercase;
}

.hero-introduction a,
.about-intro a,
.form-info button {
  padding: 1rem 4rem;
  background: var(--header-color);
  color: #faf3f3;
  margin: 2rem 2rem 4rem 2rem;
  border-radius: 10px;
  border: 3px solid transparent;
  outline: none;
}

.hero-introduction a:hover,
.about-intro a:hover,
.form-info button:hover,
.hero-introduction a:focus,
.about-intro a:focus,
.form-info button:focus {
  border: 3px solid var(--header-color);
  background: #faf3f3;
  color: var(--text-color);
  outline: none;
}

.hero-image {
  flex: 1 1 40rem;
}

.image-ruby {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Settings */

.about {
  min-height: 100vh;
  background: url("./img/about.png") no-repeat;
  background-size: cover;
  display: flex;
  position: relative;
  flex-wrap: wrap;
}

.about-intro {
  width: 50%;
  min-height: 100vh;
  position: absolute;
  right: 5%;
  text-align: center;
  padding-top: 5.5rem;
}
.about-intro h3 {
  font-size: 7rem;
  color: var(--header-color);
  font-family: "LilitaOne", sans-serif;
  padding-bottom: 1rem;
}

.about-intro p {
  padding: 3rem 0;
}

/* awards settings */

.awards {
  width: 100%;
  min-height: 100vh;
  background: url("./img/award.png") no-repeat center;
  background-size: contain;
}

.awards-container {
  width: 95%;
  min-height: 100vh;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
}

.prize {
  width: 30%;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
}

.awards-container h4 {
  font-size: 2rem;
  padding-top: 3rem;
  color: var(--header-color);
}

.awards-container h4::before {
  content: "- ";
}
.awards-container h4::after {
  content: " -";
}

/* Galery Settings */

.gallery {
  min-height: 100vh;
}

.gallery-container {
  display: grid;
  height: 100vh;
  padding-top: 6vh;
  grid-template-columns: repeat(3, 1 fr);
}

.gallery-container div {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.gallery1 {
  grid-row: 1/3;
  background: url("./img/ruby-1.jpg");
}

.gallery2 {
  background: url("./img/ruby-2.jpg");
}

.gallery3 {
  grid-column: 3/4;
  grid-row: 1/4;
  background: url("./img/ruby-3.jpg");
}

.gallery4 {
  background: url("./img/ruby-4.jpg");
}

.gallery5 {
  grid-column: 2/3;
  grid-row: 2/4;
  background: url("./img/ruby-5.jpg");
}

/* Contact Settings */

.contact {
  min-height: 94vh;
}

.contact-container {
  display: flex;
  width: 94%;
  margin: auto;
  flex-wrap: wrap;
}

.form-wrapper {
  min-height: 86vh;
  margin: auto;
  padding-top: 5rem;
  flex: 3 1 40rem;
}

.address {
  flex: 1 1 40rem;
  padding-top: 20vh;
}

.address h3 {
  font-family: "LilitaOne", sans-serif;
  color: var(--header-color);
  padding-bottom: 1rem;
}

.address h4,
.address p {
  padding-bottom: 1rem;
}

.address a img {
  width: 7%;
  padding: 2rem 2rem 0 0;
}

.form-wrapper h2 {
  font-family: "LilitaOne", sans-serif;
  padding: 2rem 0;
}

.form-info {
  width: 90%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.form-info input,
.form-info textarea {
  margin: 0.5rem;
  background: #f7f7f7;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 3px;
  font-size: 1.5rem;
  font-family: "Poppins-Regular", sans-serif;
  color: black;
}

.form-info label {
  text-align: right;
  font-size: 2rem;
  padding: 1rem 1rem 0 0;
}

.question,
.message,
.form-info button {
  grid-column: 1/3;
}

.form-info button {
  width: 15%;
}

.form-info input:focus,
.form-info textarea:focus {
  border: 1px solid var(--header-color);
}

footer {
  min-height: 8vh;
  background-color: #2b2b2b;
  color: #faf3f3;
  text-align: center;
  padding-top: 3vh;
}

footer p {
  font-size: 1.5rem;
  color: #faf3f3;
}

/* Media Queries */

@media screen and (max-width: 1024px) {
  /* Burger Settings */
  .burger {
    position: relative;
    display: block;
    cursor: pointer;
  }
  .burger span {
    padding: 0.2rem 1.5rem;
    background: var(--header-color);
    margin: 0.3rem 0rem;
    display: block;
    transition: all 0.5s ease;
  }
  .nav-links li a,
  .nav-links li a:hover {
    color: #faf3f3;
    font-size: 2rem;
    text-decoration: underline;
  }
  .nav-links {
    background: var(--header-color);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    flex-direction: column;
    align-items: center;
    transition: transform 1s ease;
  }

  .nav-open {
    transform: translateX(-100%);
  }

  .toggle .line1 {
    transform: rotateZ(45deg) translateY(250%);
    background: #faf3f3;
  }
  .toggle .line2 {
    opacity: 0;
  }
  .toggle .line3 {
    transform: rotateZ(-45deg) translateY(-250%);
    background: #faf3f3;
  }

  @media (max-width: 992px) {
    .hero-buttons {
      display: none;
    }
    .hero-introduction {
      padding-top: 5vh;
    }
    .hero-introduction h3 {
      padding: 0;
    }
  }

  /* hero settings */

  .hero-introduction h2 {
    font-size: 5rem;
  }

  /* About Settings */

  .nav-links a {
    color: #ffebcd;
    font-size: var(--header4);
  }

  .about-intro {
    width: 90%;
    left: 5%;
    background-color: rgba(0, 0, 0, 0.5);
  }

  .about-intro h3,
  .about-intro h4,
  .about-intro p {
    color: white;
    padding: 1rem;
  }

  .about-intro h3 {
    font-size: 5rem;
  }

  /* awards settings */

  .awards-container {
    flex-direction: column;
  }
  .prize {
    width: 90%;
  }

  /* Galery Settings */

  /* Contact Settings */

  .address {
    padding: 0 0 5rem 0;
  }

  footer {
    font-size: 2rem;
    padding: 3rem;
  }

  .address a img {
    width: 10%;
  }
}
