:root{
    font-family: 'Montserrat', system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;
    color-scheme: light dark;
    color: #181744;
    background-color: white;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
  color: #181744;
  background: rgb(131, 152, 228);
} 

body{
    scroll-behavior: smooth;
    margin: none;
    margin-left: 2rem;
    min-height: 100vh;
    min-width: 100vw;
}

body{
    overflow-x: hidden;
}


a{
    margin:2rem;
    font-size: 1.25rem;
    font-weight: 500;
    color:#181744;
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

a:visited{
    color: #715DEF;
}


.primary-header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

header{
    overflow: scroll;
    position: sticky;
    top:0;
    background-color:white;
    z-index: 1;
    margin-left: -2rem;
}


.logo{
    margin: 2rem;
}

.logo img{
    width: 10svw;
}


.primary-navigation{
    display: flex;
    list-style: none;
    margin: 0;
    margin-right: 2rem;
    padding: 0;
    gap: .5rem;
    text-transform: uppercase;
}

.mobile-nav-toggle{
    display: none;
}

.sr-only{
    clip: rect(0 0 0 0); 
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap; 
    width: 1px;
}

@media screen and (max-width: 35em){
    .primary-navigation{
        position: fixed;
        flex-direction: column;
        inset: 0 0 0 0;
        background: hsla(0, 0%, 0%, 0.5);
        backdrop-filter: blur(.75em);
        text-align: right;
        padding: min(20vh, 10rem) 5rem;
        transform: translateX(100%);
        transition: transform 350ms ease-out;
        z-index: 8000;
    }

    .primary-navigation a{
        color: white;
    }
    .logo img{
        margin-left: 2rem;
    }

    .primary-navigation a:visited{
        color: #CAC1FF;
    }

    .primary-navigation[data-visible='true']{
        transform: translateX(0%);
    }

    .mobile-nav-toggle{
        display: block;
        background: url(/Content/Menu.svg);
        background-repeat: no-repeat;
        background-size: cover;
        width: 2rem;
        border: 0;
        aspect-ratio: 1;
        z-index: 9999;
        margin-right: 1rem;
    }

    .logo img{
        width: 25svw;
    }
    
}
ul{
    list-style-type: none;
    font-size: 1.25rem;
}

h1{
    font-size: 2.5rem;
    margin:2rem;
}

h2{
    margin:2rem;
}

h3{
    margin:2rem;
    font-weight: 600;
}

p{
    margin:2rem;
    font-size: 1.25rem;
    text-wrap: pretty;
}


br{
    padding: .5rem;
}

.title{
    display: flex;
    position: relative;
    margin-left:-2rem;
    margin-right: 2rem;
    padding-top: 1rem;
}

.title picture {
    width: 100svw;
    z-index: -2;
    background-position: 0% 90%;
}

.title picture img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100svw;
    object-fit: cover;

    /*mask: 
        linear-gradient(0,#0000 2.25rem,#000 0),
        radial-gradient(2.25rem,#000 calc(100% - 1px),#0000) bottom/4.16rem 4.5rem*/
}

.title h1{
    color: white;
    margin-left: 4rem;
}


.abt-blurb{
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 3rem;
}

.abt-blurb h1{
    grid-column: 1/3;
    margin-bottom: 0;
}

.abt-blurb picture{
    justify-self: center;
}

.abt-blurb img{
    width: 20svw;
}

.process{
    display: grid;
    background-color: #CAC1FF;
    margin-left: -2rem;
    padding-bottom: 8rem;
    padding-top: 2rem;
}

.process *{
    margin-left: 4rem;
}

.process ul{
    display: flex;
    justify-self: center;
}



.button{
    background-color: #715DEF;
    padding: 1rem;
    border-radius: 1rem;
    width: fit-content;
    color: white;
    transition: .3s;
}

.button:hover{
    background-color: #181744;
    color: white;
    text-decoration: underline;
}

li.card{
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    width: 20%;
    text-align: center;
    padding: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

li.card *{
    margin:0;
}

li h3{
    margin-top: 0;
    color: #715DEF;
}

.contact{
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.contact *{
    margin: 1rem;
}

footer{
    display: flex;
    background-color: #CAC1FF;
    margin-left:-2rem;
    margin-right: -2rem;
    margin-top: 0;
    padding-bottom: 5rem;
    gap: 1rem;
    padding-top: 1rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.firstPart{
    width: 45%;
    margin-top: 0;
    padding-left: 2rem;
}

.firstPart p{
    width: 50%;
}

.firstPart img{
    width: 25%;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

footer p{
    margin-top: 0;
}

.topFoot{
    width: 110vw;
    rotate: 180deg;
    margin:0;
    margin-left: -3rem;
    margin-bottom: -1rem;
}

.tiny{
    font-style: italic;
    flex-grow: 1;
    text-align: center;
    padding-top: 1rem;
}


footer ul{
    display: grid;
    gap: 1rem;
}

footer ul p{
    margin-bottom: 0;
}

footer ul a{
    font-style: normal;
    font-weight: 400;
    padding-top: .5rem;
}

footer ul a:hover{
    text-decoration: underline;
}

footer ul a:visited{
    color: #715DEF;
}

/*Mobile Version*/

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

    body{
        margin-left: 0;
    }

    p{
        text-wrap: pretty;
    }

    h1{
        font-size: 2rem;
        text-wrap: balance;
    }

    .container p{
        width: 100%;
    }

    .title{
        margin-left: 0;
        margin-bottom: 1rem;
    }
    .title picture {
        position: absolute;
        top: 0;
        left: 0;
        width: 100svw;
        z-index: -2;
        background-position: 0% 50%;
    }

    .title h1{
        position: relative;
        top: -2rem;
        margin-left: 4rem;
    }
    .button{
        font-size: 1.5rem;
    }

    .abt-blurb{
        margin-top: 0;
    }

    .abt-blurb picture{
        grid-column: 1 / span 3;
        grid-row: 2;
    }

    .abt-blurb h1{
        grid-column: 1 /span 3;
        margin-top: 0;
    }

    .abt-blurb p{
        grid-row: 3;
        grid-column: 1/span 3;
        text-wrap: pretty;
    }

    .abt-blurb img{
        width: 50svw;
    }

    .process ul{
        flex-direction: column;
        text-align: left;
        margin-left: 0;
        gap: 1rem;
    }

    .process .card{
        width: 80%;
        margin-left: 0;
        padding: 1rem;
        align-self: center;
    }

    .blurb{
        display: block;
    }

    .blurb p{
        width: auto;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .topFoot{
        width: 120svw;
    }

    footer{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer ul{
        padding-left: 0;
    }

    .firstPart{
        width: fit-content;
        padding-left: 0;
    }

    .firstPart img{
        width: 30%;
        margin-left: 0;
    }

    .firstPart p{
        width: auto;
        padding: 1rem;
    }
    
    .contact{
        text-align: center;
    }

    nav{
        font-size: 1rem;
        margin-left: 2rem;
    }

    nav img{
        width: 15svw;
    }

    .topnav ul{
        display: none;
    }
        
    .topnav a{display: none;}

    .topnav .home-icon{
        display: block;
    }

    .home-icon img{
        width: 20svw;
    }

    .icon svg{
        width: 10svw;
    }
    
    .topnav .icon {
      display: block;
      text-align: right;
      flex: 1 0 60%;
      align-self: center;
    }
    
    .topnavresponsive .icon{
      display: block;
      text-align: right;
      flex: 1 0 60%;
      align-self: center;
    }

    .topnavresponsive {
        display: flex;
        gap: 2.5rem;
        padding-bottom: .5rem;
        flex-wrap: wrap;
    }
    
    
    .topnavresponsive a {
        text-align: right;
        text-decoration: none;
        font-weight: 400;
        margin-right: 0;
    }
    
    .topnavresponsive ul{
        display: flex;
        gap: .5rem;
        text-transform: uppercase;
        flex-direction: column;
        align-items: end;
        flex-grow: 1;
    }
}

/*Tablet Version*/

@media screen and (max-width:1100px) and (min-width: 601px){

    .primary-navigation{
        position: fixed;
        flex-direction: column;
        inset: 0 0 0 0;
        background: hsla(0, 0%, 0%, 0.5);
        backdrop-filter: blur(.75em);
        text-align: right;
        padding: min(20vh, 10rem) 5rem;
        transform: translateX(100%);
        transition: transform 350ms ease-out;
        z-index: 8000;
    }

    .primary-header{
        margin-left: -2rem;
        margin-right: 2rem;
    }

    .primary-navigation a{
        color: white;
    }

    .primary-navigation a:visited{
        color: #CAC1FF;
    }

    .primary-navigation[data-visible='true']{
        transform: translateX(0%);
    }

    .mobile-nav-toggle{
        display: block;
        background: url(/Content/Menu.svg);
        background-repeat: no-repeat;
        background-size: cover;
        width: 2rem;
        border: 0;
        aspect-ratio: 1;
        z-index: 9999;
        margin-right: 1rem;
    }

    .logo img{
        width: 25svw;
    }
    
    .abt-blurb picture{
        grid-column: 1 / span 3;
        grid-row: 2;
    }

    .abt-blurb img{
        width: 35svw;
    }

    .abt-blurb h1{
        grid-column: 1 /span 3;
    }

    .abt-blurb p{
        grid-row: 3;
        grid-column: 1/span 3;
        text-wrap: pretty;
        padding-right: 2rem;
    }

    .process ul{
        flex-direction: column;
        margin-left: 0;
        gap:1rem;
    }

    .process .card{
        width: 80%;
        margin-left: 0;
        padding: 2rem;
        align-self: center;
    }

    footer{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap:1rem;
        width: 100svw;
    }

    .firstPart{
        width: 100%;
        grid-column: 1/3;
        text-align: center;
        padding-left: 0;
    }

    .firstPart img{
        margin-left: 0;
    }

    .firstPart *{
        margin-left: 0;
    }

    .firstPart p{
        width: 100%;
    }

    .firstPart a{
        margin-right: 0;
    }

    footer *{
        padding-left: 0;
    }

    footer ul{
        text-align: center;
    }

    footer .tiny{
        grid-column: 1/3;
    }

}

