* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Fifties';
}

:root {
    --text-logo: #FFE7CB;
    --text-light: #e2e2e2;
    --text-dark: #2f2f2f;
    --text-rose: rgb(224, 0, 37);
}

@font-face {
    font-family: 'Fifties';
    /*a name to be used later*/
    src: url('../sources/fonts/Fifties\ Movies\ 2.ttf') format('truetype');
    /*URL to font*/
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

#body1 {
    background-color: black;
}

.section {
    padding: 0 10vw;
    width: 100%;
}

.section_head {
    padding: 20vh 0;
    width: 100%;
    font-size: clamp(18px, 2.5vh, 30px);
    color: var(--text-logo);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.nav {
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    padding: 0 10vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100vw;
    height: 90px;
    align-items: center;
    background-color: 0;
    color: var(--text-logo);
}

.nav_onreach {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-white);
}

.burger_menu {
    display: none;
}

#nav_logo {
    position: relative;
    width: 50%;
    font-size: 24px;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--text-logo);
    text-transform: uppercase;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.menu {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.menu_item {
    margin-left: 2vw;
    font-weight: 300;
    cursor: pointer;
    letter-spacing: 0.1vw;
    text-align: center;
}

.menu_item a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    font-size: 15px;
    font-family: 'Lexend Deca', sans-serif;
    text-transform: uppercase;
    color: white;
    transition: all 0.25s cubic-bezier(1, 0, 0.58, 0.97);
}

.menu_item a::before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 2px;
    top: calc(50% - 1px);
    right: 0;
    background-color: var(--text-rose);
    transition: inherit;
}

.menu_item a:hover::before {
    left: 0;
    width: 100%;
}

.menu_item a:focus {
    color: red;
}

.menu_item a:focus::before {
    left: 0;
    width: 100%;
}

#section_home {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
}

#bg_vid {
    position: absolute;
    min-width: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-size: cover;
}

.home_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#home_logo {
    width: clamp(400px, 30vw, 3500px);
}

.subtitle {
    width: 100%;
    display: flex;
    flex-direction: row;
    font-family: 'Lexend Deca', sans-serif;
    text-transform: uppercase;
    color: white;
    letter-spacing: 1px;
    font-weight: 300;
    align-items: center;
    justify-content: center;
    margin-top: 2vh;
}

#to_video_button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 25%;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 1px;
}

#to_video_button>a {
    z-index: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 225px;
    height: 50px;
    background-color: rgb(0, 0, 0);
    border: solid 1px white;
    color: white;
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s ease-in;
}

#to_video_button>a:hover {
    color: black;
    font-weight: 600;
    border: 3px solid black;
}

#to_video_button>a::before {
    z-index: -1;
    content: ' ';
    position: absolute;
    height: 0;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: var(--text-logo);
    transition: inherit;
}

#to_video_button>a:hover::before {
    height: 100%;
    top: 0;
}

.video_main {
    background-color: black;
    width: 100%;
    height: calc((80vw / 16)*9);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.video_responsive {
    /* Make video to at least 100% wide and tall */
    min-width: 100%;
    min-height: 100%;
    /* Setting width & height to auto prevents the browser from stretching or squishing the video */
    width: 100%;
    height: 100%;
    /* Center the video */
    position: relative;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#section_download {
    position: relative;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0 10vw;
}

#download_head {
    position: relative;
    width: 50%;
}

#download_video {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#download_button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 74px;
    border: solid 1px var(--text-light);
    color: var(--text-light);
    cursor: pointer;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s ease-in;
}

#data {
    position: relative;
    font-family: 'Lexend Deca', sans-serif;
    text-transform: uppercase;
    margin-right: 15px;
}

#size {
    font-family: 'Lexend Deca', sans-serif;
    color: rgb(158, 158, 158);
    font-weight: 200;
    text-transform: uppercase;
    margin-right: 50px;
}

#download_icon {
    width: 20px;
}
#download_icon:hover{
    stroke: black;
}

#download_button:hover {
    font-weight: 600;
    color: black;
}

#download_button::before {
    z-index: -1;
    content: ' ';
    position: absolute;
    height: 0;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: var(--text-logo);
    transition: inherit;
}

#download_button:hover::before {
    height: 100%;
    top: 0;
}

.disclaimer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 10vh;
    border-top: solid 1px var(--text-dark);
    border-bottom: solid 1px var(--text-dark);
    margin: 0 10vw;
    color: var(--text-dark);
    font-family: 'Lexend Deca', sans-serif;
    font-size: 15px;
}

#credits_list {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.credit {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.credit_edition {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 16px;
    color: #838383;
    text-transform: uppercase;
    margin-bottom: 3vh;
}

.credit_name {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 30px;
    font-weight: 300;
    color: var(--text-light);
    text-transform: uppercase;
}

#credit_line1 {
    margin-bottom: 12vh;
}

#credit_line2 {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    margin-bottom: 12vh;
}

#credit_line3 {
    text-align: center;
    margin-bottom: 12vh;
}

#section_contact {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    background-color: var(--text-logo);
 }
  
 #contact_head {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 30%;
    font-size: clamp(18px, 2.5vh, 30px);
 }
  
 #contact_list {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 60%;
 }
  
 #contact_footer{
    width: 100%;
    height: 10%;
   
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 14px;
 }
  
 #footer1{
    font-family: 'Lexend Deca', sans-serif;
    font-size: 12px;
    color: #6e5d4a;
 }
  
 #footer2{
    font-family: 'Lexend Deca', sans-serif;
    font-size: 12px;
    color: #aa947b;
 }
  
 #contact_footer a{
    font-family: 'Lexend Deca', sans-serif;
    font-size: 12px;
    text-decoration: none;
    color: #6e5d4a;
    transition: all 0.2s ease;
 }
 #contact_footer a:hover{
   color: black;
    text-decoration: underline;
 }
 

.contact_element {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 2vh;
    border-top: solid 2px black;
    width: 100%;
    height: 25%;
    text-align: right;
}

.contact_edition {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 18px;
}

.contact_content {
    z-index: 0;
    position: relative;
    cursor: pointer;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 45px;
    text-decoration: underline;
    color: black;
    transition: all 0.25s ease-in;
}
.contact_content:hover{
    text-decoration: none;
}

#website_link::after {
    content: 'Open Website';
}

#email_link::after {
    content: 'Copy';
}

#office_link::after {
    content: 'Open Google Maps';
}

#instagram_link::after {
    content: 'Open Instagram';
}


.contact_content::after {
    z-index: -2;
    font-size: 15px;
    color: white;
    background-color: black;
    position: absolute;
    height: 40px;
    padding: 0 15px;
    display: none;
    bottom: 0;
    left: 0;
    background-color: black;
    transition: inherit;
}

.contact_content:hover::after {
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: -40px;
}

.contact_content::before {
    z-index: 1;
    content: '';
    position: absolute;
    width: 0;
    height: 8px;
    top: 50%;
    right: 0;
    background-color: var(--text-rose);
    transition: inherit;
}

.contact_content:hover::before {
    left: 0;
    width: 100%;
}

@media only screen and (max-width: 1400px) {
    .nav {
        height: 75px;
    }

    #nav_logo {
        font-size: 20px;
    }

    .menu_item a {
        font-size: 14px;
    }

    .credit_edition {
        font-size: 14px;
    }

    .credit_name {
        font-size: 24px;
    }

    .contact_content {
        font-size: 35px;
    }
    #to_video_button {
        height: 35%;
    }
}

@media only screen and (max-width: 1000px) and (max-height: 1400px) {
    .menu{
        position: fixed;
        z-index: 100;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        background-color: black;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.25s ease-out;
    }
    .menu_item{
        margin: 3vh 0;
    }
    .menu_item a{
        font-size: 25px;
    }
    .burger_menu{
        z-index: 102;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        width: 34px;
        height: 20px;
    }
    .bun{
        width: 75%;
        height: 2px;
        border-radius: 5px;
        background-color: var(--text-light);
        transition: all 0.25s ease-out;
    }
    .bun:nth-child(1){
        align-self: center;
    }
    .bun:nth-child(2){
        align-self: flex-end;
    }
    .open{
        right: 0;
    }
    .anim_bun1{
        background-color: var(--text-logo);
        transform-origin: right;
        transform: rotate(-45deg);
    }
    .anim_bun2{
        opacity: 0;
    }
    .anim_bun3{
        align-self: center;
        background-color: var(--text-logo);
        transform-origin: right;
        transform: rotate(45deg);
    }
    .section{
        padding: 0 10vw;
    }
    .section_head{
        padding: 15vh 0;
    }
    .disclaimer{
        margin: 0 5vw;
    }
    #section_download{
        flex-direction: column;
    }
    #download_head{
        padding: 10vh 0 8vh 0;
    }
    #download_video{
        margin: 8vh 0 10vh 0;
    }
    .credit_edition {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .credit_name {
        font-size: 24px;
    }
    
    #credit_line1,
    #credit_line2,
    #credit_line3 {
        margin-bottom: 8vh;
    }
}

@media screen and (max-width: 600px) {
    .section{
        padding: 0 5vw;
    }
    .section_head{
        font-size: 18px;
    }
    .nav{
        padding: 0 5vw;
        height: 60px;
    }
    #nav_logo{
        font-size: 16px;
    }
    #home_logo{
        width: 65vw;
    }
    .subtitle{
        font-size: 12px;
        margin-top: 5vh;
    }
    .video_main{
        height: calc((90vw / 4)*3);
    }
    #download_head{
        width: 100%;
    }
    #download_button{
        height: 60px;
        font-size: 14px;
    }
    .credit_edition{
        font-size: 12px;
        margin-bottom: 1vh;
    }
    .credit_name{
        font-size: 18px;
    }
    #credit_line2{
        margin: 0;
    }
    .credit{
        margin-bottom: 8vh;
    }
    #credit_line2{
        flex-direction: column;
    }
    #contact_footer{
        flex-direction: column;
        justify-content: space-evenly;
        align-items: flex-start;
    }
    #footer1{
        font-size: 10px;
     }
      
     #footer2{
        font-size: 10px;
     }
      
     #contact_footer a{
        font-size: 10px;
     }
    .contact_element{
        flex-direction: column;
        justify-content: flex-start;
        text-align: left;
        border-top: solid 2px black;
    }
    .contact_edition{
        font-size: 12px;
    }
    .contact_content{
        text-decoration: none;
        font-size: 24px;
    }
}