/*
Theme Name: Solaris Pools
Theme URI: https://solarispools.co.nz/
Author: Established Group
Author URI: http://establishedgroup.com
Version: 9.9.9
*/

/*font-family: "neue-haas-grotesk-display", sans-serif;
font-weight: 500;
font-style: normal;*/


* {
  box-sizing: border-box;
}

/* GLOBAL STYLE */

html, body { 
    margin: 0;
    padding: 0;
    font-size: 24px; 
}

body {
  width: 100%;
  height: 100%;
  background-color: #5f89a9;
  color: #fff;
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: none;

  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;

  -webkit-transition: background-color 2s ease;

  -o-transition: background-color 2s ease;

  transition: background-color 2s ease;

}


a {
  font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    background-color: transparent;
    border: 1px #ffe450 solid;
    border-radius: 1.4rem;
    padding: 0.75rem 1rem;
    margin: 1rem 0 0 0;
    color: #ffe450;

    -o-transition:.5s;
    -webkit-transition:.5s;
    transition:.5s;
    cursor: pointer;
}

a:hover {
    background-color: #ffe450;
    color: #e68846;
}


h1 {
    font-size: 30px;
    color: #ffe450;
    font-weight: normal;
    margin-top: 2vw;
}

/* Section 1 - Hero */
section {
    display: flex;
  align-items: center;
  justify-content: center;
}

section .container {
    display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem;
    width: 90%;
  max-width: 100%;
}


section.intro {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

section.intro .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
   padding: 5rem;
  width: 90%;
  max-width: 100%;
}

/* SVG logos */
section.intro .container > img {
  
  width: 100%;
}

/* Overlap logos into slider */
section.intro .container > img:first-child {
    width: 30vw;
    max-width: 580px;
  margin-bottom: -2.3vw;
  position: relative;
  z-index: 1;
}

section.intro .container > img:last-of-type {
    width: 15vw;
max-width: 340px;
  margin-top: -1.1vw;
  position: relative;
  z-index: 1;
}

/* Slider */
.pool-slider {
  position: relative;
  z-index: 0;
  max-width: 1340px;
  width: 100%;
}

.pool-slider img {
  width: 100%;
  height: auto;
}
.pool-slider {
  position: relative;
  z-index: 0;
}

.split-section {
  display: flex;
  min-height: 100vh;
  background-color: #e68846;
  align-items: stretch;
}

.split-left {
  width: 50%;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  align-items: center;
}

.split-left div {
    max-width: 425px;
}

.split-right {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  align-self: stretch;
}

.split-right img {
    max-width: 80%;
    height: auto;
    margin: 20px;
}

.pipedriveWebForms {
    background-color: rgba(255, 255, 255, 1);
    max-width: 640px;
    padding: 5vw;
    border-radius: 1rem;
}


@media screen and (max-width: 1024px) {



    section.intro .container {
        padding: 0;
    }

    section.intro .container > img:first-child {
        width: 60vw;
        margin-bottom: -4.3vw;
    }

    section.intro .container > img:last-of-type {
        width: 30vw;
    }

    h1 {
        font-size: 24px;
        margin-top: 10vw;
    }

  .split-section {
    flex-direction: column;
  }
  .split-left,
  .split-right {
    width: 100%;
  }
  .split-right {
    min-height: 50vh;
  }

}


@media screen and (max-width: 600px) {

    html, body { 

        font-size: 21px; 
    }


    .pipedriveWebForms {
        padding: 2rem;
    }

    section .container {
        margin: 1rem;
    }

    .split-left {
        padding-bottom: 90px;
    }


}
