/* ****** VARIABLES ****** */
:root {
    --color-main: #2A2E5B;
}

/* ****** ANIMATIONS ****** */
@-webkit-keyframes glow {
    from {
      text-shadow: 0 0 10px whitesmoke, 0 0 20px #fff, 0 0 30px #00a5e6, 0 0 40px #007fe6;
    }    
    to {
      text-shadow: 0 0 20px #fff, 0 0 30px #e2e2e2, 0 0 40px #e2e2e6, 0 0 50px #e2e2e;
    }
  }
/* *** */

body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    box-sizing:border-box;
    background-color: rgb(36, 36, 36) ;
}
#menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 5;
    box-sizing: border-box;
    width: 100%;
    height: 100vh;
    background-color: var(--color-main);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
#menu #btn-close-menu .x {
    transform: rotate(45deg);
}
#menu #btn-close-menu {
    position: fixed;
    z-index: 10;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    background-color: transparent;
    font-family: sans-serif;
    font-size: 30px;
    /* transform: rotate(45deg); */
    border: 2px solid white;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: 0.3s;
    color: whitesmoke;
}
#menu #btn-close-menu:hover {
    /* background-color: blue; */
    color: white;
    opacity: 1;
    transform: scale(1.2) rotate(2turn);
    animation: glow 1.5s ease-in-out infinite alternate;
  }
#menu ul {
    background-color:;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
#menu ul li {
    color: red;
    list-style-type: none;
    display: block;
}    
#menu ul li a {
    color: whitesmoke;
    font-size: 7vmin;
    text-decoration: none;
}
#menu ul li a:hover {
    transform: scale(1.1);
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier();
    animation: glow 1.5s ease-in-out infinite alternate;

}
.menu-hidden {
    visibility: hidden;
    opacity: 0;
  }
#navbar {
    box-sizing: border-box;
    position: fixed;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
    width: 1920px;
    max-width: 100%;
    padding: 10px 15px;
    font-size: 30px;
    color: whitesmoke;
    background-color: var(--color-main);
}
#navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}
#navbar ul li {
    list-style-type: none;  
}
#navbar ul li a {
    color: whitesmoke; color: #fff;
    text-decoration: none;
    
}
#navbar ul li a:hover {
    animation: glow 1.5s ease-in-out infinite alternate;
}
#intro {
    box-sizing: border-box;
    width: 1920px;
    max-width: 100%;
    margin: 0 auto;
    height: 100vh;
    /* top:0px; */
    padding: 0 25px;
    display: flex;
    flex-direction: column;
    justify-content:flex-end;
    align-items:center;    
    overflow: hidden;
    background-color: whitesmoke;
}
#note h1 {
    font-weight: 300;
    text-align: center;
    font-size: 3.5vmax;
}
#note p {
    /* margin: auto; */
    /* max-width: 65vw; */
    text-align: center;
    line-height: 1.5;
    font-size: 2vmax;
    font-size: 1em;
    font-weight: 300;
}
#intro img {
    margin-top: 3vh;
    max-height: 50vh;
}
.cutter {
    width: 100%;
    max-width: 1920px;
    height: 40vh;
    background-color: gray;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top left;
    background-attachment: fixed;
}
.cutter-radio {
    background-image: url(../img/radio_gauges_1920.jpg);
}
#footer {
    width: 100%;
    max-width: 1920px;
    background-color: #D9D9D9;
    /* background-color: var(--color-main); */
}
#contact_form {
    box-sizing: border-box;
    width: 100%;
    padding: 30px;
    background-color:;
    border: 0px;
    margin: 0px auto;
    display: flex;
    flex-direction: column;
}
#contact_form h4 {
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 1.2em;
    color: black;
}
#contact_form input, 
#contact_form textarea, 
#contact_form #result,
#contact_form #submit_btn {
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin: 10px auto;
    padding: 15px;
    border: 0;
    border-radius: 0;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 1em;
    color: black;
    background-color:rgb(228, 228, 228);
}
#contact_form input::placeholder, 
#contact_form textarea::placeholder {
    color:gray;
} 
#contact_form #result {
    background-color: transparent;
    text-align: center;
    font-size: 0.8em;
}
#contact_form #submit_btn {
    color: black
    padding: 15px;
}

/* *************** MOBILE LANDSCAPE ****************** */
/* *************** MOBILE LANDSCAPE ****************** */
/* *************** MOBILE LANDSCAPE ****************** */
@media only screen 
and (min-device-width: 499px)
and (max-device-width: 1199px)
and (orientation: landscape) {
    #navbar { text-align: right; }
      #intro {
        padding: 0 25px;
        padding-right: 80px;
        flex-direction: row-reverse;
        justify-content: flex-end;
        align-items: flex-end; 
        background: linear-gradient(to left, whitesmoke 73%, #D9D9D9 67%);
    }
    #intro img {
        max-height: 75vh; 
    }
    #note {
        transform: translateY(20px);
        align-self: center;
        background-color:;
    }
    #note h1 {
        /* font-size: 2vmax; */
        text-align: left;
    }
    #note p {text-align: left; }
}

/* *************** IPAD **************** */
/* *************** IPAD **************** */
/* *************** IPAD **************** */
/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2) {
        #intro {
            padding: 0 100px;
            background: whitesmoke;
            flex-direction: column;
            align-items: center;
        }
        #intro img {max-height: 50vh;}
        #note {}
        #note h1 {text-align: center;}
        #note p {text-align: center;}
    }

/* *************** IPAD **************** */
/* *************** IPAD **************** */
/* *************** IPAD **************** */
/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 2) {
        #intro {
            padding-right: 100px;
            background: linear-gradient(to left, whitesmoke 68%, #D9D9D9 32%);
        }
        #intro img {
            max-width: 60vw;
            max-height: 75vh; 
        }
        #note {align-self: center;}
        #note h1 {}
        #note p {}
    }

/* *************** DESKTOP **************** */
/* *************** DESKTOP **************** */
/* *************** DESKTOP **************** */
@media only screen 
  and (min-device-width: 1200px) { 
    /* #navbar { text-align: right; letter-spacing: 1.5vw; } */
    #navbar ul {
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: flex-end;
    }
    #navbar ul li {
        padding-left: 45px;
    }
    #menu {
        width: 33%;
    }
    #menu ul li a {
        font-size: 4vmin;
    }
    #intro {
        padding: 0 25px;
        padding-right: 100px;
        flex-direction: row-reverse;
        justify-content: center;
        align-items: flex-end; 
        background: linear-gradient(to left, whitesmoke 70%, #D9D9D9 30%);
    }
    #intro img {
        max-height: 75vh; 
    }
    #note {
        max-width: 500px;
        align-self: center;
        /* background-color: pink; */
    }
    #note h1 {
        font-size: 2.3em;
        text-align: left;
    }
    #note p {
        /* width: 33vw; */
        font-size: 1.2em;
        text-align: left;
    }
    #contact_form {
        width: 50%
    }
}
