:root {
    --background: white;
    --secondary-color: darkslateblue;
    --hero-bottom: 21vw; /* should be the y-to-x ratio of the hero img * 100vw */
}
/* CSS reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}
* {
    margin: 0;
}
@font-face {
    font-family: "Edge Display";
    src: local("EdgeDisplay-Regular"), url(fonts/EdgeDisplay-Regular.otf);
    font-weight: normal;
}
@font-face {
    font-family: "Edge Display";
    src: local("EdgeDisplay-Bold"), url(fonts/EdgeDisplay-Bold.otf);
    font-weight: bold;
}
body {
    background-color: var(--background);
    overflow-y: hide;
}
header {
    display: block;
}
header div.hero-img {
    position: relative;
    top: 0;
    width: 100%;
    height: var(--hero-bottom);
    min-height:120px;
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4)),url(rocks.jpg); /* PXL_20230504_110533953.jpg */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
header div.hero-text {
    position: absolute;
    bottom: 10px;
    width: 100%;
}
header div.hero-text h1 {
    text-align: center;
    color: white;
}
h1 {
    font-family: "Edge Display", sans-serif;
    font-weight: bold;
    font-size: clamp(25px, 6vw, 80px);
}
h2 {
    font-family: "Edge Display", sans-serif;
    font-weight: normal;
    font-size: clamp(24px, 6vw, 36px);
}
main {
    font-family: sans-serif;
    font-size: clamp(16px, 4vw, 20px);
    line-height: 1.5em;
    padding: 2em 0;
}
h3 {
    font-family: sans-serif;
    font-size: 1em;
    font-style: italic;
}
.sections, .contact {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}
.sections section, .contact div {
    margin: 0.5em;
    width: 800px;
    padding: 0.5em;
}
section h2{
    color: var(--secondary-color);
    margin-bottom: 0.2em;
}
p {
    padding: 0.1em 0;
}
footer {
    background-color: var(--secondary-color);
    font-family: sans-serif;
    color: white;
}
