
html {
    font-size: 0.8em;
    line-height: 1.42857143;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: .1rem;
}

.background--skyBlue {
    background-color: rgb(59, 59, 59);
}

.background--modal {
  background-color: #1d1919;
}


.color--skyBlue {
    color: rgb(52, 152, 219);
}

.color--cloud {
    color: rgb(236, 240, 241);
}

.color--grey {
    color: rgb(127, 140, 141);
}

.color--darkgrey {
    color: rgb(44, 62, 80);
}

.section__example {
    background-color: rgb(44, 62, 80);
}

.overflow--auto {
    overflow: auto;
}

/*
  Sections
*/

.section {
  font-size: 4.2rem;
  position: relative;
  padding-top: 1rem;
  padding-bottom: 5rem;
}
  
.section--alignCentered {
  text-align: center;
}

.section--description {
  font-size: 2.8rem;
  padding-left: 3.5rem;
  padding-right: 3.5rem;
}

.section__description {
  width: 100%;
}

.section__text--centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section__exampleWrapper,
.section__example {
  display: inline-block;
  height: 25rem;
  width: 25rem;
}

.section__exampleWrapper {
  margin: 1rem;
}

.section__example {
  border-radius: 5%;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  text-align: center;
  border-width: 2px;
  border-color: #333;
  border-style: solid;
}

.section__example:hover {
  border-color: #888;
}
  
div.example-banner {
  display: block;
  position: absolute;
  bottom: 0;
  color: white;
  background-color: rgba(0, 0, 0, 0.9);
  width: 100%;
  height: 20%;
  margin-top: 0;
  margin-bottom: 0;
  pointer-events: none;
}

div.example-title {
  text-align: center;
  text-transform: uppercase;
  left: 2.5%;
  top: 0.5rem;
  width: 95%;
  display: block;
  position: relative;
  font-weight: bold;
  font-size: 1.5rem;
}

div.example-subtitle {
  display: block;
  position: relative;
  font-size: 1rem;
  text-align: center;
  top: 1rem;
  margin: 0;
  padding: 0;
}

.section__exampleImage {
  opacity: 0.6;
  width: 100%;
  height: 100%;
  object-position: 50% 50%;
  object-fit: cover;
  position: relative;
  transition: all 0.5s;
}

.section__exampleImage:hover {
  opacity: 1;
  width: 110%;
  height: 110%;
  object-position: 55% 55%;
  object-fit: cover;
  position: relative;
  transition: all 0.5s;
}

.section__exampleImage:active {
  opacity: 0.7;
  width: 110%;
  height: 110%;
  object-position: 55% 55%;
  object-fit: cover;
  position: relative;
  transition: all 0.1s;
}
  
.section__tech {
  display: block;
}
  
  
  /*
    Modal
  */
  
  .modal--closed {
    display: block;
    position: fixed;
    border-radius: 10px;
    top: 1.5em;
    right: 1.5em;
    left: 1.5em;
    bottom: 1.5em;
    z-index: 200;
    box-shadow: 0em 0em 1.25em #00000077;
    overflow: hidden;
    width: auto;
    height: auto;
    transform: translateX(-25%);
    opacity: 0%;
    visibility: hidden;
    transition: transform 0.5s ease 0s, opacity 0.5s ease, visibility 0s linear 0.5s;
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  .modal--open {
    display: block;
    position: fixed;
    border-radius: 10px;
    top: 1.5em;
    right: 1.5em;
    left: 1.5em;
    bottom: 1.5em;
    width: auto;
    height: auto;
    z-index: 200;
    box-shadow: 0em 0em 1.25em #00000077;
    transform: translateX(0);
    opacity: 100%;
    visibility: visible;
    transition: transform 0.5s ease 0s, opacity 0.5s ease;
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  .modal__closeButton {
    display: block;
    position: fixed;
    right: 0.25rem;
    top: 0rem;
    font-size: 5rem;
    z-index: 1;
    cursor: pointer;
  }
  
  .modal__text {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 2.4rem;
    padding: 2rem;
    width: 90%;
  }
  
  .modal__title {
    padding-top: 0;
    margin-top: 0;
  }

  div.modal__link {
    text-align: center;
  }

  a.modal__link {
    color: #1d1919;
    background-color: white;
    border-radius: 4px;
    padding: 0.4rem 1rem;
    font-size: 2rem;
    text-transform: uppercase;
    text-decoration: none;
  }

  a.modal__link:hover {
    color: #1d1919;
    background-color:rgb(52, 152, 219);
    border-radius: 4px;
    padding: 0.4rem 1rem;
    font-size: 2rem;
    text-transform: uppercase;
    text-decoration: none;
  }

  a.modal__link:active {
    color: #1d1919;
    background-color:white;
    border-radius: 4px;
    padding: 0.4rem 1rem;
    font-size: 2rem;
    text-transform: uppercase;
    text-decoration: none;
  }

  .modal__video {
    text-align: center;
  }
  
  .modal__image {
    opacity: 0.05;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
  }
  
  .modal__description {
    font-size: 2rem; 
  }

  .fa-window-close-o {
    vertical-align: top;
  }

  div.example-work {
    width: 100%;
  }

  div.example-work-header {
    color: white;
    background-color: #1d1919;
    text-align: center;
    padding-bottom: 1em;
  }

  h1.example-work {
    margin: 0 auto;
    font-weight: bold;
    font-size: 3em;  
  }

  h2.example-work {
    margin: 0 auto;
    font-size: 1em;  
  }

  div.techList {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
    display: block;
    line-height: 0.75rem;
    font-size: 0.75rem;
  }

  div.techItem {
    border-radius: 4px;
    color: white;
    padding: 0.5em;
    margin: 0.2em;
    display: inline;
  }

div.techEngine {
  background-color: blueviolet;
}

div.techLanguage {
  background-color: darkblue;
}

div.techPlatform {
  background-color: darkred;
}

div.professional {
  margin-top: 0;
  margin-bottom: 0;
}

h1.professional {
  text-align: center;
  background-color: #1d1919;
  color: white;
  margin: 0 auto;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  font-weight: bold;
  font-size: 3em;
}

div.role {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.contributions-body {
  display: block;
  position: relative;
}

.contributions-header {
  font-size: 2rem;
  font-weight: bold;
}

.contributions-text {
  margin-top: 0;
  padding-bottom: 1.5rem;
  padding-top: 0;
}

.list-item-icon {
  margin-top: 0.75rem;
  color: rgb(0, 255, 0);
}