:root{
    --light: red;
    --olive: #767744;

    --gutter: 0.75rem;
}

html{
    height: 100%;

    font-size: 22px;
    line-height: 1.25;
    
    scroll-behavior: smooth;
    overflow-scrolling: touch;
    -webkit-overflow-scrolling: touch;

    min-width: 300px;
    max-width: 100%;
    
}
body{
    position: relative;
    margin:0;
    width: 100%;
    background: #fff;
    overflow-x: clip;
    font-family: 'rustica', sans-serif;	
    font-weight: 400;
}

body::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: .5;
    z-index: -1;

    background-color: #dcd4c5;
    background-image: url('/assets/img/bg.png');
    background-repeat: repeat;
    
}

.pt-10,
section{
    padding: 10vh 0 0;
}

a{
    color: inherit;
    text-decoration: none;
}


h1,h2,h3,h4,h5,h6{
    font-weight: 900;
    text-transform: uppercase;

    position: relative;
}

h3::before{
    content: '';
    
    height: 2em;
    position: absolute;
    top: 0;
    right: 100%;
    margin-right: 1rem;

    aspect-ratio: 46/74;
    background-image: url('../img/swoosh.svg');
    background-repeat: no-repeat;
    background-size: auto;
    background-position: top left;
}

ul, li{
    margin: 0;
    padding: 0;
    list-style: none;
}
li{
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}
li::before{
    content: '';
    position: absolute;
    display: block;
    top: .3rem;
    left: 0px;
    height: 14px;
    width: 14px;
   
    background-image: url('../img/o.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top left;
}

p{
    margin-bottom: 0;
}

#contactForm input, 
#contactForm textarea{
    border:0;
    border-radius: 0;
    display: block;
    width: 100%;
    background-color: rgba(255, 255, 255, .8);
    outline: none !important;
    font-size: 16px;
    padding: .3rem .5rem;
}

#contactForm input:not(:placeholder-shown),
#contactForm input:focus,
#contactForm textarea:focus{
    
    background-color: rgba(255, 255, 255, 1);
}

textarea{
    height: 5rem;
}
button{
    border: 0;
    outline: none;
    border-radius: 0;

    padding: .3rem 1rem;
    font-weight: bold;
    color: #fff;
    background-color: #000;

    opacity: 0;
}
button:not(:disabled){
    opacity: 1;
}

.container:not(.orig){
    padding-left: 3.5rem;
}


#o{
    transform-box: fill-box;
    transform-origin: center;
    transform: rotate(27deg);
    animation: fallover 1s .5s ease-out 1 forwards;
}

@keyframes fallover {
    from  {transform: rotate(27deg);}
    to {transform: rotate(0deg);}
    
}

#logo{
    position: relative;
}

#logo::after,
#logo::before
{
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 30%;
    aspect-ratio: 4/3;
    z-index: -1;
    background-image: url('../img/branch_rt.png');
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: top right;

    transform: translateX(25%) scale(1.4);
    transform-origin: center right;

    animation: wave 4s 0s linear infinite alternate;
}

#logo::before{
    top: auto;
    right: auto;
    bottom: -10%;
    left: -20%;
    width: 30%;
    aspect-ratio: 4/3;
    z-index: -1;
    background-image: url('../img/branch.png');
    background-position: bottom left;
    transform-origin: bottom left;
}

#logoContainer{
    display: block;
    padding: 5vh 0;
}

@keyframes wave {
    0%{ transform: rotate(0deg) translateX(25%) scale(1.4); }
    20%{ transform: rotate(0deg) translateX(25%) scale(1.4); }
    80% { transform: rotate(2.5deg) translateX(26%) scale(1.43); }
    100% { transform: rotate(2.5deg) translateX(26%) scale(1.43); }
}


#mainBody{
    position: relative;
}
/*
#mainBody::after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    aspect-ratio: 4/3;
    z-index: -1;
    background-image: url('../img/branch_rt.png');
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: top right;

    
    transform: translateX(10%) scale(1.4);
    transform-origin: top right;
    

    animation: wave 5s 0s linear infinite alternate;
}
*/


#imageCarousel img{
    height: 70vh;
}


#contactContainer{
    position: relative;
    color: #fff;
    padding: 10% 20%;
    font-weight: 900;
    background: var(--olive);
    min-height: 60vh;
}

#ccBackground{
    position: absolute;
    top: 0;
    left: 50%;
    width: 0px;
    height: 100%;
    background-color: var(--olive);
    z-index: 0; 
}

#contactContent{
    position: relative;
    z-index: 1;
}

#contactContainer h4{
    /*font-size: 325%;
    text-decoration: underline;*/
    margin-bottom: 2rem;
}

#imageCarousel .splide__arrow{
    
    opacity: 1;
    background: rgba(0,0,0,0);
    padding: 20px;
    width: 50px;
    height: 50px;
}

#imageCarousel .splide__arrow:hover{
    background: rgba(0,0,0,0.2);
}

#imageCarousel .splide__arrow::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-left: 15px solid #fff;
    border-bottom: 10px solid transparent;
    border-radius: 0;
}
#imageCarousel .splide__arrow.splide__arrow--prev::after{
    transform: rotate(180deg);
    transform-origin: 40% center;
}
.splide__arrow svg{
    display: none;
}



@media screen and (min-width: 993px) {
    .container{
        max-width: 800px ;
    }
}

@media screen and (max-width: 768px) {
    html{
        font-size: 16px;
    }
    #contactContainer {
        padding-left: 0;
        padding-right: 0;
    }
}
@media screen and (max-width: 400px) {
    
   
}