@font-face {
    font-family: PhatBoi;
    src: url(assets/fonts/CCPhatBoiBold.woff2) format('woff2');
}

@font-face {
    font-family: BebasNeue;
    src: url(assets/fonts/BebasNeueRegular.woff2) format('woff2');
}

@font-face {
    font-family: Arrows;
    src: url(assets/fonts/PeaxWebArrows.ttf) format('truetype');
}

* {
    padding: 0;
    margin: 0;
}

body {
    background-color: #292929;
    text-align: center;
}

footer > img {
    width: 80%;
    margin: 50px 8vw 20px 8vw;
}

header {
    position: fixed;
    z-index: 3;
    width: 100%;
    background-color: #1a1816;
}

header > img {
    width: 40%;
    margin: 8px 8vw 4px 8vw;
}

header ul {
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-image: url('assets/images/logos/header-logo.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

header li {
    flex: 1;
    display: flex;
    justify-content: center;
}

header a {
    color: #faf6e8;
    font-family: PhatBoi;
    font-size: 4vmin;
    transition: .2s;
}

header a:hover {
    transform: scale(1.2);
    cursor: pointer;
}

main {
    padding-top: 212px;
}

main.thankyou {
    height: 60vh;
    display: flex;
    flex-direction: column;
}

h1 {
    font-family: BebasNeue;
    font-size: 7em;
    color: #be5504;
}

h2 {
    font-family: BebasNeue;
    font-size: 5em;
    color: #be5504;
}

h3 {
    font-family: BebasNeue;
    font-size: 4em;
    color:#faf6e8;
}

h4 {
    font-family: BebasNeue;
    font-size: 2.5em;
    color:#faf6e8;
    margin: 0 10px 20px 10px;
}

p, label, button, a {
    color: #faf6e8;
    font-family: BebasNeue;
    font-size: 1.7rem;
}

label > span {
    color: #be5504;
}

a {
    text-decoration: none;
}

ul {
    list-style-type: none;
}

button {
    margin: 0 auto;
    padding: 10px;
    height: 60px;
    border: 4px solid #be5504;
    border-radius: 15px;
    background-color:#212121;
    cursor: pointer;
}

form {
    display: flex;
    flex-direction: column;
}

form > div {
    margin: 15px auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

form > div > div {
    margin: 15px 15px 0 15px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

form > label {
    margin-top: 30px;
}

div:has(> div > input[type=radio]), div:has(> div > input[type=checkbox]) {
    margin-top: 0;
    align-items: start;
}

textarea {
    width: 40vw;
    height: 60px;
    text-align: center;
}

input[type=range] {
    appearance: none;
    height: 2px;
    width: 100%;
    position: absolute;
    background-color: #ffffff;
    pointer-events: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 24px;
    height: 24px;
    background-color: #be5504;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #C6C6C6;
    cursor: pointer;
}

input[type=range]::-webkit-slider-thumb:hover {
    background: #f7f7f7;
}

input[type=range]::-webkit-slider-thumb:active {
    box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
    -webkit-box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
}

input[type=text], input[type=email], input[type=tel], input[type=date], textarea {
    margin: 0 5px;
    padding: 3px;
    color: white;
    background-color:#212121;
    border: 2px solid #be5504;
    border-radius: 5px;
    font-family: BebasNeue;
    font-size: 1.4rem;
}

input[type=date] {
    color-scheme: dark;
}

input[type=radio], input[type=checkbox] {
    -webkit-appearance: none;
    margin: 0 5px;
    accent-color: #be5504;
    width:30px;
    height:30px;
    background:white;
    border-radius:5px;
    border:2px solid white;
}

input[type=radio] {
    border-radius: 50%;
}

input[type='checkbox']:checked, input[type=radio]:checked {
    background: #be5504;
    border-width: 6px;
}

.tagline {
    font-family: PhatBoi;
    font-size: 3vmin;
    color:#faf6e8;
}

.tagline span {
    font-family: Arrows;
}

.ig-logo-link {
    position: fixed;
    left: 0;
    font-family: Arrows;
    font-size: 6.5vmin;
}

.instagram-logo {
    height: 11vmin;
    margin: 10px 0 0 10px;
}

.services-wrapper {
    display: flex;
    flex-direction: row;
}

.services-box {
    flex: 1;
    width: 12vw;
    height: 16vw;
    margin: 5% 10%;
    border: 4px solid #be5504;
    border-radius: 15px;
    box-shadow: 2px 2px 3px #0b0500 inset, 0 0 9px #0b0500 inset;
    transition: .2s;
}

.services-box:hover {
    transform: scale(1.2);
    cursor: pointer;
}

.services-box h2 {
    margin-top: 5px;
    font-size: 3.4vw;
}

.services-box img {
    height: 10vw;
    width: 10vw;
    margin: auto auto;
}

.gallery-image {
    height: 300px;
    margin: 5px;
}

.range-container {
    display: flex;
    flex-direction: column;
    width: 40%;
    margin: 10px auto;
    margin-top: 20px;
    position: relative;
}

.range-container > div {
    display: flex; 
    flex-direction: row;
    justify-content: space-between;
    margin-top: 60px;
}

.range-container > label {
    margin-top: 20px;
}

.headshot-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    height: 280px;
    margin: 40px;
}

.headshot-wrapper > div {
    display: flex;
    flex-direction: row;
}

.headshot-wrapper img {
    height: 100%;
    margin: 0 8px;
}

.headshot-wrapper ul {
    text-align: right;
}

.headshot-wrapper img + ul {
    text-align: left;
}

.honey {
    position: fixed;
    top: 0;
}

.loader {
  width: 48px;
  height: 48px;
  border: 3px solid #FFF;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.loader::after {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid;
  border-color: #be5504 transparent;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 

#landing {
    width: 100%;
    height: 420px;
    background-image: url('assets/images/cycler/img0.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

#landing > h1 {
    text-align: center;
    font-family: BebasNeue;
    font-size: 10vw;
    color: #faf6e8;
    text-shadow: 3px 3px 3px #0b0500,
                 -2px -2px 1px #d4d4d4;
}

#about-text {
    margin: 0 10% 0 10%;
}

#budget-from-slider {
    height: 0;
    z-index: 1;
}

#contact-blurb {
    margin-bottom: 60px;
    padding-top: 30px;
    width: 65%;
    justify-self: center;
    color: #be5504;
    font-size: 2.2rem;
}

#go-home-button {
    border: 4px solid #be5504;
    border-radius: 15px;
    padding: 10px;
    background-color:#212121;
    margin: auto auto;
    font-size: 3em;
}

#who-are-we {
    margin: 10px;
}

@media only screen and (max-width: 500px) {
    main {
        padding-top: 160px;
    }

    form > div {
        flex-direction: column;
    }

    label[for=input-name] {
        margin-left: 5px;
    }

    label[for=input-phone] {
        margin-left: 20px;
    }

    button {
        margin-top: 20px;
    }
    
    textarea {
        width: 60vw;
    }

    .tagline {
        font-size: 2vmin;
    }

    .range-container {
        width: 80%;
    }

    .services-box {
        height: 18vw;
        margin: 5%;
    }

    .headshot-wrapper {
        flex-direction: column;
        height: 500px;
    }

    .headshot-wrapper img {
        height: 200px;
    }

    .headshot-wrapper h2 {
        font-size: 2.4em;
    }

    .headshot-wrapper h3 {
        font-size: 1.6em;
    }

    .headshot-wrapper a {
        font-size: 1em
    }

    .headshot-wrapper p {
        font-size: 1rem;
    }

    #contact-blurb {
        font-size: 1.4em;
        width: 80%;
        margin: 0 auto;
        padding-top: 0;
    }

    .gallery-image {
        height: 40vw;
    }

    #landing {
        margin-bottom: 20px;
    }

    #landing > h1 {
        font-size: 18vw;
    }

    #about-text {
        margin-top: 20px;
        font-size: 1.3rem;
    }
}