/* Base Reset */
body, h1, h2, h3, h4, h5, h6, html, p {
    padding: 0;
    margin: 0;
}

img {
    border: none;
}

nav, section {
    display: block;
}

*, :after, :before {
    box-sizing: border-box;
}

body {
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    -webkit-text-size-adjust: none;
}

html {
    background: #f0f1f2;
    height: 100%;
    color: #1e2328;
    font: 10px Arial, Helvetica, sans-serif;
}

body {
    height: 100%;
    min-height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    font-size: 15px;
    line-height: 25px;
}

/* Text selection */
::selection,
:-moz-selection,
::-moz-selection {
    background-color: #5a5e62;
    color: #fff;
}

/* Typography */
h1 {
    font-size: 58px;
    font-weight: 700;
    line-height: 58px;
    margin-top: 50px;
    text-transform: uppercase;
}

h2 {
    font-weight: 700;
    font-size: 26px;
    line-height: 26px;
    margin-top: 50px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

h2[id]:before {
    content: "";
    width: 0;
    position: absolute;
    display: inline-block;
    height: 80px;
    margin-top: -80px;
    pointer-events: none;
}

h3,
.style_as_h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
    margin-top: 50px;
}

h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 25px;
    margin-top: 25px;
}

h4 + p {
    margin-top: 0;
}

p {
    margin-top: 25px;
}

b {
    font-weight: 600;
}

a {
    color: #5a5e62;
    text-decoration: underline;
}

a:hover,
h4 a {
    color: inherit;
}

h4 a {
    text-decoration: none;
}

li ul {
    list-style-type: none;
    margin-top: 0;
    margin-left: 30px;
    padding-left: 0;
}

/* Placeholder opacity */
::-webkit-input-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
    opacity: 0.4;
}

/* Responsive Design */
@media (max-width: 480px) {
    h1 {
        font-size: 40px;
        line-height: 40px;
        margin-top: 50px;
    }

    h2 {
        font-size: 18px;
        line-height: 20px;
        margin-top: 50px;
    }

    h2:before {
        height: 50px;
        margin-top: -50px;
    }

    h3,
    .style_as_h3 {
        font-size: 15px;
        line-height: 25px;
    }

    h3 {
        margin-top: 50px;
    }
}

/* Layout */
.page {
    height: 100%;
    overflow: visible;
    position: relative;
    z-index: 0;
}

@media (max-width: 1220px) {
    .page {
        transition: transform 0.25s ease-in-out;
    }
}

/* Page padding and content width */
:root {
    --pageside-padding: 10px;
}

@media (max-width: 960px) {
    :root {
        --page-contentwidth-12col: 100%;
    }
}

@media (min-width: 961px) {
    :root {
        --page-contentwidth-12col: calc(930px + var(--pageside-padding)*2);
        --page-contentwidth-10col: calc(770px + var(--pageside-padding)*2);
        --page-contentwidth-8col: calc(610px + var(--pageside-padding)*2);
    }
}

@media (max-width: 750px) {
    :root {
        --pageside-padding: 55px;
    }
}

@media (max-width: 480px) {
    :root {
        --pageside-padding: 15px;
    }
}

/* Animations */
@keyframes movebackground {
    0% {
        background-position: 0 0;
    }
    to {
        background-position: 84.85px 84.85px;
    }
}

@keyframes floating_x {
    0% {
        transform: translate3d(-5px, 0, 0);
    }
    to {
        transform: translate3d(5px, 0, 0);
    }
}

@keyframes floating_y {
    0% {
        transform: translateZ(0);
    }
    to {
        transform: translate3d(0, 20px, 0);
    }
}

@keyframes coursefinder__spin {
    0% {
        transform: rotate(0);
    }
    to {
        transform: rotate(1turn);
    }
}

@keyframes blink-animation {
    50% {
        opacity: 0;
    }
}

body {
    margin: 0;
    padding: 0;
}

/* Interactive elements */
[data-btoryear] {
    cursor: pointer;
}

[data-btoryear]:hover {
    text-decoration: underline;
}
