:root {
  --dark-bg-color: #342D27;
  --light-bg-color: #BFB2AA;
  --dark-font-color: #181818;
  --light-font-color: #ffffff;
  --highlight-color: #C3AC71;
}

@font-face {
  font-family: 'MSfont'; 
  src: url('../fonts/static/Montserrat-Regular.ttf') format('truetype');
}

body {
  background: rgb(180,125,85);
  background: linear-gradient(126deg, rgba(180,125,85,1) 0%, rgba(192,182,173,1) 50%, rgba(112,62,31,1) 100%);
  color: var(--font-color);
  margin: 0;
  padding: 0;
  font-family: 'MSfont';
}

@keyframes resize {
  0% {
    transform: scale(1); /* Initial scale */
  }
  50% {
    transform: scale(1.2); /* Enlarge by 20% */
  }
  100% {
    transform: scale(0.8); /* Shrink by 20% */
  }
}

#loading_cover {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: var(--dark-bg-color);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loading_cover img{
  width: 500px;
  height: 500px;
  animation: resize 4s infinite alternate;
}

h1 {
  background: rgb(52,45,39);
  background: linear-gradient(90deg, rgba(52,45,39,1) 0%, rgba(52,45,39,0) 100%);
  height: 100px;
  display: flex;
  align-items: center;
  padding-left: 50px;
  text-transform: uppercase;
  color: var(--light-font-color);
  margin: 0;
}

h2 {
  font-size: 28;
}

p {
  font-size: 20px;
  text-align: justify;
}

i {
  font-style: normal;
}

a {
  text-decoration: none;
  text-transform: uppercase;
  color: var(--dark-font-color);
}

a:hover {
  color: darkblue;
}

#about_logo {
  width: 260px;
}

#contact_img {
  height: 400px;
  border-radius: 20px;
}

.content {
  display: flex;
  align-items: center;
  padding: 50px;
  gap: 80px;
  background: var(--light-bg-color);
}

@media (max-width: 1000px) {
  h1 {
    height: 40px;
    font-size: 14px;
    font-weight: normal;
  }

  h2 {
    font-size: 16px;
    margin: 30px 0 0 0;
  }

  p {
    font-size: 14px;
  }
  .content {
    padding: 30px;
    gap: 30px;
  }
}

@media (max-width: 1000px) {
  .content {
    flex-direction: column;
  }
  #contact_img {
    height: 300px;
  }
}