@import url(reset.css);

html {
    --persimmon: #F45D01;
    font: 1.6rem Verdana;
}

body {
    display: flex;
    flex-flow: column;
    align-items: center;
}

header {
    height: 8vh; width: 100%;
    padding-left: 12.5vw;
    top: 0;
    position: sticky;
    background-color: #F4D35E;
    border-bottom: 1px solid black;
    z-index: 10;
}

header h2 {
    float: left;
    height: 8vh; width: auto;
    font-size: 2.2rem;
    line-height: 8vh;
}

nav ul {
    display: flex;
    flex-flow: row wrap;
    list-style-type: none;
}

nav li {
    height: 8vh; width: auto;
    font-size: 1.7rem;
    line-height: 8vh;
    padding-left: 2vw;
}

.hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75vh; width: 98%;
    margin: 10px;
    background-image: url(https://images.unsplash.com/photo-1608198093002-ad4e005484ec?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1632&q=80);
    background-size: cover;
    background-position-y: center;
    z-index: -2;
}

.hero h1 {
    position: relative;
    height: 15vh; width: 30vw;
    background-color: #EBEBD3;
    text-align: center;
    line-height: 15.5vh;
    font-family: 'lucida console';
    font-size: 5.5rem;
    border-radius: 10% / 80%;
}

.hero h1::before {
    content: '';
    position: absolute;
    top: 2.5vh; left: -3vw;
    height: 10vh; width: 36vw;
    background-color: #EBEBD3;
    border-radius: 80% / 10%;
    z-index: -1;
}

main {
    width: 75vw;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

main p:first-child {
    font-size: 1.6rem;
    text-align: justify;
    margin-top: 5vh;
}

main div {
    position: relative;
    height: 50vh;
    margin-top: 25vh;
    border-radius: 10vh;
    background-color: var(--persimmon);
    color: white;
}

main div::before {
    content: '';
    position: absolute;
    top: -5vh;
    height: 60vh; width: 37.5vw;
    background-size: cover;
    background-position: center;
    border: 1px solid black;
}

main div h3, main div p {
    width: 37.5vw;
}

main div h3 {
    height: 20vh;
    line-height: 20vh;
    text-align: center;
    font-size: 5rem;
}

.blurb {
    padding: 0 5vw;
    font-size: 2rem;
    line-height: 2.5rem;
    text-align: justify;
}

.right h3, .right p{
    margin-left: 37.5vw;
}

.one::before {
    background-image: url(https://images.unsplash.com/photo-1534432182912-63863115e106?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=774&q=80);
    left: 0;
}

.two::before {
    background-image: url(https://images.unsplash.com/photo-1610057052613-bb574bb4e4c9?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=870&q=80);
    right: 0;
}

.three::before {
    background-image: url(https://plus.unsplash.com/premium_photo-1658527130839-b829973330c7?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1770&q=80);
    left: 0;
}

footer {
    position: relative;
    margin-top: 20vh;
    padding-left: 10vw;
    height: 20vh; width: 100%;
    background-color: #F4D35E;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    font-size: 1.7rem;
}

footer ul {
    height: 15vh; width: 15vw;
}

footer ul li:first-child {
    margin-left: 0;
    text-decoration: underline;
}

footer ul li {
    margin-left: 1vw;
}

footer::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    height: 18vh; width: 30vw;
    margin: 1vh;
    background-image: url(https://images.unsplash.com/photo-1569336415962-a4bd9f69cd83?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2062&q=80);
    background-size: cover;
    background-position: center;
}