: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;
}

.primary-navigation 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;
    }

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

    .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 {
    position: absolute;
    top: 0;
    left: 0;
    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;
}


.card-list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-right: 2rem;
}

.services{
    padding-top: 3rem;
}

.services .card-list{
    text-align: center;
    justify-items: center;
}

.services .card-list .card{
    width: 75%;
    padding:0;
    text-align: center;
}

.fine-txt{
    text-align: center;
    font-weight: 200;
    width: 85%;
    grid-column: 1 / span 2;
}

.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: #CAC1FF;
    margin:1rem;
    text-align: left;
    padding-bottom: 2rem;
    border-radius: 1rem;
}

li img{
    position: relative;
    left: 40%;
    width: 15%;
    top: -5%;
    margin:0;
}

li h3{
    margin-top: 0;
}

.card h1{
    text-align: center;
    padding: 1rem;
}

.card .button{
    text-align: center;
    width: auto;
}

.get{
    display: grid;
    justify-items: center;
}

.get .card-list{
    display: flex;
    flex-direction: column;
}

.get .card-list .card{
    width: 30svw;
    padding: 1rem;
    text-align: center;
}

.get a:hover{
    text-decoration: underline;
}

.get a:visited{
    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;
    }

    .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;
    }

    .services{
        display: block;
        text-align: center;
        padding-top: 0;
    }

    .services h1{
        margin-top: 0;
        margin-bottom: 0;
        margin-left: 0;
        text-align: center;
    }

    .services .card-list *{
        margin-right: 0;
        margin-left: 0;
    }

    .services ul{
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .get{
        display: block;
        text-align: center;
    }
    
    .get ul{
        width: 100%;
        padding-left: 0;
    }

    .get .card-list .card{
        width: auto;
    }

    .get .card-list .card a{
        text-decoration: underline;
    }

    .topFoot{
        width: 120svw;
    }

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

    .firstPart{
        width: fit-content;
    }

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

    .firstPart p{
        width: auto;
    }
    
    .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;
    }
    
    .services .alt{
        margin-left: 0;
    }

    .services ul{
        width: auto;
        padding-left: 0;
        margin-right:3rem;
    }

    .price ul{
        padding-left: 0;
        margin-right: 2.75rem;
    }

    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;
    }

}

