html {
    scroll-behavior: smooth;
    font-size: 16px;
}

header {
    z-index: 2;
}

body {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.06rem;
    line-height: 2em;
    color: #222;
    background: #eee;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

section {
    overflow: hidden;
}

pre {
    padding: 0;
    margin: 0;
}

code {
    white-space: pre-wrap;
}

.d-none {
    display: none !important;
}

.background-light {
    background-color: #f5f5f5;
}

.min-height-full {
        min-height: 100vh;
}

/* Menu */
.nav-menu {
    background-color: #eee;
    padding: 0rem 10rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -2rem;
}

.nav-menu ul {
    display: flex;
}

.sticky {
    position: sticky;
    top: 2rem;
}

/*Text*/

.title {
    font-size: 4rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.title-overlap {
    font-weight: 400;
}

.title-indent {
    margin-left: 10rem;
}

.subheading {
    font-size: 1.4rem;
    font-weight: 400;
    max-width: 75%;
    margin-top: 2rem;
}

.bold {
    font-weight: 600;
}

h1 {
    font-size: 4rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

h2 {
    font-size: 3rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

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

h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

h5 {
    color: #c2bcff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5 {
    margin-bottom: 1rem;
    line-height: 1em;
}

p {
    font-size: 1rem;
    margin: 0;
    padding: 0;
    margin-bottom: 1rem;
}

a {
    font-size: .8rem;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    transition: 200ms;
}

a:hover {
    color: #c2bcff;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

li {
    padding-right: 2rem;
}

li:first-child {
    padding-left: 0;
}

li:last-child {
    padding-right: 0;
}

.overlap-box>h1,
.overlap-box>h2,
.overlap-box>h3,
.overlap-box>h4 {
    margin-bottom: 0;
}

/*Modal*/

.modal-img {
    transition: all 200ms ease;
}

.modal-img:hover {
    opacity: 80%;
    cursor: pointer;
    transition: all 200ms ease;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2;
    padding-top: 5rem;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(5, 5, 5, 0.8);
    transition: all 200ms ease;
  }
  
  .modal-content {
    margin: auto;
    display: block;
    width: 100%;
    transition: all 200ms ease;
  }

  .button-modal {
    margin-bottom: 1rem;
  }

/*Collapsible*/

.button-collapsible {
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
  }

  .button-collapsible::after {
    display: inline-block;
    content: url('images/arrow_small_right.svg');
    width: .6rem;
    margin-left: 1rem;
    transition: all 200ms ease;
}

.button-collapsible:hover::after {
    transform: translateX(1rem);
    transition: all 200ms ease;
}
  
.active, .button-collapsible:hover {
    color: #fff;
}

.button-collapsible.active::after{
    transform: translateX(1rem) rotate(90deg);
    transition: all 200ms ease;
}

.collapsible-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 400ms ease-in-out;
}

/* Checkbox */

.checkbox-wrapper {
    display: flex;
    align-items: center;
}

.checkbox-wrapper label {
    margin-left: 1rem;
}

.checkbox-wrapper .checkbox {
    appearance: none;
    background-color: #222;
    border-radius: 72px;
    border-style: none;
    flex-shrink: 0;
    height: 20px;
    margin: 0;
    position: relative;
    width: 30px;
}

.checkbox-wrapper .checkbox::before {
    bottom: -6px;
    content: "";
    left: -6px;
    position: absolute;
    right: -6px;
    top: -6px;
}

.checkbox-wrapper .checkbox,
  .checkbox-wrapper .checkbox::after {
    transition: all 100ms ease-out;
}

.checkbox-wrapper .checkbox::after {
    background-color: #fff;
    border-radius: 50%;
    content: "";
    height: 14px;
    left: 3px;
    position: absolute;
    top: 3px;
    width: 14px;
}

.checkbox-wrapper input[type=checkbox] {
    cursor: default;
}

.checkbox-wrapper .checkbox:hover {
    background-color: #333;
    transition-duration: 0s;
}

.checkbox-wrapper .checkbox:checked {
    background-color: #555;
}

.checkbox-wrapper .checkbox:checked::after {
    background-color: #fff;
    left: 13px;
}

.checkbox-wrapper :focus:not(.focus-visible) {
    outline: 0;
}

.checkbox-wrapper .checkbox:checked:hover {
    background-color: #666;
}

/*Boxes*/

.div-hover:hover .overlap-box {
    background-color: #222;
    color: #fff;
    transform: translateY(-1rem);
    transition: all ease 200ms;
}

.div-hover:hover .box {
    background-color: #222;
    transform: translateY(1rem);
    transition: all ease 200ms;
}

.box {
    padding: 2rem;
    border-radius: 0.2rem;
    background-color: #f5f5f5;
    margin-bottom: 1rem;
    transition: all ease 200ms;
    cursor: default;
}

.box:hover {
    color: #fff;
    background-color: #222;
    transform: translateY(-.25rem);
    transition: all ease 200ms;
}

a>.box {
    cursor: pointer;
}

.content-box {
    padding: 4rem;
    border-radius: 0.2rem;
    background-color: #f5f5f5;
    margin-bottom: 1rem;
    transition: all ease 200ms;
    cursor: default;
}

.new-box {
    border-radius: .2rem;
    background-color: #f5f5f5;
    margin-top: -5rem;
    margin-bottom: 5rem;
    margin-right: -5rem;
    transition: all ease 200ms;
    cursor: default;
    z-index: 1;
}

.new-box-img {
    transition: all ease 200ms;
}

.new-box-hover:hover .new-box {
    background-color: #222;
    transform: translateX(1rem);
    transition: all ease 200ms;
}

.new-box-hover:hover .new-box-img {
    transform: translateX(-1rem);
    transition: all ease 200ms;
}


.big-box {
    border-radius: 0.2rem;
    background-color: #f5f5f5;
    margin-bottom: 1rem;
    transition: all ease 200ms;
    cursor: default;
}

.big-box:hover {
    transition: all ease 200ms;
}

.medium-box {
    border-radius: .2rem;
    background-color: #f5f5f5;
    margin-bottom: 1rem;
    transition: all ease 200ms;
    cursor: default;
}

.medium-box:hover {
    transform: translateY(-.25rem);
    transition: all ease 200ms;
}

.overlap-box {
    padding: 1rem;
    border-radius: .2rem;
    background-color: #f5f5f5;
    transition: all ease 200ms;
    cursor: default;
}

.overlap-under {
    margin-top: -1rem;
}

.overlap-over {
    margin-bottom: -1rem;
}

.overlap-box:hover {
    background-color: #222;
    color: #fff;
    transform: translateY(1rem);
    transition: all ease 200ms;
}

.small-box {
    padding: 0.5rem 1rem;
    border-radius: 10rem;
    background-color: #c2bcff;
    margin-bottom: .5rem;
    display: inline-block;
    transition: all ease 200ms;
    cursor: default;
}

.small-box:hover {
    background-color: #222;
    color: #fff;
    transform: translateY(-.25rem);
    transition: all ease 200ms;
}

.small-box p {
    margin: 0;
    font-weight: 600;
    font-size: .8rem;
}

.link-box {
    padding: 2rem;
    border-radius: 10rem;
    background-color: #c2bcff;
    box-shadow: .5rem .5rem 1rem 0 #22222220;
    margin-bottom: 1rem;
    transition: all ease 200ms;
    align-items: center;
}

.link-box:hover {
    background-color: #222;
    transform: translateY(-.25rem);
    transition: all ease 200ms;
}

.link-box h3, .link-box p {
    margin: 0;
}

/*Margins*/

.container {
    padding: 5rem 10rem;
}

.margin {
    margin: 0rem 5rem;
}

.margin-t-2 {
    margin-top: 2rem;
}

.margin-b-2 {
    margin-bottom: 2rem;
}

.margin-r-10 {
    margin-right: -10rem;
}

.margin-l-10 {
    margin-left: -10rem;
}

.padding-5 {
    padding: 5rem;
}

.padding-4 {
    padding: 4rem;
}


.padding-2 {
    padding: 2rem;
}

.display-inline-block {
    display: inline-block;
}

.display-flex {
    display: flex;
}

.justify-content-end {
    justify-content: end;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-space-around {
    justify-content: space-around;
}

.justify-content-space-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.align-self-center {
    align-self: center;
}

.align-self-end {
    align-self: end;
}

.flex-direction-column {
    flex-direction: column;
}

.col-1 {
    flex: 0 0 100%;
    max-width: 100%;
}

.col-8 {
    flex: 0 0 80%;
    max-width: 80%;
}

.col-7 {
    flex: 0 0 70%;
    max-width: 70%;
}

.col-6 {
    flex: 0 0 60%;
    max-width: 60%;
}

.col-5 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-4 {
    flex: 0 0 40%;
    max-width: 40%;
}

.col-3 {
    flex: 0 0 30%;
    max-width: 30%;
}

.col-2 {
    flex: 0 0 20%;
    max-width: 20%;
}

.z-1 {
    z-index: 1;
}

/* Flex div */
.flex-div {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.overflow-hidden {
    overflow: hidden;
}

.flex-img {
    display: flex;
    position: static;
    transform: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

img {
    border-radius: 0.2rem;
}

.video {
    width: 100%;
    border-radius: .2rem;
    min-height: 100%;
}

/*Overlay images*/

.overlay-image-container {
    position: relative;
    top: 0;
    left: 0;
}

.overlay-image {
    position: relative;
    top: 0;
    left: 0;
    transition: all ease 400ms;
}

.underlay-image {
    position: absolute;
    top: 0;
    left: 0;
}

.big-box:hover .overlay-image {
    opacity: 0;
    transition: all ease 400ms;
}


/* Buttons */

button {
    font-family: 'Outfit', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    color: #ddd;
    letter-spacing: 0.1rem;
    text-decoration: none;
    transition: 200ms;
    cursor: pointer;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    outline: none;
}

button:hover {
    color: #fff;
}

.button-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.button {
    display: inline-block;
}

.button-right {
    padding: 0;
}

.button-right::after {
    display: inline-block;
    content: "";
    height: .6rem;
    width: 2rem;
    margin-left: 1rem;
    transition: all 200ms ease;

    background-color: #222;
    -webkit-mask: url("data:image/svg+xml,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 50 17.66'%3E%3Crect y='6.83' width='48.13' height='4'/%3E%3Crect x='42.17' y='-.42' width='4' height='12.5' transform='translate(8.81 32.94) rotate(-45)'/%3E%3Crect x='37.91' y='9.83' width='12.5' height='4' transform='translate(4.57 34.69) rotate(-45)'/%3E%3C/svg%3E") no-repeat center / contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;

    mask: url("data:image/svg+xml,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 50 17.66'%3E%3Crect y='6.83' width='48.13' height='4'/%3E%3Crect x='42.17' y='-.42' width='4' height='12.5' transform='translate(8.81 32.94) rotate(-45)'/%3E%3Crect x='37.91' y='9.83' width='12.5' height='4' transform='translate(4.57 34.69) rotate(-45)'/%3E%3C/svg%3E") no-repeat center / contain;
    mask-repeat: no-repeat;
    mask-size: contain;
}

.button-right-round {
    padding: 0.5rem 1rem;
    color: #222;
    background-color: #c2bcff;
    box-shadow: .5rem .5rem 1rem 0 #22222220;
    border-radius: 10rem;
    transition: all 200ms ease;
}

.button-right:hover::after {
    transform: translateX(1rem);
    transition: all 200ms ease;
    background-color: #c2bcff;
}

.button-right-round:hover {
    background-color: #222;
    padding-right: 2rem;
    transition: all 200ms ease;
}

.button-right-round::after {
    content: "";
    display: inline-block;
    height: .6rem;
    width: 2rem;
    margin-left: 1rem;
    transition: all 200ms ease;

    background-color: #222;
    -webkit-mask: url("data:image/svg+xml,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 50 17.66'%3E%3Crect y='6.83' width='48.13' height='4'/%3E%3Crect x='42.17' y='-.42' width='4' height='12.5' transform='translate(8.81 32.94) rotate(-45)'/%3E%3Crect x='37.91' y='9.83' width='12.5' height='4' transform='translate(4.57 34.69) rotate(-45)'/%3E%3C/svg%3E") no-repeat center / contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;

    mask: url("data:image/svg+xml,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 50 17.66'%3E%3Crect y='6.83' width='48.13' height='4'/%3E%3Crect x='42.17' y='-.42' width='4' height='12.5' transform='translate(8.81 32.94) rotate(-45)'/%3E%3Crect x='37.91' y='9.83' width='12.5' height='4' transform='translate(4.57 34.69) rotate(-45)'/%3E%3C/svg%3E") no-repeat center / contain;
    mask-repeat: no-repeat;
    mask-size: contain;
}

.button-right-round:hover::after {
    transform: translateX(1rem);
    transition: all 200ms ease;
    background-color: #c2bcff;
}

.button-down {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.button-down::after {
    content: "";
    display: inline-block;
    width: .6rem;
    height: 2rem;
    transition: all 0200ms ease;

    background-color: #222;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17.66 50'%3E%3Crect x='6.83' y='0' width='4' height='48.13'/%3E%3Crect x='5.57' y='42.17' width='12.5' height='4' transform='translate(-27.77 21.3) rotate(-45)'/%3E%3Crect x='3.84' y='37.92' width='4' height='12.5' transform='translate(-29.52 17.06) rotate(-45)'/%3E%3C/svg%3E") no-repeat center / contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17.66 50'%3E%3Crect x='6.83' y='0' width='4' height='48.13'/%3E%3Crect x='5.57' y='42.17' width='12.5' height='4' transform='translate(-27.77 21.3) rotate(-45)'/%3E%3Crect x='3.84' y='37.92' width='4' height='12.5' transform='translate(-29.52 17.06) rotate(-45)'/%3E%3C/svg%3E") no-repeat center / contain;
    mask-repeat: no-repeat;
    mask-size: contain;
  }

.button-down:hover::after {
    transform: translateY(1rem);
    transition: all 200ms ease;
    background-color: #c2bcff;
}

.button-menu {
    display: none;
    visibility: hidden;
    position: fixed;
    cursor: pointer;
    border: none;
    background-color: #222;
    margin: 0;
    padding: 1rem;
    right: 0;
    top: 0;
    z-index: 3;
}

.button-pagenav {
    display: inline-block;
    border-radius: .2rem;
    background-color: #f5f5f5;
    box-shadow: .5rem .5rem 1rem 0 #22222220;
    padding: 1rem;
    margin-bottom: .5rem;
    transition: all 200ms ease;
}

.button-pagenav:hover {
    background-color: #222;
    padding-right: 2rem;
    transition: all 200ms ease;
}

.button-pagenav::after {
    display: inline-block;
    content: "";
    width: .6rem;
    height: 1rem;
    vertical-align: middle;
    margin-left: 1rem;
    transition: all 200ms ease;
    background-color: #222;

    -webkit-mask: url("data:image/svg+xml,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 17.66 17.66'%3E%3Cg id='Layer_2'%3E%3Crect x='6.82' y='-.41' width='4' height='12.5' transform='translate(-1.55 7.95) rotate(-45)'/%3E%3Crect x='2.58' y='9.83' width='12.5' height='4' transform='translate(-5.78 9.71) rotate(-45)'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;

    mask: url("data:image/svg+xml,%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 17.66 17.66'%3E%3Cg id='Layer_2'%3E%3Crect x='6.82' y='-.41' width='4' height='12.5' transform='translate(-1.55 7.95) rotate(-45)'/%3E%3Crect x='2.58' y='9.83' width='12.5' height='4' transform='translate(-5.78 9.71) rotate(-45)'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
    mask-repeat: no-repeat;
    mask-size: contain;
}

.button-pagenav:hover::after {
    transform: translateX(1rem);
    transition: all 200ms ease;
    background-color: #c2bcff;
}

.button-fill {
    display: inline-block;
    padding: .5rem 1rem;
    border-radius: 10rem;
    transition: all 200ms ease;
    background: linear-gradient(to left, #eeeeee00 50%, #222 50%);
    background-size: 200% 100%;
    background-position:right bottom;
    margin-left:10px;
}

.button-fill:hover {
    padding: .5rem 1rem;
    background-position:left bottom;
}

.button-pop {
    display: inline-block;
    border-radius: 10rem;
    padding: .5rem 1rem;
    transition: all 200ms ease;
}
.button-pop:hover {
    background-color: #222;
    box-shadow: .5rem .5rem 1rem 0 #22222220;
    transform: translateY(-.25rem);
    transition: all 200ms ease;
}

/* Footer */
footer {
    margin-top: auto;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 10rem;
    height: 5rem;
}

.footer ul {
    display: flex;
}

.footer p {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

/*Custom Colors and Fonts*/

.light-color{
    color: #222;
}

.light-color:hover{
    color: #fff;
}

.dark-color{
    color: #fff;
}

.dark-color:hover{
    color: #fff;
}

.laststop-white{
    background-color: #fff;
}

.little-cosmos-yellow {
    background-color: #FFD363;
}

.little-cosmos-red {
    background-color: #FD3E3E;
}

.epilogue-dark-purple {
    background-color: #9D5BDF;
}

.epilogue-purple {
    background-color: #BD82F9;
}

.epilogue-light-purple {
    background-color: #E1C3FF;
}

.oceanbuddie-blue {
    background-color: #00FFFF;
}

.galway-orange {
    background-color: #FF8250;
}
.galway-green {
    background-color: #00B464;
}

.galway-blue {
    background-color: #46AAD2;
}

.galway-red {
    background-color: #F0463C;
}


.font-example {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.kosugi {
    font-family: 'Kosugi', sans-serif;
}

.cascadia-code {
    font-family: 'Cascadia Code', monospace;
}

.audiowide {
    font-family: 'AudioWide', sans-serif;
}

.righteous {
    font-family: 'Righteous', sans-serif;
}

.silkscreen {
    font-family: 'Silkscreen', cursive;
}

.silkscreen-bold {
    font-family: 'Silkscreen', cursive;
    font-weight: 700;
}

.caveat {
    font-family: 'Caveat', cursive;
}

.gloriahallelujah {
    font-family: 'Gloria Hallelujah', cursive;
}

.timesnewroman {
    font-family: 'Times New Roman', Times, serif;
}

/* Responsive */
@media screen and (max-width: 1700px) {
    .margin {
        margin: 0;
    }
}

@media screen and (max-width: 1500px) {
    .margin {
        margin: 0;
    }
}

@media screen and (max-width: 1200px) {
    .margin {
        margin: 0;
    }

    .s-col-1 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .s-col-8 {
        flex: 0 0 80%;
        max-width: 80%;
    }

    .s-col-5 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media screen and (max-width: 1000px) {
    .margin {
        margin: 0;
    }

    .container {
        padding: 2rem;
    }

    .s-margin-bottom {
        margin-bottom: 2rem;
    }

    .padding-4 {
        padding: 2rem;
    }

    /*Text*/

    .title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .title-overlap {
        margin-bottom: 0;
    }

    .title-indent {
        margin-left: 2rem;
    }

    .subheading {
        font-size: 1.5rem;
        max-width: none;
    }

    h1 {
        font-size: 3rem;;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1rem;
    }

    h5 {
        font-size: 1rem;
    }

    h1, h2, h3, h4, h5 {
        line-height: 1em;
    }

    .font-example {
        font-size: 2rem;
    }

    /*Boxes*/

    .content-box {
        padding: 2rem;
    }

    .link-box {
        display: block;
        padding: 2rem;
    }

    /*Menu*/

    .button-menu {
        display: inline-block;
        visibility: visible;
    }

    #bar1,
    #bar2 {
        width: 1.2rem;
        height: .2rem;
        background-color: rgb(250, 250, 250);
        margin: .2rem 0;
        transition: 200ms;
    }

    .change-bar1 {
        transform: translate(0, 3.5px) rotate(-45deg);
    }

    .change-bar2 {
        transform: translate(0, -3.5px) rotate(45deg);
    }

    .nav-menu {
        display: flex;
        position: fixed;
        width: 100vw;
        height: 100vh;
        top: 0;
        padding: 0;
        margin: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translate3d(100%, 0, 0);
        transition: all .8s ease-in-out;
    }

    .menu-open {
        transform: translate3d(0, 0, 0);
    }

    .disable-scroll {
        overflow: hidden;
    }

    .nav-menu ul {
        display: block;
    }

    .nav-menu li {
        padding: 0 0 2rem 0;
    }

    .nav-menu a {
        color: #222;
    }

    .nav-logo {
        display: none;
    }

    .nav-logo-mobile {
        display: block;
    }

    .nav-logo-mobile img {
        max-height: 60px;
    }

    /*Footer*/

    .footer {
        padding: 2rem;
    }

    .footer-link {
        display: none;
    }
}