/*** VARIABLES ****/
:root {
  --primary: #004a98;
  --secondary: #FFA24B;
  --dark: #423E46;
  --light: #F2F2F2;
  --white: #FFFFFF;

  --fontheader: 'Lilita One';
  --fonttext: 'Noto Sans';

  --XXL: 64px;
  --XL: 40px;
  --LG: 22px;
  --MD: 16px;
  --SM: 12px;

  --mobileXXL: 40px;
  --mobileXL: 32px;
  --mobileLG: 22px;

  --maxWidth: 1320px;

  --lightShadow: 0px 3px 10px rgb(0 0 0 / 45%);
  --bigShadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
}

/*** SITE SETTINGS ****/

*{
  color: var(--dark);
  font-size: var(--MD);
  font-family: var(--fonttext);
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/*** SPACERS ****/

.container-limited{
  max-width: 1320px;
  padding: 0px 20px;
  margin: 0px auto;
}

.no-teaser{
  margin-top: 250px;
}

.spacer-medium {
  margin-top: 50px;
}

.spacer-xl {
  margin-top: 120px;
}

.spacer-xxl-bottom{
  margin-bottom: 220px;
}

.spacer-xl-bottom{
  margin-bottom: 120px;
}

/*** FONT CONSTANTS ****/

.header{
  font-size: var(--XL);
  font-family: var(--fontheader);
  color: var(--primary);
  margin-bottom: 10px;
}
.header.no-subheader{
  margin-bottom: 30px;
}

.subheader{
  font-size: var(--LG);
  margin-bottom: 30px;
}

.bodytext a{
  font-weight: bold;
  color: var(--secondary);
}
.bodytext a:hover{
  color: var(--primary);
}

@media (max-width: 834px){
  .header {
      font-size: var(--mobileXL);
      font-family: var(--fontheader);
      color: var(--primary);
      margin-bottom: 10px;
  }
  .subheader{
    font-size: var(--mobileLG);
  }
}

/*** ELEMENTS ****/

.text-element .bodytext{
  max-width: 873px;
}

/*** BACK TO TOP ****/


.scrolltotop{
  position: fixed;
  top: 80%;
  right: 20px;
}
.scrolltotop i {
  font-size: 40px;
  color: var(--white);
  background: var(--primary);
  border-radius: 100%;
  border: 10px solid var(--primary);
}

/*** BACK BTN ****/


.back-btn{
  display: block;
  font-size: var(--LG);
  font-family: var(--fontheader);
  color: var(--secondary);
  width: fit-content;
  margin: 50px 0px;
}
.back-btn i {
  color: inherit;
  font-size: inherit;
  margin-right: 10px;
}

.back-btn:hover {
  color: var(--primary);
}

/*** LIGHTBOX MODAL ****/

.gallery {
  position: relative;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 100%;
}

.gallery button {
  background: transparent;
  border: none;
  position: relative;
  box-shadow: var(--lightShadow);
  border-radius: 100%;
  padding: 0px;
  overflow: hidden;
}
.gallery button::before{
  content: '\f00e';
  font-family: "Font Awesome 6 Free";
  font-weight: 700;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffffab;
  color: var(--white);
  font-size: var(--XL);
  text-shadow: var(--lightShadow);
  opacity: 0;
  transition: all ease-in-out 200ms;
  z-index: 3;
}

.gallery button.second-button {
  width: 50%;
  position: absolute;
  bottom: -50px;
  right: 0;
  box-shadow: var(--lightShadow);
  border-radius: 100%;
  padding: 0px;
  z-index: 5;
}

.gallery button:hover::before{
  opacity: 1;
}

.gallery .modal-content {
  background: transparent;
    border: none;
    box-shadow: none;
}
.gallery .modal-content img {
  border-radius: 0px;
  width: 100%;
  height: auto;
  aspect-ratio: initial;
}

