@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700");
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Signika:wght@500&display=swap');

*{
    margin: 0;
    padding: 0;
    /* GOOGLE FONT*/
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.header{
    width: 100%;
/*BCKG image gradient and file path do not change unless you want to change the background image */
    background-image: linear-gradient(rgb(0, 0, 0),rgba(0, 0, 0, 0.966)), url(/bkg/footer.png);
    position: relative;
    height: 13vh;
    background-size: cover;
    background-position: center;
    overflow: hidden;


}


/* for nav bar on top spacing*/
nav{
    display: flex;
    padding: 2% 1.8%;
    justify-content: space-between;
    align-items: center;

}

/* for lop left image */
nav img{
    width: 150px;

}

/* nav bar spacing*/
.nav-links{
    flex: 1;
/* aligning nav bar*/
    text-align: right; 

}

/* aligning nav names and colors*/

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
    
    
}

.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    

}
/* AFTER AND HOVER Create the hover affect fo rhte nav bar*/
.nav-links ul li::after {
    content:''; 
    width: 0%;
    height: 3px;
    background: #f44336;
    display: block;
    margin: auto; 
    transition: 0.2s;
}

.nav-links ul li:hover::after {
    width: 100%;

}

/* if text is still in the website this reduces the size of the text for smaller screens*/

nav .fa{
    display: none;
}

@media(max-width: 900px){
  .text-box h1 {
      font-size: 25px;
    }
    .text-box p {
      font-size: 12px;
    }
    .nav-links ul {
      padding: 30px;
    }
    .nav-links ul li {
      display: block;
      margin-top: 6px;
      transition: 0.01s;
    }
    .nav-links ul li::after {
      content: "";
      width: 0;
      height: 2px;
      background: #fff;
      display: block;
      margin: 5px auto;
      transition: 0.01s;
    }
    .nav-links ul li:hover {
      font-weight: bold;
      transform: translate(-5px);
      width: 100%;
    }
    .nav-links {
      position: fixed;
      background:#000000;
      width: 200px;
      height: 100vh;
      top: 0;
      right:-200px;
      text-align: left;
      z-index: 2;
      transition: 0.5s;
    }
    nav .fa {
      display: block;
      color: #fff;
      margin: 10px;
      font-size: 22px;
      cursor: pointer;
      transition: 0.4s;
    }
    nav .fa:hover {
      color: #000;
    }
  }

h1{
    font-size: 56px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}






/* CONTACT FORM - MATERIALS AND THINGS THAT ARE BEING ADDED */
:root {
  --white: #afafaf;
  --red: #e31b23;
  --bodyColor: #292a2b;
  --borderFormEls: hsl(0, 0%, 10%);
  --bgFormEls: hsl(0, 0%, 14%);
  --bgFormElsFocus: hsl(0, 7%, 20%);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  outline: none;
}

a {
  color: inherit;
}

input,
select,
textarea,
button {
  font-family: inherit;
  font-size: 100%;
}

button,
label {
  cursor: pointer;
}

select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

/* Remove native arrow on IE */
select::-ms-expand {
  display: none;
}

/*Remove dotted outline from selected option on Firefox*/
/*We use !important to override the color set for the select on line 99*/
select:-moz-focusring {
  color: transparent !important;
  text-shadow: 0 0 0 var(--white);
}

textarea {
  resize: none;
}

ul {
  list-style: none;
}

body {
  font: 18px/1.5 "Open Sans", sans-serif;
  background-image: linear-gradient(rgba(0, 0, 0, 0.82),rgba(0, 0, 0, 0.667)), url(/bkg/footer.png);
  color: var(--white);
  margin: 1.5rem 0;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* FORM ELEMENTS */
.my-form h1 {
  margin-bottom: 1.5rem;
}

.my-form li,
.my-form .grid > *:not(:last-child) {
  margin-bottom: 1.5rem;
}

.my-form select,
.my-form input,
.my-form textarea,
.my-form button {
  width: 100%;
  line-height: 1.5;
  padding: 15px 10px;
  border: 1px solid var(--borderFormEls);
  color: var(--white);
  background: var(--bgFormEls);
  transition: background-color 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25),
    transform 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25);
}

.my-form textarea {
  height: 170px;
}

.my-form ::-moz-placeholder {
  color: inherit;
  /*Fix opacity issue on Firefox*/
  opacity: 1;
}

.my-form :-ms-input-placeholder {
  color: inherit;
  /*Fix opacity issue on Firefox*/
  opacity: 1;
}

.my-form ::placeholder {
  color: inherit;
  /*Fix opacity issue on Firefox*/
  opacity: 1;
}

.my-form select:focus,
.my-form input:focus,
.my-form textarea:focus,
.my-form button:enabled:hover,
.my-form button:focus,
.my-form input[type="checkbox"]:focus + label {
  background: var(--bgFormElsFocus);
}

.my-form select:focus,
.my-form input:focus,
.my-form textarea:focus {
  transform: scale(1.02);
}

.my-form *:required,
.my-form select {
  background-repeat: no-repeat;
  background-position: center right 12px;
  background-size: 15px 15px;
}

.my-form *:required {
  background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/asterisk.svg);  
}

.my-form select {
  background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/down.svg);
}

.my-form *:disabled {
  cursor: default;
  filter: blur(2px);
}


/* FORM BTNS */
.my-form .required-msg {
  display: none;
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/asterisk.svg)
    no-repeat center left / 15px 15px;
  padding-left: 20px;
}

.my-form .btn-grid {
  position: relative;
  overflow: hidden;
  transition: filter 0.2s;
}

.my-form button {
  font-weight: bold;
}

.my-form button > * {
  display: inline-block;
  width: 100%;
  transition: transform 0.4s ease-in-out;
}

.my-form button .back {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-110%, -50%);
}

.my-form button:enabled:hover .back,
.my-form button:focus .back {
  transform: translate(-50%, -50%);
}

.my-form button:enabled:hover .front,
.my-form button:focus .front {
  transform: translateX(110%);
}


/* CUSTOM CHECKBOX */
.my-form input[type="checkbox"] {
  position: absolute;
  left: -9999px;
}

.my-form input[type="checkbox"] + label {
  position: relative;
  display: inline-block;
  padding-left: 2rem;
  transition: background 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25);
}

.my-form input[type="checkbox"] + label::before,
.my-form input[type="checkbox"] + label::after {
  content: '';
  position: absolute;
}

.my-form input[type="checkbox"] + label::before {
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--white);
}

.my-form input[type="checkbox"]:checked + label::before {
  background: var(--red);
}

.my-form input[type="checkbox"]:checked + label::after {
  left: 7px;
  top: 7px;
  width: 6px;
  height: 14px;
  border-bottom: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transform: rotate(45deg);
}


/* FOOTER */
footer {
  font-size: 1rem;
  text-align: right;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

footer a {
  text-decoration: none;
}

footer span {
  color: var(--red);
}


/* MQ */
@media screen and (min-width: 600px) {
  .my-form .grid {
    display: grid;
    grid-gap: 1.5rem;
  }

  .my-form .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .my-form .grid-3 {
    grid-template-columns: auto auto auto;
    align-items: center;
  }

  .my-form .grid > *:not(:last-child) {
    margin-bottom: 0;
  }

  .my-form .required-msg {
    display: block;
  }
}

@media screen and (min-width: 541px) {
  .my-form input[type="checkbox"] + label::before {
    top: 50%;
    transform: translateY(-50%);
  }

  .my-form input[type="checkbox"]:checked + label::after {
    top: 3px;
  }
}

/*FOOTER*/

/* FOOTER  */

body{
    margin:0;
    overflow-x:hidden;
    }
    
    .footer{
        background-image: linear-gradient(rgba(4, 0, 0, 0.935),rgb(0, 0, 0)), url(/bkg/footer.png);
        padding:37px 0px;
    font-family: 'Play', sans-serif;
    text-align:center;
    }
    

    /*ALL RIGHTS RESERVED*/
    .footer .row{
    width:100%;

    margin: 1% 0%;
    padding:0.9% 0%;
    color:gray;
    font-size:0.8em;
    }
    
    /*all other icons*/
    .footer .row a{
    text-decoration:none;
    color:gray;
    transition:0.3s;
        bottom: 10px; /* Adjust distance from the bottom */

    }
    
    .footer .row a:hover{
    color:#ff9797;
    }
    
    .footer .row ul{
    width:100%;
    
    }
    
    .footer .row ul li{
    display:inline-block;
    margin:0px 30px;
    }
    
    .footer .row a i{
    font-size:2em;
    margin:0% 1%;
    }
    
    @media (max-width:720px){
    .footer{
    text-align:center;
    padding: 5%;
    
    }

    .footer .row ul {
        text-align: center;
        padding: 0;
        display:inline-block;

    }
    .footer .row ul li{
    margin:10px 0px;
    text-align:center;
    display:inline-block;

    }
    .footer .row a i{
        margin:10px 10px;
        display:inline-block;

    }
    
    .location {
      width: 80%;
      margin: auto;
      padding: 80px 0;
    }
    .location iframe {
      width: 100%;
    }


    }
