
.flex{
  flex-wrap: wrap;
}

.flex .half{
  width: 100%;
  margin-right: 0;
}

.flex .third{
  width: 100%;
  margin-right: 0;
}

.mobile-grid-6{
  grid-template-columns: repeat(6, 1fr); 
}

.mobile-grid-5{
  grid-template-columns: repeat(5, 1fr); 
}

.mobile-grid-4{
  grid-template-columns: repeat(4, 1fr); 
}

.mobile-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.mobile-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.mobile-grid-1 {
  grid-template-columns: repeat(1, 1fr);
}


.mobile-span-1 {
  grid-column: span 1;
}
.mobile-span-2 {
  grid-column: span 2;
}
.mobile-span-3 {
  grid-column: span 3;
}
.mobile-span-4 {
  grid-column: span 4;
}
.mobile-span-5 {
  grid-column: span 5;
}

.mobile-grid-tight{
  gap: 10px; 
}


header{
  position:static; 
}
header .main, header .nav-buttons{
  display: none; 
}

header .container {
  background: #FFF; 
  border-radius: 0;
  width: 100%;
  max-width: 100%; 
}

header .logo img{
  height: 30px; 
}



#hamburger {
  width: 45px;
  height: 35px;
  position: absolute;
  z-index:9;
  right: 20px;
  top: 12px;
  transform: rotate(0deg);
  transition: .5s ease-in-out;
  cursor: pointer;
}

#hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 50%;
  background: var(--primary);
  opacity: 1;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

#hamburger span:nth-child(even) {
  left: 50%;
}

#hamburger span:nth-child(odd) {
  left:0px;
}

#hamburger span:nth-child(1), #hamburger span:nth-child(2) {
  top: 5px;
}

#hamburger span:nth-child(3), #hamburger span:nth-child(4) {
  top: 15px;
}

#hamburger span:nth-child(5), #hamburger span:nth-child(6) {
  top: 25px;
}

.mm-wrapper_opened #hamburger span:nth-child(1),.mm-wrapper_opened #hamburger span:nth-child(6) {
  transform: rotate(45deg);
}

.mm-wrapper_opened #hamburger span:nth-child(2),.mm-wrapper_opened #hamburger span:nth-child(5) {
  transform: rotate(-45deg);
}

.mm-wrapper_opened #hamburger span:nth-child(1) {
  left: 5px;
  top: 8px;
}

.mm-wrapper_opened #hamburger span:nth-child(2) {
  left: calc(50% - 5px);
  top: 8px;
}

.mm-wrapper_opened #hamburger span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

.mm-wrapper_opened #hamburger span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

.mm-wrapper_opened #hamburger span:nth-child(5) {
  left: 5px;
  top: 21px;
}

.mm-wrapper_opened #hamburger span:nth-child(6) {
  left: calc(50% - 5px);
  top: 21px;
}


.mm-menu {
    --mm-color-background: var(--primary);                      /* menu background */
    --mm-color-background-emphasis: var(--secondary); /* emphasized listitems */
    --mm-color-background-highlight: rgba(0,0,0,0.05);   /* highlighted listitems */
    --mm-color-border: transparent;                  /* navbar/listitem borders */
    --mm-color-icon:var(--white);                    /* button icons */
    --mm-color-text: var(--white);                   /* main text */
    --mm-color-text-dimmed: var(--white);             /* dimmed text */
    --mm-color-button: var(--white); 
}


.container{
  width: 90%; 
}
.hero h1{
  font-size: 2.2rem; 
}

h2{
  font-size: 2rem; 
}
h3{
  font-size: 1.5rem; 
}

.large{
  font-size: 1rem; 
}

.buttons{
  flex-wrap:wrap; 
}




.values{
  background-image: none; 
  padding-top: 0;
  height: auto; 
  aspect-ratio: auto;
  display:grid; 
  grid-template-columns: repeat(2, 1fr);
  gap: 15px; 
}
.values .value{
  grid-column: span 1;
}

.values .value{
  border-radius: 15px;
  overflow:hidden;
  width: 100%; 
  max-width: 100%; 
  position:relative; 
  margin: 0; 
  top: auto !important; 
  left: auto !important; 
  right: auto !important; 
  bottom: auto !important; 
  transform: none !important; 
}

.values .value h4{
  font-size: 0.8rem; 
}

.button-label, a:hover .button-label{
  bottom: 30px; 
}



.reason{
  padding: 15px; 
  margin-right:0;
  border:none;
}
.reason-group:nth-child(2n+2) .reason{
  padding: 15px;
  margin-right:0;
  margin-left: 0;
}

.reason-image{
  position:relative; 
  margin: 0 auto 25px auto;
  top:auto !important;
  left:auto !important; 
  right: auto !important; 
  width:100%;
}

.reason-image .leaf{
  display:none;
}

.reason-image .reason-bg{
  display:none;
}
.reason-image .reason-border{
  display:none; 
}
.reason-image .reason-photo{
  /*
  position:static;
  width:100%;
  height: 180px; 
  object-fit:cover;
  object-position: center top;
  top: 10px;
  left: 10px; 
  bottom: 30px; 
  border-radius: 15px;
  */
  display:none; 
}

.reason-group:first-child img.block{
  border-radius: 0 50px 50px 0;
}

.mobile-left{
  text-align:left;
}
.mobile-block{
  display: block; 
}

.mobile-float{
  float: right;
  width: 30%; 
  margin: 0 0 15px 20px; 
}

.header{
  min-height: 0; 
}

.header .header-photo{
  width: 40%;
}

.header .container{
  padding-top: 50px; 
  padding-bottom: 60px; 
}
.header h1{
  font-size: 2rem;
}
.header .large{
  font-size: .8rem;
}

.content .main-side{
  display:none;
}
.content .main-content{
  width: 100%;
  padding-left: 0; 
  padding-right: 0; 
}
.main-content .container{
  width: 96%;
}

footer{
  padding-top: 160px; 
}
footer .footer-cta{
  border-left:none; 
  border-top: 4px solid var(--primary);
}

footer .footerbuttons{
  max-width: 250px; 
}

footer nav.contacts{
  gap: 0px; 
}

footer nav.contacts a{
  width: 100%;
}

.mobilegone{
  display:none;
}

.hero-images{
  background-size: 200% auto;
  padding-top: 18vw;
  margin-top: -15vw; 
}

footer{
  background-size: auto 170px;
}

.mobile-aspect-square{
  aspect-ratio: 1/1;
}


.mobile-margin-top-small{
  margin-top: 15px; 
}