html {
    box-sizing: border-box;
}

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

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    background: #F54C00;
    color: #333;
    font: 1.8vmax/1.4 'Montserrat', sans-serif;
}

a {
    color: #333;
    font-weight: 800;
}

ol,
ol li {
    margin-left: 0;
    padding-left: 0;
}

ol {
    margin-left: 1.8vmax;
}

.main {
    min-height: 100%;
    padding: 4vmin;

    animation: fadeIn ease-in-out 0.4s 1;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    0% {
      opacity: 0.0;
      transform: translateY(-20px);
    }
    100% {
      opacity: 1.0;
      transform: translateY(0);
    }
}

.banner {
    font: 800 5vw 'Montserrat', sans-serif;
    text-align: center;
}

.banner h1 {
    margin: 0 0 5vh;
}

.banner .subtitle {
    font-size: 2vw;
    position: relative;
    top: -5vw;
}

.content {
    text-align: center;
}

.content p,
.content ul {
    margin: 0 0 2.05vmax;
}

.loading {
    text-align: left;
    display: inline-block;
    width: 180px;
}

.loading::after {
  display: inline-block;
  animation: dotty steps(1,end) 1s infinite;
  content: '';
}

@keyframes dotty {
    0%   { content: ''; }
    25%  { content: '.'; }
    50%  { content: '..'; }
    75%  { content: '...'; }
    100% { content: ''; }
}

.media {
    margin-top: 5vh;
}

.case {
    margin: 2vh 0 5vh;
    padding: 0;
}

.case-title {
    font-weight: 800;
    margin: 2vh 0;
}

.case-image {
    border: 0;
    object-fit: fill;
    width: 100%;
}

.case-image_frame {
    height: 35vmax;
}

.case-image_margin {
    margin: 2vh 0;
}

.footer,
.case-caption {
    text-align: left;
}

.footer {
    margin-top: 4.1vmax;
}

@media only screen and (min-width : 1200px) {
    body {
        font-size: 1.6vmax;
    }

    .main {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 1fr auto;
        padding: 8vmin 12vmin;
    }

    .media {
        padding: 0 20vh;
    }

    .case-title {
        font-size: 2.2vmin;
        text-align: center;
    }

    .footer,
    .case-caption {
        font-size: 1.5vmin;
        text-align: center;
    }

    .footer {
        margin-top: 0;
    }
}
