:root {
    --text-color: rgb(0, 0, 0);
    --accent-color: rgb(59,165,41);
    --background-color: rgb(255, 255, 255);
    --heding-color: rgb(255, 153, 0);
    --tittle-font: 'Tenby Five', sans-serif;
    --body-font: 'helvetica', sans-serif; 
}

html {
    font-size: 50%;
    scroll-behavior: smooth;
}
* {
    box-sizing: border-box;
}

main, header {
    width: 100%;
    /* max-width: 960px; */
    margin: 0 auto;
    padding: 2em;
}
body {
    margin: 50px 50px 20px 50px;
    font-family: var(--tittle-font);
    font-size: 3rem;
}
nav {
    margin: 50px 50px 20px 50px;
}
ul {
    line-height: 1.4em;
}
a {
    color: var(--accent-color);
    font-size: 1em;
    text-decoration: double;
    color: var(--accent-color);
    font-family: var(--body-font);
    font-variation-settings: ;
    transition: all 300ms ease, text-decoration-color 300ms ease;
   
}

header {
    text-align: left;

}

h1,
h2,
h3 {
    color: var(--accent-color);
    font-family: var(--tittle-font);
    font-style: normal;
}
h1 {
    color: var(--background-color);
    background: var(--heding-color);
    font-size: 5em;
    top: 1%;
    left: 0%;
    text-align: center;
    width: 100%;
    padding-top: .2em;
    line-height: 1em;
}
h1 img {
    position: absolute;
    left: 50%;
    top: 0;
    width: auto;
    height: 100%;
    transform: translateX(-50%);
}
h2 {
    color: var(--text-color);
    font-size: 1.5em;
}
h3 {
    color: var(--text-color);
    font-size: 1em;
}

p {
    color: inherit;
    font-size: 1em;
    font-family: var(--body-font);
}

.hero-body {
    color: var(--text-color);
    background: rgb(255, 153, 0);
 
}
.hero-body h1 {
    position: fixed;
    color: transparent;
 
}

footer {
    background: var(--heding-color);
    padding: .01rem;
    text-align: center;
    font-family: var(--tittle-font);
    font-weight: 400;
    font-style: normal;
    width: 100%;
    bottom: 0;
    left: 0;
}

footer p {
    color: var(--text-color);

}

video   {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: -1;
    opacity: .7;
}

@media (orientation: portrait) {
    video {
        height: auto;
        width: 100%;
        object-fit: contain;
    }
}

@media (orientation: landscape) {
    video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

#text-container {
    color: var(--background-color);
    position: absolute;
    right: 0%;
    bottom: 12%;
    width: 50%;
    max-width: 600px;
    min-width: 320px;
    padding: 1em;
}

@media screen and (max-width: 640px) {
    #text-container {
        background-color: rgb(255 153 0 / 74%);
    }
}

.primary-btn {
    background-color: var(--heding-color);
    color: var(--background-color);
    padding: .5em 2em;
    border-radius: .8em;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
}

.primary-btn:hover {
    background-color: rgb(59,165,41);
    color: var(--background-color);
}