/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

@font-face {
  font-family: overlock;
  src: url("https://static.sonaloha.ch/fonts/Overlock-Italic.ttf")
}

@font-face {
  font-family: suse;
  src: url("https://static.sonaloha.ch/fonts/SUSE-Italic-VariableFont_wght.ttf")
}

h1, h2 ,h3, h4, h5, h6, .custom-price-table caption {
  font-family: overlock;
}

h2 ,h3, h4, h5, h6, .custom-price-table caption {
  font-weight: 600;
}

h1 {
  font-size: clamp(42px, 4.6vw, 64px);
}

.custom-hero-section-title h1, .custom-hero-section-title p {
  color: var(--base-2);
  text-shadow: 0 0 5px black, 0 0 20px black;
}

h2 {
  margin-top: 100px;
  padding: 0 0 40px 0;
  font-size: 40px;
}

h3 {
  padding-left: 30px;
}

h4 {
  padding-left: 60px;
}

#content p, #content li, .custom-price-table th, .custom-price-table td {
  font-family: suse;
  font-size: 1.3rem;
}

ul {
  margin-left: 20px;
}

.custom-price-table caption {
	font-size: 24px;
}

.custom-is-flex {
  display: flex;
}

.inside-header.grid-container {
  padding-top:0;
  padding-bottom:0;
}

.site-header .header-image {
  width: auto;
}

.site-content {
  padding-top: 0 !important;
}

.entry-content {
  display: flex;
  flex-direction: column;
}

.main-navigation a {
  font-family: suse;
  font-size: 24px;
}

.custom-hero-section {
  width: 100vw;
  height: calc(100vh - 64px);
  /*margin: 0 calc(0px - (100vw - 1120px) / 2);*/
  align-self: center;
  background-size: cover;
}

.custom-hero-section-title {
  flex-direction: column;
  justify-content: center;
  margin: 0 max(40px, calc((100vw - 1200px) / 2));
}

.custom-hero-section-accueil {
  background-image: url("https://static.sonaloha.ch/luke-thornton-8_RrNK5dg3k-unsplash.webp"), url("https://static.sonaloha.ch/luke-thornton-8_RrNK5dg3k-unsplash.jpg");
  background-position: 60% 40%;
}

.custom-hero-section-chant {
  background-image: url("https://static.sonaloha.ch/luke-thornton-8_RrNK5dg3k-unsplash.webp"), url("https://static.sonaloha.ch/luke-thornton-8_RrNK5dg3k-unsplash.jpg");
  background-position: 60% 40%;
}

.custom-hero-section-yoga {
  background-image: url("https://static.sonaloha.ch/luemen-rutkowski-mIHbipd5-Qw-unsplash.webp"), url("https://static.sonaloha.ch/luemen-rutkowski-mIHbipd5-Qw-unsplash.jpg");
  background-position: 40% 40%;
}

.custom-hero-section-contact {
  background-image: url("https://static.sonaloha.ch/luke-thornton-8_RrNK5dg3k-unsplash.webp"), url("https://static.sonaloha.ch/luke-thornton-8_RrNK5dg3k-unsplash.jpg");
  background-position: 60% 40%;
}

.custom-div-auto-ratio {
  width: 100%;
}

.custom-div-1120-203-ratio {
  width: 100%;
  aspect-ratio: 1120 / 203;
  min-height: 0;
}

.custom-div-1120-353-ratio {
  width: 100%;
  aspect-ratio: 1120 / 353;
  min-height: 0;
}

.custom-div-1120-504-ratio {
  width: 100%;
  aspect-ratio: 1120 / 504;
  min-height: 0;
}

.custom-div-left-align {
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.custom-div-right-align {
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}

.custom-offset-content {
  display: flex;
  flex-direction: row;
  width: 60%;
  background-color: var(--base-3);
  border-radius: 10px;
  padding: 20px 20px 0;
  box-shadow: 0 0 8px gray;
}

.custom-offset-content > div > :last-child {
  padding-bottom: 65px;
}

.custom-offset-content:has(img) {
  padding: 0;
}

.custom-offset-content-cutout {
  height: 100%;
  width: calc(100% / 3);
  float: right;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  shape-outside: inset(calc(100% - 150px) 0 0 0);
}

.custom-fullwidth-content {
  width: 100%;
  background-color: var(--base-3);
  border-radius: 10px;
  padding: 20px 20px 40px;
  box-shadow: 0 0 8px gray;
}

.custom-div-1120-203-ratio .custom-img-container {
  align-items: center;
  width: 60%;
  height: 100%;
}

.custom-div-1120-353-ratio .custom-img-container {
  align-items: flex-end;
  width: 60%;
  height: 100%;
}

.custom-div-1120-504-ratio .custom-img-container {
  align-items: center;
  width: 60%;
  height: 100%;
}

.custom-img-container img {
  display: block;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 8px gray;
}

.custom-price-table {
  border: solid 2px #983022;
  border-radius: 10px;
  border-spacing: 0
}

.custom-price-table > caption {
  font-size: 24px;
  font-weight: 600;
}

.custom-price-table tr > td:not(:last-child), .custom-price-table tr > th:not(:last-child) {
  border-right: solid 2px #983022;
}

.custom-price-table > thead > tr > th {
  border-bottom: solid 2px #983022;
}

.custom-price-table > tbody > tr:not(:last-child) > td{
  border-bottom: solid 2px   #983022;
}

.custom-price-table td {
  padding: 10px
}

@media (max-width: 768px) {
  .site-logo {
    width: 64px;
    overflow: hidden;
  }
  
  .site-logo img {
    max-width: none;
    height: 64px;
  }
  
  #site-navigation.toggled {
    height: calc(100vh - 64px - 1.5em);
  }
  
  .site-content {
    padding-left: 3% !important;
    padding-right: 3% !important;
  }
  
  .custom-hero-section-accueil {
    background-image: url("https://static.sonaloha.ch/luke-thornton-8_RrNK5dg3k-unsplash_mob.webp"), url("https://static.sonaloha.ch/luke-thornton-8_RrNK5dg3k-unsplash_mob.jpg");
    background-position: unset;
  }

  .custom-hero-section-chant {
    background-image: url("https://static.sonaloha.ch/luke-thornton-8_RrNK5dg3k-unsplash_mob.webp"), url("https://static.sonaloha.ch/luke-thornton-8_RrNK5dg3k-unsplash_mob..jpg");
    background-position: unset;
  }

  .custom-hero-section-yoga {
    background-image: url("https://static.sonaloha.ch/luemen-rutkowski-mIHbipd5-Qw-unsplash_mob.webp"), url("https://static.sonaloha.ch/luemen-rutkowski-mIHbipd5-Qw-unsplash_mob.jpg");
    background-position: unset;
  }

  .custom-hero-section-contact {
    background-image: url("https://static.sonaloha.ch/luke-thornton-8_RrNK5dg3k-unsplash_mob.webp"), url("https://static.sonaloha.ch/luke-thornton-8_RrNK5dg3k-unsplash_mob.jpg");
    background-position: unset;
  }
  
  .custom-offset-content {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 2%;
  }
  
  .custom-offset-content > div > :last-child {
    padding-bottom: 0;
  }
  
  .custom-offset-content-cutout {
    width: 0;
  }
  
  .custom-div-1120-203-ratio {
    aspect-ratio: 1120 / 580;
  }
  
  .custom-div-1120-353-ratio, .custom-div-1120-504-ratio {
    aspect-ratio: 1120 / 631;
  }
  
  .custom-img-container {
    width: 80% !important;
    margin-left: auto;
    margin-right: auto;
  }
}
