@font-face {
  font-family: 'Montserrat';
  src: URL('../fonts/Montserrat-Regular.woff');
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Bold.woff");
    font-weight: bold;
}

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
}


/* COLORS */

:root {
  --primary: #2A0A3F;
  --secondary: #FFBB00;
  --thirdary: #ffdd80;
  --light-primary: #8b86c0;
  --very-dark-grey: #1B1B1B;
  --darker-grey: #434343;
  --dark-grey: #7C7C7C;
  --light-grey: #efefef;
  --grey: #9C9C9D;
  --link: #2D0781;
  --off-white: #FCFCFC;
}

.primary { color: var(--primary); }
.link { color: var(--link); }
.red { color: #FF0000; }
.grey { color: var(--grey); }
.dark-grey { color: var(--dark-grey); }
.darker-grey { color: var(--darker-grey); }
.very-dark-grey { color: var(--very-dark-grey); }
.color-coded-green { color: #bbffab; }
.color-coded-blue { color: #bfebff; }
.white { color: white; }

.bg-prim {
    background-color: var(--primary);
    color: white;
    border-color: white;
}

.bg-light-prim {
    background-color: var(--light-primary);
    color: white;
}

.bg-prim a {
    color: white;
}

.bg-sec {
    background-color: var(--secondary);
    color: black;
}
.bg-third {
    background-color: var(--thirdary);
    color: black;
}

.bg-light-grey {
    background-color: var(--light-grey);
}
.bg-off-white {
    background-color: var(--off-white);
}

.bg-light {
    background-color: var(--off-white);
}

.bg-example {
    background-color: var(--thirdary);
}

.bg-white {
    background-color: white;
}

.bg-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.bg-picture {
    background-image: url("../../images/background.avif");
    background-size: cover;
    background-position: center;
    min-height: 700px;
}

/* TYPOGRAPHY */

.very-large-title {
    text-transform: none;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -1.5px;
    font-size: 52px;
}

.large-title {
    text-transform: none;
    font-weight: bold;
    line-height: 1.12;
    letter-spacing: -0.8px;
    font-size: 50px;
}

.medium-title {
    text-transform: none;
    font-weight: bold;
    line-height: 1.19;
    letter-spacing: -0.3px;
    font-size: 32px;
}

.small-title {
    text-transform: none;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0;
    font-size: 24px;
}

.large-content {
    text-transform: none;
    font-weight: 400;
    line-height: 1.33;
    letter-spacing: -0.2px;
    font-size: 22px;
}

.large-content-bold {
    text-transform: none;
    font-weight: bold;
    line-height: 1.33;
    letter-spacing: -0.2px;
    font-size: 20px;
}

.medium-content {
    text-transform: none;
    font-weight: 400;
    line-height: 1.44;
    letter-spacing: -0.2px;
    font-size: 18px;
}

.medium-content-bold {
    text-transform: none;
    font-weight: bold;
    line-height: 1.44;
    letter-spacing: -0.2px;
    font-size: 18px;
}

.small-content {
    text-transform: none;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    font-size: 16px;
}

.small-content-bold {
    text-transform: none;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0;
    font-size: 16px;
}

.very-small-content {
    text-transform: none;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
    font-size: 12px;
}

.header-link {
    text-transform: capitalize;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 0;
    font-size: 15px;
}

.medium-link-bold {
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1.25;
    letter-spacing: 0;
    font-size: 14px;
}

.medium-link {
    text-transform: none;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
    font-size: 14px;
}

.very-large-quote {
    text-transform: none;
    font-weight: 400;
    line-height: 1.36;
    letter-spacing: -0.3px;
    font-size: 28px;
}

button:focus,
input:focus {
    outline: 5px solid var(--light-primary) !important;
    outline-offset: -2px;
    box-shadow: 0 0 0 2px rgba(142, 36, 170, 0.3);
}
/* GENERIC COMPONENTS */

.center-column {
    max-width: 1230px;
    padding-left: 15px;
    padding-right: 15px;
    margin: auto;
}

.centered {
    margin: auto;
    text-align: center;
}

.centered-vert {
    margin-top: auto;
    margin-bottom: auto;
}

.vertical {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.horizontal {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.max1000 { max-width: 1000px; }
.max800 { max-width: 800px; }
.max700 { max-width: 700px; }
.max600 { max-width: 600px; }
.max550 { max-width: 550px; }
.max500 { max-width: 500px; }
.max400 { max-width: 400px; }
.max350 { max-width: 350px; }
.max300 { max-width: 300px; }
.max200 { max-width: 200px; }
.max150 { max-width: 150px; }
.max100 { max-width: 100px; }

.gap5 { gap: 5px; }
.gap10 { gap: 10px; }
.gap15 { gap: 15px; }
.gap20 { gap: 20px; }
.gap25 { gap: 25px; }
.gap30 { gap: 30px; }
.gap50 { gap: 50px; }
.gap100 { gap: 100px; }

.pad50 { padding:50px; }
.pad30 { padding:30px; }
.pad20 { padding:20px; }
.pad15 { padding:15px; }
.pad10 { padding:10px; }
.pad5 { padding:5px; }


.pad-vert-10 { padding-top: 10px; padding-bottom: 10px; }
.pad-vert-20 { padding-top: 20px; padding-bottom: 20px; }
.pad-vert-40 { padding-top: 40px; padding-bottom: 40px; }
.pad-vert-50 { padding-top: 50px; padding-bottom: 50px; }
.pad-vert-100 { padding-top: 100px; padding-bottom: 100px; }
.pad-hor-50 { padding-left: 50px; padding-right: 50px; }
.pad-hor-25 { padding-left: 25px; padding-right: 25px; }
.pad-hor-20 { padding-left: 20px; padding-right: 20px; }
.pad-hor-15 { padding-left: 15px; padding-right: 15px; }
.pad-hor-30 { padding-left: 30px; padding-right: 30px; }
.pad-hor-5 { padding-left: 5px; padding-right: 5px; }

.f-wrap { flex-wrap: wrap; }
.f-center { justify-content: center; }
.f-around { justify-content: space-around; }
.f-evenly { justify-content: space-evenly; }
.f-center-crossaxis { align-items: center; }
.f-center-self { align-self: center; }
.f-stretch { align-items: stretch; }
.f-start { justify-content: flex-start; }
.f-end { justify-content: flex-end; }
.f-start-crossaxis { align-items: flex-start; }
.f-left { order: 1; }
.f-right { order: 2; }
.f-half {flex-basis: 48%}
.f-third {flex-basis: 30%}

.grid { display: grid; gap: 2.5rem; }
.g-2cols { grid-template-columns: min-content auto; }
.g-3cols { grid-template-columns: 1fr auto 1fr; }
.g-half { grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); }
.g-third { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.g-fourth { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.g-start { align-items: start; }

.shadow-full {
    box-shadow: -4px -4px 20px 0 rgba(0, 0, 0, 0.2), 4px 4px 20px 0 rgba(0, 0, 0, 0.2);
}

.shadow-half {
    box-shadow: 4px 4px 20px 0 rgba(0, 0, 0, 0.2);
}

.inset-shadow {
    box-shadow: inset 4px 4px 20px 0 rgba(0, 0, 0, 0.4);
}


.small-border { border: 1px solid var(--grey); }
.medium-border { border: 2px solid white; }
.thick-border { border: 3px solid white; }

.full-rounded { border-radius: 50%; }
.very-rounded { border-radius: 20px; }
.medium-rounded { border-radius: 10px; }
.top-medium-rounded { border-radius: 10px 10px 0 0; }
.bottom-left-medium-rounded { border-radius: 0px 0px 0 10px; }
.slightly-rounded { border-radius: 5px; }
.slightly-rounded { border-radius: 5px; }

.accent-text { color: var(--primary); }
.accent-text-invert { color: var(--secondary); }

.button {
    padding: 12px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 7px;
    text-decoration: none;
    width: fit-content;
    min-width: 140px;
    text-align: center;
    cursor: pointer;
}

.accent-button {
    background-color: var(--primary);
    color: white !important;
}

.accent-button:hover {
    background-color: var(--light-primary);   
}

.accent-button:disabled:hover {
    box-shadow: none;
    cursor: not-allowed;
}

.accent-button-light:hover {
    background-color: var(--primary); 
}

.accent-button-invert {
    background-color: white;
    color: var(--primary) !important;
}

.accent-button-invert:hover {
    color: white !important;
    background-color: var(--light-primary);;   
}

.search {    
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'%3E%3C/path%3E%3C/svg%3E") no-repeat 13px center;
    padding: 9px 4px 9px 40px;
    height:15px;
    line-height: 25px;
    width: 200px;
    outline: none;
}

.search:focus{
    outline: none;
    border: 1px solid var(--link);
}

.indented {
    position: relative;
    color: hsl(210, 8%, 35%);
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 40px;
}

.indented::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  border-radius: 8px;
  background: hsl(210, 8%, 80%);
}

.header {
    height: 100px;
    margin: auto;
}

.header a, .header ul {
    text-decoration: none;
    list-style: none;
    margin: 0;
}

.header a { color: var(--primary); }
.header.invert a { color: white; }

.nav {
    height: 100%;
}

.full-page-form {
    background-color: white;
    color: var(--very-dark-grey);
    box-shadow: -4px -4px 20px 0 rgba(0, 0, 0, 0.2), 4px 4px 20px 0 rgba(0, 0, 0, 0.2);
    
    margin: auto;
    padding: 50px;
    padding-left: 100px;
    padding-right: 100px;
    
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.full-page-form input {
    height: 40px;
    line-height: 40px !important;
    font-size: 25px !important;
    color: var(--very-dark-grey);
    border: 1px solid var(--grey);
    padding-left: 11px;
    padding-right: 11px;
    font-weight: normal;
    box-sizing: border-box;
}

.full-page-form input:focus{
    outline: none;
    border: 2px solid var(--link);
}

textarea {
    height: 300px;
    line-height: 40px !important;
    font-size: 25px !important;
    color: var(--very-dark-grey);
    border: 1px solid var(--grey);
    padding-left: 10px;
    padding-right: 10px;
    font-weight: normal;
}

textarea:focus{
    outline: none;
    border: 2px solid var(--link);
}

summary {
    margin-bottom: 5px;
    cursor: pointer;
}

details.first {
    border-top: 1px solid black;
}

details {
    padding: 20px;
    border-bottom: 1px solid black;
}

details[open] summary {
    margin-bottom: 20px;
}

details span {
    font-size: 17px;
}


.section-spacing, .footer-spacing {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-hr {
    margin: 0 !important;
    align-self: stretch;
}

.footer-links a {
    text-decoration: none;
    color: var(--very-dark-grey);
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-hr {
    margin-top: 80px;
}

.curved {
    clip-path: ellipse(70% 100% at center top);
}

.copyright {
    margin:  0;
    margin-top: 7px;
    /*float: right;*/
}


/* HAMBURGER MENU STYLES */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 3px 0;
    transition: 0.3s;
}

.header.invert .hamburger span {
    background-color: white;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: inherit;
    width: 100%;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu ul {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
}

/* MOBILE */
.wrap700 {}
.wrap900 {}
.wrap1200 {}

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

    form {
        padding: 30px !important;
    }
}


@media only screen and (max-width: 700px) {
    .wrap700 {
        flex-wrap: wrap;
    }

    .center700 {
        text-align: center;
        margin: auto;
    }

    .full700 {
        max-width: 95% !important;
        width: 95% !important;
    }

    .half700 {
        max-width: 42% !important;
        width: 42% !important;
    }

    .header {
        height: unset;
        position: static;
    }

    .header nav {
        padding-top: 20px;
        padding-bottom: 20px;
        flex-direction: column;
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
    }

    .desktop-nav {
        display: none !important;
    }

    .mobile-menu {
        width: 100%;
    }

    .mobile-menu li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .mobile-menu li:last-child {
        border-bottom: none;
    }
}

@media only screen and (max-width: 900px) {
    .wrap900 {
        flex-wrap: wrap;
    }

    .center900 {
        text-align: center;
        margin: auto;
    }

    .f-right900 {
        order: 2;
    }

    .full900 {
        max-width: 95% !important;
        width: 95% !important;
    }

    .half900 {
        max-width: 45% !important;
        width: 45% !important;

    }

    .hide900 {
        display: none;
    }

    .curved {
        clip-path: unset;
    }
}

@media only screen and (max-width: 1200px) {
    .wrap1200 {
        flex-wrap: wrap;
    }

    .center1200 {
        text-align: center;
        margin: auto;
    }

    .full1200 {
        max-width: 95%;
        width: 95%;
    }

    .half1200 {
        max-width: 45%;
        width: 45%;
    }

    .third1200 {
        max-width: 30%;
        width: 30%;
    }


}


@media only screen and (max-width: 1200px) and (min-width: 800px) {

    .half-grid-row-span-3 { grid-row: span 3; }
    .half-grid-col-span-2 { grid-column: span 2; }
    .half-grid-col-span-3 { grid-column: span 3; }
}
@media only screen and (min-width: 1200px) {

    .full-grid-row-span-3 { grid-row: span 3; }
    .full-grid-col-span-2 { grid-column: span 2; }
    .full-grid-col-span-3 { grid-column: span 3; }
    .full-grid-col-span-4 { grid-column: span 4; }
}