@font-face{
    font-family: "BBHSansBartle";
    src:
        url('fonts/BBH_Sans_Bartle/BBHSansBartle-Regular.ttf');
}

@font-face{
    font-family: "Inconsolata";
    src:
        url('fonts/Inconsolata/Inconsolata-VariableFont_wdth,wght.ttf');
}

body{
    display: grid;
    justify-items: center;
    align-items: center;
    justify-content: center;
    background-color: #EDEDED;
    background-size: 20px 20px;
    background-image:
    linear-gradient(to right, #dcdcdc 1px, transparent 1px),
    linear-gradient(to bottom, #dcdcdc 1px, transparent 1px);
    min-height: 100svh;
    width: 100%;
    color: #080705;
    overflow-x: hidden;
    font-family: "Inconsolata";
    font-weight: 400;
    font-stretch: 90%;
}

a{
    color: #1A2530;
}

#gallerytogglediv{
    margin-bottom: 48px;
}

.switch{
    display: grid;
    grid-template-columns: 0.6em auto;
    gap: 0.6em;
    justify-items: end;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #EDEDED;
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 0.8em;
  height: 0.8em;
  border: 0.1em solid currentColor;
  border-radius: 0.1em;
  transform: translateY(0.155em);
  display: grid;
  place-content: center;
}

input[type="checkbox"]::before {
  content: "";
  width: 0.62em;
  height: 0.62em;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em #F77E2D;
}

input[type="checkbox"]:checked::before {
  transform: scale(1);
}

#phrase{
    margin: 12%;
    margin-bottom: 4%;
    width: auto;
    height: 500px;
    z-index: 1;
    text-wrap: wrap;
}

h1{
    line-height: 2.5em;
    text-align: center;
}

#phrasenvyou{
    font-family: "BBHSansBartle";
    font-size: 3.5em;
}

#a{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 4em;
}

#b{
    font-family: "BBHSansBartle";
    font-size: 3.5em;
    color: #F77E2D;
}

#c, #phaseenvstop{
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-weight: 200;
    font-size: 4em;
}

#phrase span{
    transition: all 200ms ease-out;
}

.transition{
    background-color: #080705;
}

#b.transition{
    background-color: #F77E2D;
}

img{
    max-width: 250px;
    max-height: auto;
}

.landscapeimage{
    transition: transform;
    position: absolute;
}

#bucket{
    top: 2200px;
    left: 150px;
    z-index: 2;
}

#bags{
    top: 2300px;
    left: 1250px;
    z-index: 0;
}

#tongue{
    top: 700px;
    left: 200px;
    z-index: 2;
}

#fruit{
    top: 1400px;
    left: 1250px;
    z-index: 2;
}

#batman{
    top: 2100px;
    left: 1100px;
    z-index: 2;
}

#column{
    top: 3000px;
    left: 100px;
    z-index: 0;
}

#crusher{
    top: 550px;
    left: 1200px;
    z-index: 2;
}

#cups{
    top: 10px;
    left: 25px;
    z-index: 2;
}

#flowers{
    top: 3400px;
    left: 100px;
    z-index: 0;
}

#hook{
    top: 3100px;
    left: 1200px;
    z-index: 0;
}

#leaf{
    top: 600px;
    left: 100px;
    z-index: 2;
}

#napkin{
    top: 2600px;
    left: 350px;
    z-index: 2;
}

#orpheus{
    top: 1200px;
    left: 150px;
    z-index: 0;
}

#peace{
    top: 500px;
    left: 1050px;
    z-index: 1;
}

#plant{
    top: 50px;
    left: 1150px;
    z-index: 2;
}

#plate{
    top: 1700px;
    left: 1300px;
    z-index: 2;
}

#tomato{
    top: 1700px;
    left: 1200px;
    z-index: 2;
}

#triumph{
    top: 1800px;
    left: 50px;
    z-index: 0;
}

#score{
    top: 2000px;
    left: 50px;
    z-index: 0;
}

#wip{
    top: 3350px;
    left: 200px;
    z-index: 2;
}

#tagline{
    width: 100vw;
    font-size: 28px;
    text-align: center;
    padding: 12px;
    margin: 0;
    margin-bottom: 8px;
}

#tagline p{
    margin: 0;
}

h2{
    font-family: "BBHSansBartle";
    font-size: 2em;
    margin: 0;
    text-align: right;
    padding-bottom: 2px;
    padding-top: 1px;
}

.twocol{
    display: grid;
    grid-template-columns: repeat(2, 50%);
    margin-bottom: 112px;
}

.twocolinvert{
    display: grid;
    grid-template-columns: repeat(2, 50%);
    margin-bottom: 112px;
}

.text {
    height: auto;
    grid-template-columns: repeat(4, 25%);
    text-align: justify;
    margin: 0px;
    margin-left: 24px;
    margin-right: 24px;
    z-index: 1;
}

#presspicdiv{
    height: auto;
    margin-left: 12px;
    text-align: justify;
}

#presspic{
    border: 1px solid #F77E2D;
    transition: all 0.1s ease-in-out;
    margin-left: 12px;
    
    height: auto;
    width: 100px;
}

#presspic:hover{
    border-top: #F77E2D 4px solid;
    transition: all 0.1s ease-in-out;
}

#about div, #intro div {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    line-break: loose;
    justify-items: stretch;
    grid-auto-flow: row;
}

#intro, #about, #contact, #fees, #testimonies, #aoc{
    margin-top: 4px;
    border-top: #F77E2D 1px solid;
    z-index: 1;
    transition: all 0.1s ease-in-out;
}

#intro:hover, #about:hover, #contact:hover, #fees:hover, #testimonies:hover, #aoc:hover{
    border-top: #F77E2D 4px solid;
    transition: all 0.1s ease-in-out;
}

p {
    padding-left: 12px;
    padding-right: 12px;
    margin-top: 3px;
}

#vennsection{
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 112px;
}

.vennsectiontext{
    text-align: center;
    padding: 12px;
    font-size: 22px;
}

#venndiagram {
    position: relative;
    width: 0;
    height: 700px;
    margin-left: 50%;
}

.venn {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 1px solid #080705;
    position: absolute;
    transition: cubic-bezier(0.41, 0.15, 0, 0.65) 0.5s;
    z-index: 2;
}

#venn1 {
    top: 0;
    left: -355px;
    z-index: 2;
}

#venn2 {
    top: 0;
    left: 0;
    z-index: 2;
}

#venn3 {
    top: 310px;
    left: -175px;
    z-index: 2;
}

#venn1:hover{
    border: 6px solid #F77E2D;
    transform: skew(25deg, 25deg);
    rotate: 7deg;
    filter: blur(2.5px);
    height: 480px;
    width: 530px;
    z-index: 2;
}

#venn2:hover{
    border: 6px solid #F77E2D;
    transform: skew(-25deg, -25deg);
    filter: blur(2.5px);
    height: 600px;
    width: 300px;
    left: -150px;
    z-index: 2;
}

#venn3:hover{
    border: 6px solid #F77E2D;
    filter: blur(2.5px);
    height: 500px;
    width: 500px;
    top: 100px;
    left: -250px;
    z-index: 2;
}

.venntext {
    position: absolute;
    z-index: 2;
    width: 150px;
    text-wrap: wrap;
    color: #080705;
    font-size: 14px;
    text-align: center;
}

#vtnrd{
    top: 360px;
    left: -80px;
}

#vtga{
    top: 200px;
    left: 190px;
}

#vtcd{
    top: 70px;
    left: 50px;
}

#vtm{
    top: 470px;
    left: -180px;
}

#vtps{
    top: 500px;
    left: 0px;
}

#vtppn{
    top: 60px;
    left: -270px;
}

#vts{
    top: 220px;
    left: -210px;
}

#cft{
    display: grid;
    grid-template-columns: repeat(3, 33%);
    justify-items: stretch;
    grid-auto-flow: row;
}

#email{
    font-weight: 700;
}

.testimony {
    opacity: 0;
    transition: opacity 1s ease-out;
    width: 100%;
    pointer-events: none;
    visibility: hidden;
}

.testimony.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: relative;
}

.testimony.active a {
    color: #1A2530;
    font-weight: 700;
}

#socials{
    margin-top: 24px;
    padding-bottom: 36px;
}

#linkedinicon, #instagramicon{
    width: 48px;
    height: auto;
}

#linkedinicon:hover, #linkedinicon:focus, #instagramicon:hover, #instagramicon:focus{
    filter: invert(10%) sepia(38%) saturate(587%) hue-rotate(168deg) brightness(96%) contrast(91%);
}

#aoc{
    text-align: center;
    margin-top: 52px;
}


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

    html, body {
        max-width: 100%;
        margin: 0;
    }

    #landscape{
        display: none;
        position: relative;
        overflow: hidden;
    }

    #phrase{
        width: 80%;
        margin: 0;
        min-height: auto;
    }

    #phrase h1{
        display: grid;
        grid-template-columns: 1fr;
        padding-top: 12vh;
        line-height: 1.2;
        text-align: justify;
    }

    #phrasenvyou{
        text-align: center;
        font-size: clamp(4rem, 8vw + 1rem, 6rem);
        line-height: 1.8rem;
        color: #080705;
        /* background-color: #080705;
        color: #EDEDED; */
    }

    #a{
        font-size: clamp(6rem, 12vw + 1rem, 10rem);
        line-height: 1.2;
        text-align: center;
        /* background-color: #EDEDED;
        border-left: #080705 2px solid;
        border-right: #080705 2px solid; */
    }

    #b{
        text-align: center;
        font-size: clamp(2rem, 6vw + 0.3rem, 4rem);
        overflow-wrap: anywhere;
        line-height: 1.2;
        color: #F77E2D;
        /* color: #080705;
        background-color: #F77E2D;
        border-left: #F77E2D 2px solid;
        border-right: #F77E2D 2px solid; */
    }

    #c{
        font-size: clamp(3rem, 6vw + 1rem, 4rem);
        line-height: 1.2;
    }

    span:has(> #c){
        text-align: center;
        padding-left: 4px;
        padding-right: 4px;
        /* border: #080705 2px solid;
        border-top: none; 
        background-color: #EDEDED; */
    }

    #a.transition{
        color: #EDEDED;
        background-color: #EDEDED;
        opacity: 0;
    }

    #b.transition{
        color: #EDEDED;
        background-color: #EDEDED;
        opacity: 0;
    }

    #c.transition{
        color: #EDEDED;
        background-color: #EDEDED;
        opacity: 0;
    }

    #gallerytogglediv {
        display: none;
    }

    .twocol, .twocolinvert{
        display: grid;
        grid-template-columns: 1fr;
        margin-bottom: 36px;
        width: auto;
    }

    .twocolinvert{
        margin-bottom: 0;
    }

    #about div, #intro div {
        grid-template-columns: 1fr;
        justify-items: stretch;
        grid-auto-flow: row;
        width: auto;
    }

    /* h2 fluid sizing */
    h2{
        padding-top: 6px;
        padding-bottom: 2px;
        font-size: clamp(1.2rem, 2vw + 1rem, 1.6rem);
        line-height: 1.2;
    }

    .text{
        grid-template-columns: 1fr;
        text-align: justify;
        width: auto;
    }

    .text p{
        font-size: clamp(1rem, 1.5vw + 0.7rem, 1.25rem);
        line-height: 1.5;
    }

    #tagline p{
        margin-bottom: 0px;
        font-size: clamp(1.4rem, 3vw + 1rem, 1.8rem);
    }

    #vennsection{
        padding: 4px;
        margin-bottom: 32px;
    }

    .vennsectiontext{
        margin: 0;
        padding-top: 0;
        font-size: clamp(1rem, 2vw + 0.7rem, 1.2rem);
    }

    #venndiagram{
        height: auto;
    }

    .venn{
        display: none;
    }

    .venntext{
        position: relative;
        margin-top: 80px;
        font-size: clamp(0.8rem, 1vw + 0.6rem, 0.9rem);
        text-align: center;
    }

    #vtnrd, #vtga, #vtcd, #vtm, #vtps, #vts, #vtppn{
        top: 0px;
        left: -100px;
        text-align: center;
    }
    #vtppn{
        margin-bottom: 60px;
    }

    #cft{
        display: grid;
        grid-template-columns: 1fr;
        justify-items: stretch;
        grid-auto-flow: row;
        width: auto;
    }

    #cft div{
        margin-bottom: 36px;
    }

    #aoc p{
        font-size: clamp(0.8rem, 1vw + 0.5rem, 0.9rem);
    }
}