body{
    background: rgb(192, 192, 192);
    margin: 0;
    padding: 0;
}

footer{
  background-color: rgb(20,20,50);
  color: rgb(255,255,255);
  text-align: center;
  padding: 15px 0px 15px 0px;
}

.contact{
  text-align: center;
}

header{
    background: rgb(30,30,75);
    font-family: Helvetica;
    padding: 1.5% 1% 1.5% 1%;
}

header h1{
    text-align: left;
    margin-left: 0px;
    font-size: 25px;
    display: inline;
    color: white;
}

nav ul{
    padding: 0 0 0 90px;
    display: inline;
    padding-left: 825px
}

nav ul li{
    background: rgb(30,30,75);
    border-radius: 10px;
    display: inline-block;
    list-style-type: none;
    padding: 15px 50px 15px 15px;
}

nav ul li a{
    color:white;
    font-family: Helvetica;
    font-size: x-large;
    margin: 5px;
    text-decoration: none;
}

.controls{
    position: absolute;
    top: 23%;
    left: 48%;
    margin-right: -48%;
    transform: translate(-48%, -48%);
}

.controls input{
    width: 500px;
    height: auto;
    outline: none;  
} 

.model-container{
    max-width: 70%;
    height: auto;
    overflow: hidden;
    border: 2px solid black;
    margin-bottom: 350px;
    box-shadow: 7px 7px 7px #2e6677a2;
    position: absolute;
    top: 60%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    margin-top: 8%;
}

.model-container .model-images{
    height: 100%;
    width: 100%;
    display: flex;
}

.model-container .model-images img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.back:hover{
    background-color: #ddd;
    color: black;
}

.next:hover{
    background-color: #ddd;
    color: black;
}

.back{
    background-color: #f1f1f1;
    color: black;
    border-radius: 10px;
    padding: 14px 22px;
    text-decoration: none;
    font-size: x-large;
}

.next{
    background-color: #f1f1f1;
    color: black;
    border-radius: 10px;
    padding: 14px 22px;
    text-decoration: none;
    font-size: x-large;
}

.arrows{
    display: inline-block; 
    vertical-align: middle;
    margin-right: 50px;
}

.slider{
    display: inline-block; 
    vertical-align: middle;
}

.spacing{
    padding-top: 1000px;
}

.navbar {
    overflow: hidden;
    background-color: #333;
    font-family: Arial;
    width: 100%;
  }
  
  /* Links inside the navbar */
  .navbar a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  
  /* The dropdown container */
  .dropdown {
    float: left;
    overflow: hidden;
  }

  .dropdown-2 {
    float: left;
    overflow: hidden;
  }
  
  /* Dropdown button */
  .dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit; /* Important for vertical align on mobile phones */
    margin: 0; /* Important for vertical align on mobile phones */
  }

  .dropdown-2 .dropbtn-2 {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit; /* Important for vertical align on mobile phones */
    margin: 0; /* Important for vertical align on mobile phones */
  }
  
  /* Add a red background color to navbar links on hover */
  .navbar a:hover, .dropdown:hover .dropbtn {
    background-color: rgb(70, 70, 138);
  }

  .navbar a:hover, .dropdown-2:hover .dropbtn-2 {
    background-color: rgb(70, 70, 138);
  }
  
  /* Dropdown content (hidden by default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }

  .dropdown-content-2 {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }

  .dropdown-content-2 a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  /* Add a grey background color to dropdown links on hover */
  .dropdown-content a:hover {
    background-color: #ddd;
  }

  .dropdown-content-2 a:hover {
    background-color: #ddd;
  }
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown-2:hover .dropdown-content-2 {
    display: block;
  }

  @media screen and (max-width: 1300px) {
  
    .model-container{
      max-width: 100%;
      height: auto;
      box-shadow: 0px 0px 0px 0px;
      border: 0px;
      top: 50%;
      margin-top: 17.5%;
  
      }
    }

@media screen and (max-width: 700px){

   body{
     margin: 0;

   }

   
   header{
    margin: 0 auto;
    padding: 17.5px;
    }

    .slider input{
        width: 175px;
    } 

    .slider{
        margin-left: 0px;
    }

    .arrows{
        margin-right: 20px;
    }

    .controls{
        margin-top: 75px;
    }

    .spacing{
        padding-top: 200px;
    }

    .model-container{
      box-shadow: 0px 0px 0px 0px;
      border: 0px;
      max-width: 100%;
      height: auto;
   }

   .model-container .model-images{
      height: auto;
      max-width: 100%;

    }

    .model-container .model-images img{
      max-width: 100%;
      height: auto;
      display: block;
    }

    .contact{
      margin-top: 300px;
    }
}

@media screen and (max-width: 2100px){
  .contact{
    margin-top: 500px;
  }

}
