﻿@font-face {
    font-family: AvenirNext;
    src: url('../fonts/AvenirNextRegular.woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: AvenirNext;
    src: url('../fonts/AvenirNextMedium.woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: AvenirNext;
    src: url('../fonts/AvenirNextDemi.woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: CoopHeadline;
    src: url('../fonts/Co-opHeadline-Bold.woff2');
    font-weight: 800;
    font-style: normal;
}

html {
    /* COLOURS */
    /* Primary */
    --clr-white: hsl(0, 0%, 100%);
    --clr-blue: hsl(193, 100%, 40%);
    --clr-blue-darker: hsl(193, 100%, 35%);
    /* Secondary */
    --clr-black: hsl(0, 0%, 0%);
    --clr-navy: hsl(207, 100%, 17%);
    --clr-light-navy: hsl(207, 100%, 21%);
    --clr-dark-grey: hsl(0, 0%, 16%);
    --clr-grey: hsl(0, 0%, 43%);
    --clr-light-grey: hsl(0, 0%, 95%);
    --clr-light-blue: hsl(192, 67%, 94%);
    --clr-light-blue-hover: hsl(192, 67%, 88%);
    --clr-stroke: hsl(0, 0%, 80%);
    --clr-green: hsl(121, 94%, 36%);
    --clr-light-green: hsl(121, 94%, 95%);
    --clr-orange: hsl(35, 100%, 50%);
    --clr-light-orange: hsl(35, 100%, 93%);
    --clr-dark-orange: hsl(35, 100%, 40%);
    --clr-red: hsl(356, 85%, 52%);
    --clr-dark-red: hsl(356, 85%, 42%);
    --clr-light-red: hsl(356, 85%, 96%);
    --clr-red-stroke: hsl(356, 85%, 66%);
    --clr-focus: hsl(270, 65%, 56%);
    /* FONTS */
    --font-avenir-next: AvenirNext, Helvetica Neue, Helvetica, Arial, sans-serif;
    --font-coop-headline: CoopHeadline, Impact, Helvetica, Arial, sans-serif;
    /* UI */
    --ui-box-radius: 1.25rem;
    --ui-box-radius-medium: 0.5rem;
    --ui-box-radius-small: 0.3125rem;
    --ui-box-shadow: 0px 4px 7px hsla(0, 0%, 0%, 0.2);
}

body {
    color: var(--clr-dark-grey);
    font-family: var(--font-avenir-next);
    font-size: 100%;
    line-height: 1.4em;
}

.holding-box {
    background-color: var(--clr-white);
    border-radius: var(--ui-box-radius);
    box-shadow: var(--ui-box-shadow);
    padding: 1.25rem;
}

.holding-box--small {
    border-radius: var(--ui-box-radius-medium);
    padding: 0.75rem;
}

.sr-only {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* BUTTONS */

.btn {
    display: inline-block;
    font-family: var(--font-avenir-next);
    background-color: var(--clr-blue);
    border-radius: var(--ui-box-radius-small);
    color: #fff;
    border: 0;
    font-size: 0.9em;
    font-weight: 400;
    padding: 0.3125rem 0.5rem 0.25rem 0.5rem;
    line-height: 1.2em;
    text-decoration: none;
    transition: background-color .3s ease;
    cursor: pointer;
    white-space: nowrap;
}
.btn:hover {
    background-color: var(--clr-blue-darker);
}