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

@font-face{
    font-family: "Libre_Baskerville";
    src:
        url('fonts/Libre_Baskerville/LibreBaskerville-VariableFont_wght.ttf');
}

body{
    display: grid;
    justify-items: center;
    align-items: center;
    justify-content: center;
    background-color: #F8F9FA;
    background-size: 300px 300px;
    background-image:
    linear-gradient(to right, #E8EBF0 1px, transparent 1px),
    linear-gradient(to bottom, #E8EBF0 1px, transparent 1px);
    min-height: 100svh;
    width: 100%;
    color: #333333;
    overflow-x: hidden;
    font-family: "Inconsolata";
    font-weight: 400;
    font-stretch: 90%;
    /* font-family: 'Inter'; */
    font-size: 20px;
    pointer-events: all !important;
}

a{
    color: #23577a;
}

a:hover{
    color: #D96C2B !important;
}

#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: #F8F9FA;
  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 #3A6B8C;
}

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

#phrase{
    margin: 8%;
    /* margin-bottom: 4%; */
    width: 80vw;
    height: 60vh;
    z-index: 1;
    text-wrap: wrap;
    font-family: 'Libre_Baskerville';
    font-weight: 500;
    font-size: 2em;
    text-align: center;
    color: #1D2A44;
}

#phrase h1{
    display: grid;
    grid-template-rows: 3;
}

#phrasenvyou{

}

#a{

}

#b{

}

#wcc, #phrasenvstop{
    color: #3A6B8C;
}

#wcc a{
    text-decoration: none;
}
#wcc a:hover{
    color: #D96C2B;
}

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

.transition{
    opacity: 0;
}

#c.transition{
    opacity: 0;
}


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

.landscapeimage{
    transition: transform;
    position: absolute;
    pointer-events: none;
}

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

#bags{
    top: 3900px;
    right: 0px;
    z-index: 2;
}

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

#fruit{
    top: 1400px;
    right: 0px;
    z-index: 2;
}

#batman{
    top: 2500px;
    right: 100px;
    z-index: 2;
}

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

#crusher{
    top: 550px;
    right: 0px;
    z-index: 2;
}

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

#flowers{
    top: 4650px;
    left: 300px;
    z-index: 0;
}

#hook{
    top: 4400px;
    left: 200px;
    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: 1;
}

#peace{
    top: 2600px;
    right: 0px;
    z-index: 2;
}

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

#plate{
    top: 1700px;
    right: 0px;
    z-index: 2;
}

#tomato{
    top: 1700px;
    right: 100px;
    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;
}

#spill{
    top: 1000px;
    left: 50px;
    z-index: 0;
}

#m{
    top: 3600px;
    right: 100px;
    z-index: 1;
}

#gallerytogglediv {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #F8F9FA;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #E8EBF0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

h2{
    font-family: 'Libre_Baskerville';
    font-size: 2em;
    margin: 0;
    text-align: left;
    padding-bottom: 2px;
    padding-top: 1px;
    color: #1D2A44;
}

#about h2 , #fees h2{
    text-align: right;
}

.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;
    justify-items: stretch;
    grid-auto-flow: row;
}

.centercol{
    display: grid;
    grid-template-columns: 40rem;
    margin-bottom: 36px;
    z-index: 10; 
}

#about div, #intro div {
    display: grid;
    line-break: loose;
}

#contact, #fees, #testimonies, #aoc{
    margin-top: 4px;
    z-index: 4;
    transition: all 0.1s ease-in-out;
    margin-bottom: 112px;
}

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: 56px;
    /* 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;
    /* filter: blur(1px); */
    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 #3A6B8C;
    transform: skew(25deg, 25deg);
    rotate: 7deg;
    filter: blur(2.5px);
    height: 480px;
    width: 530px;
    z-index: 2;
}

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

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

.venntitle {
    position: absolute;
}

#vtc{
    top: 0px;
    left: -400px;
}

#vto{
    top: 0px;
    left: 360px;
}

#vtba{
    top: 665px;
    left: -25px;
}

.venntext {
    position: absolute;
    z-index: 2;
    width: 100px;
    text-wrap: wrap;
    line-break: strict;
    /* color: #080705; */
    /* font-size: 14px; */
    text-align: center;
}

#vt1{
    top: 10px;
    left: -270px;
}

#vt2{
    top: 15px;
    left: 40px;
}

#vt3{
    top: 30px;
    left: 190px;
}

#vt4{
    top: 70px;
    left: -180px;
}

#vt5{
    top: 80px;
    left: 140px;
}

#vt6{
    top: 140px;
    left: -390px;
}

#vt7{
    top: 160px;
    left: -160px;
}

#vt8{
    top: 150px;
    left: 10px;
}

#vt9{
    top: 160px;
    left: 260px;
}

#vt10{
    top: 200px;
    left: 30px;
}

#vt11{
    top: 220px;
    left: 230px;
}

#vt12{
    top: 270px;
    left: -320px;
}

#vt13{
    top: 290px;
    left: 100px;
}

#vt14{
    top: 320px;
    left: -60px;
}

#vt15{
    top: 370px;
    left: -180px;
}

#vt16{
    top: 380px;
    left: 35px;
}

#vt17{
    top: 450px;
    left: -195px;
}

#vt18{
    top: 440px;
    left: -10px;
}

#vt19{
    top: 530px;
    left: -180px;
}

#vt20{
    top: 540px;
    left: 50px;
}

#vt21{
    top: 590px;
    left: -70px;
}

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

#vennsectionmobile{
    display: none;
}



#testimonies {
    position: relative;
    min-height: 200px;
}

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

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

.testimony.active a {
    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: brightness(0) saturate(100%) invert(49%) sepia(14%) saturate(5047%) hue-rotate(350deg) brightness(95%) contrast(79%);}

#aoc{
    text-align: center;
    z-index: 2;
}

#credits{
    text-align: center;
}


@media screen and (max-width: 768px) {
    body {
        font-size: 16px;
        background-size: 150px 150px;
        overflow-x: hidden;
    }

    #phrase {
        margin: 5%;
        width: 90vw;
        height: 40vh;
        font-size: 1.5em;
    }

    #phrase h1 {
        display: block;
        line-height: 1.4;
    }

    .word-container {
        display: inline-block;
        margin: 0.2em 0;
    }

    .centercol {
        grid-template-columns: 1fr;
        margin-left: 16px;
        margin-right: 16px;
        margin-bottom: 24px;
    }

    .text {
        margin-left: 12px;
        margin-right: 12px;
    }

    h2 {
        font-size: 1.5em;
    }

    .text div {
        text-align: left;
    }

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

    #gallerytogglediv {
        display: none;
    }

    #vennsection {
        display: none;
    }

    #vennsectionmobile {
        display: grid;
    }

    #contact, #fees, #testimonies, #aoc {
        margin-bottom: 60px;
        margin-top: 2px;
    }

    p {
        padding-left: 8px;
        padding-right: 8px;
        margin-top: 2px;
    }

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

    #linkedinicon, #instagramicon {
        width: 36px;
        height: 36px;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 14px;
    }

    #phrase {
        font-size: 1.2em;
        height: 30vh;
        margin: 3%;
    }

    h2 {
        font-size: 1.3em;
    }

    .centercol {
        margin-left: 12px;
        margin-right: 12px;
    }

    .text {
        margin-left: 8px;
        margin-right: 8px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    #phrase {
        font-size: 1.8em;
        height: 50vh;
    }

    .centercol {
        grid-template-columns: 35rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    a, button, .switch, .venn {
        min-height: 44px;
        min-width: 44px;
    }
    
    #wcc a {
        display: inline-block;
        padding: 4px 8px;
    }
}