/* 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: #400000;  /* 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;

     /* 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 { 
    margin-top: 80px;
    margin-bottom: 40px;
    height: 70%;
    width: 80%;
    border: solid grey 2px;
    border-radius: 20px;
    position: fixed;
}

/* Navigation Bar */
#nav {
    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;
}

#introduction {
    background-image: url(img/main.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 38vh;
    height: 100vh;
    line-height: 1.2 !important; /* Changes line-height from 1.5 since there was too much space in-between lines */
}

.name {
    font-size: 12vmin; /* Uses vmin to keep consistency (80px originally) (10vmin orig) */
    color: var(--text-color);
    padding-bottom: 0%; /* 0% */
    margin-bottom: auto;
}
.background-text {
    font-size: 5.6vmin; /* 50px (4.8vmin orig) */
    color: var(--text-color);
    padding-bottom: 0%;
    margin: 0;
}

/* About Me Section */

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

#about-us h1 {
    font-size: xxx-large;
    color: white;
}

#about-us p {
    margin-bottom: 0%;
    color: white;
    text-align: left;
}

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

#about-us 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: rgba(0, 0, 0, 0.25);
    
    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 rgba(255, 255, 255, 0.4);
  }

/* 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;
}
