/* ROOT STYLE */
:root {
  --spaBlack: #000001;
  --spaWhite: #fbfaf7;
  --spaPrimary: #6e2c3b;
  --spaPrimaryTransparent: #6e2c3b66;
  --spaAlert: #a31924;
  --spaGray: #7f7f7f;
  --titles-font-family: "Playfair Display", serif;
  --body-font-family: "Poppins", Sans-serif;
  --body-font-size: 14px;
  --body-font-weight: 400;
  --title-font-size: 28px;
  --title-font-weight: 600;
  --subtitle-font-size: 24px;
  --button-font-size: 20px;
  --small-font-size: 12px;
  --xs-font-size: 10px;
  --large-title-size: 32px;
  --header-font-size: 20px;
}
@media (min-width: 800px) {
  :root {
    --body-font-size: 18px;
    --title-font-size: 40px;
    --subtitle-font-size: 32px;
    --button-font-size: 26px;
    --small-font-size: 16px;
    --xs-font-size: 14px;
    --large-title-size: 64px;
  }
}
/* RESET CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  background-color: var(--spaWhite);
  color: var(--spaBlack);
  width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
button {
  cursor: pointer;
  font-family: var(--body-font-family);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--titles-font-family);
  font-optical-sizing: auto;
  font-weight: var(--title-font-weight);
  font-style: normal;
}
body .desktopVersion {
  display: none;
}
@media (min-width: 800px) {
  body .desktopVersion {
    display: block;
  }
  body .mobileVersion {
    display: none;
  }
}
/* GLOBAL STYLES */
html {
  scrollbar-color: var(--spaPrimary) var(--spaWhite);
}
.desktopVersion {
  display: none;
}
@media screen and (min-width: 800px) {
  .desktopVersion {
    display: initial;
  }
  .mobileVersion {
    display: none;
  }
}
main {
  margin-top: 180px;
  width: 100%;
  overflow-x: hidden;
  padding: 10px 0;
}
section {
  width: 100%;
  padding: 20px;
}
.topSection {
  height: 380px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background-image: url(../img/index/top.jpeg);
  background-size: cover;
  background-position: left 35% top 50%;
  background-repeat: no-repeat;
  margin-bottom: 20px;
  position: relative;
}
@media screen and (min-width: 800px) {
  main > section:not(.topSection) {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
  }
  .topSection {
    height: 750px;
    border-bottom: 30px solid var(--spaPrimary);
  }
}
.topSectionFilter {
  position: absolute;
  height: 100%;
  width: 100%;
  backdrop-filter: saturate(80%);
}
h2 {
  font-size: var(--title-font-size);
  text-align: center;
  color: var(--spaWhite);
  text-transform: uppercase;
}
h3 {
  font-size: var(--subtitle-font-size);
  color: var(--spaPrimary);
  text-transform: uppercase;
  margin-bottom: 10px;
}
p {
  text-align: justify;
  line-height: 1.5;
  margin-bottom: 5px;
}
.buttonLink,
.fileInput::file-selector-button {
  text-decoration: none;
  color: var(--spaBlack);
  background-color: transparent;
  border: 1px solid var(--spaBlack);
  display: block;
  border-radius: 20px;
  width: 100%;
  max-width: 275px;
  height: 40px;
  text-align: center;
  font-size: var(--button-font-size);
  padding: 7px;
  transition: all 0.3s ease;
}
.buttonLink:hover,
*:hover > .fileInput::file-selector-button {
  background-color: var(--spaPrimary);
  border-color: var(--spaPrimary);
  color: var(--spaWhite);
}
@media screen and (min-width: 800px) {
  .buttonLink {
    padding-top: 5px;
    padding-bottom: 10px;
    max-width: 365px;
  }
}
.smallButton {
  font-size: var(--header-font-size);
  height: 40px;
  width: 245px;
  padding-top: 8px;
}
.bottomMargin {
  margin-bottom: 15px;
}
.invertedBottomMargin {
  margin-bottom: -20px;
}
.bodyLineContainer {
  color: var(--spaPrimary);
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  height: 10px;
}
h4 {
  color: var(--spaWhite);
  font-size: var(--subtitle-font-size);
  text-transform: uppercase;
}
.textFocus {
  color: var(--spaPrimary);
  font-weight: 600;
}
.imageInText {
  width: 100%;
  object-fit: cover;
  border-radius: 30px;
  margin: 10px 0;
}
@media screen and (min-width: 800px) {
  .imageInText {
    box-shadow: 0px 4px 6px 3px #00000040;
  }
}
.centeringContainer {
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}
.horizontalContainer {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
@media screen and (min-width: 800px) {
  .horizontalContainer {
    gap: 30px;
  }
}
.verticalContainer {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
}
.iconButtonLink {
  background-color: var(--spaPrimary);
  color: var(--spaWhite);
  height: 40px;
  width: 40px;
  border-radius: 20px;
  border: 1px solid var(--spaPrimary);
  transition: all 0.3s ease;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}
.iconButtonLink:hover {
  background-color: var(--spaWhite);
  color: var(--spaPrimary);
}
.topMargin {
  margin-top: 20px;
}
