/* Creates color variables (accessed via: var(--main-color) etc.)*/
:root{
    /* --main-color: #29487D;
    --side-color: #1DA1F2; */
    --text-color: #ffffff;
}

body, html{    
    min-width: 800px;
    background: white;  /* fallback for old browsers */

     margin:0px;
     /* height: 100%; */
     font-family: Arial, sans-serif; /* Orig Segoe UI Symbol */
     height: 100vh;
     width: 100%;
     background-position: center;
     background-repeat: repeat;
     background-size: cover;
     background-size: fill;
    
     /* Added smooth scrolling so that when using "bookmarks" it doesn't instantly teleport you */
     scroll-behavior: smooth;
}


/* Customizes the scrollbar */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: #a8a8a8;
    border: 3px solid transparent;
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

#map { 
    background-position: center;
    z-index: 1;
    margin-top: 50px;
    margin-bottom: 50px;
    height: 600px;
    width: 800px;
    border: solid grey 2px;
    border-radius: 20px;
}

/* Navigation Bar */
#nav {
    z-index: 1000;
    background-color: #400000;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #400000, #424242);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #424242, #400000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    border-bottom: 2px solid #424242; /* Specify border color and style */
}

.navbar {
    position: sticky;
    top: 0;
    display:flex;
    overflow:hidden;
    justify-content: center;
    height: 100px;
  }

  .navbar a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 25px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 4px;
    transition: all 0.5s ease;
  }
  
  .navbar a:hover{
    background: white;
    color: black;
    border-radius:5px;
  }

section  {
  margin:0em 10em 10em 10em;
  padding:3em 10em 3em 10em;
}

h1{
  color: #111; 
  font-size: 200px; 
  font-weight: bold; 
  letter-spacing: -1px; 
  text-align: center;
  padding: 0;
  margin: 0;
}

p {
  color: black;  
  font-size: 25px; 
  line-height: 1.5;
}

hr {
  background-color: #000;
}

/* Body Text */

main{
  opacity: 0.3;
}

#truck-list {
  /* Changed 48vmin to 85px */
  padding: 85px; 
  min-height: 70vmin;
}

#truck-list h1 {
  font-size: xxx-large;
  color: black;
}

#truck-list p {
  margin-bottom: 0%;
  color: white;
}

#truck-list a { /* Part of aboutMe-link */
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease-in-out;
}

#truck-list a:hover { /* Used for "popping" effect */
  color: rgb(70, 170, 224);
  text-decoration: none;
  transform: scale(1.04);
}

.testing-card{
  margin-top: 15px;
  margin-bottom: 15px;        
}

.index-card-div{
  margin-top: 0px !important;
}
.testing-card:hover{
  transform: scale(1);
}

.newback-index{
  padding: 50px 0px 50px 0px;
}

.index-card-img{
  border-radius: 15px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.row {
  margin: auto;
  text-align: center;
  color: white;
}

.normal-text {
  font-size: 1.1rem; /* 50px */
  color: white;
  padding-bottom: 0%;
}

/* Creates spacing for the descriptions in the boxes */
.card-spacing {
  padding: 3.5vmin 3.5vmin 3.5vmin 3.5vmin;
}


/* Class for all the dark boxes that text goes in */
.rounded-box {
  border-radius: 15px;
  background: #400000;
  
  box-shadow: 4px 4px 12px 4px rgba(0,0,0,0.2);
  transition: 0.4s;
}

/* Creates light white shadow around box on hover */
.rounded-box:hover {
  box-shadow: 4px 8px 24px 4px black;
}

/* Contact Section (change to rem, %, or vh) */

#contact-us {
  padding-top: 10vmin;
  font-size: 50px;
  padding-bottom: 18px;
}

#contact-us h3 {
  color: white;
}

.social-spacing {
  padding: 1vmin 1vmin 1vmin 1vmin;
}

.fa-envelope {
  color:white;
}

.fa-envelope:hover {
  color:black;
}
