*,
*::before,
*::after { 
  box-sizing: border-box;
}

html {
  background-color: #f0f0f0;
}

body {
  color: #4a4a4a;
  font-family: 'Roboto','Helvetica Neue', Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "liga" on;
  margin: 0;
}

.wrapper {
  max-width: 900px;
  margin: auto;
  padding: 0px 40px 20px 40px;
  background-color: white;
}

.personalIntro {
  display: flex; 
  flex-flow: row wrap; 
  justify-content: space-between;
  padding-top: 30px;
}
.personalInfo {
  padding-right:10px;

  @media(min-width: 50rem) {
    width: 50%;
  }
  @media(max-width: 49rem) {
    width: 100%;
  }
  h1 {
    font-size: 2.5rem;
    margin-bottom: 0px;

  }
  h2 {
    font-weight: 500;
    font-size: 1.25rem;
    margin-top: 10px;
    @media(max-width: 20rem) {
      margin-top: 0px;
    }
  }
  img {
    max-width: 18.5rem;
    border-radius: 0.25rem;
  }
}

.personalParagraph {
  @media(min-width: 50rem) {
    width: 50%;
    margin-top:70px; 
  }
  @media(max-width: 49rem) {
    width: 100%;
    margin-top:15px; 
  }
}

.icon {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}


img {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

.btn {
  background-color: white;
  border: 1px solid #cccccc;
  border-radius: 1rem;
  color: #696969;
  padding: 0.5rem;
  text-transform: lowercase;
}

.btn--block {
  display: block;
  width: 100%;
}
 
.cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cards__item {
  display: flex;
  padding: 1rem;
  @media(min-width: 40rem) {
    width: 50%;
  }
/*  @media(min-width: 56rem) {
    width: 33.3333%;
  }*/
  cursor: pointer;

}

.card {
  background-color: white;
  border-radius: 0.25rem;
  box-shadow: 0 20px 40px -14px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  &:hover {
    .card__image {
      filter: brightness(130%);
    }
  }
}

.card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1rem;
}

.card__image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  filter: contrast(95%);
  overflow: hidden;
  position: relative;
  transition: filter 0.25s cubic-bezier(.43,.41,.22,.91);;
  &::before {
    content: "";
	  display: block;
    padding-top: 100%; // 16:9 aspect ratio
  }
  @media(min-width: 40rem) {
    &::before {
      padding-top: 100%; // 3:2 aspect ratio
    }
  }
}

.card__image--ChromaSphere{
  background-image: url('ChromaSphere_Icon_512_Slate.jpg');
  background-size: contain;
}

.card__image--IdleTicTacToe{
  background-image: url('IdleTicTacToe_Icon_512.png');
  background-size: contain;
}

.card__image--Enigma{
  background-image: url('Enigma.png');
  background-size: contain;
}

.card__image--LifesHardEverywhere {
  background-image: url('LifesHardEverywhere.png');
  background-size: contain;
}

.card__image--RatNet {
  background-image: url('RatNet.png');
  background-size: contain;
}

.card__image--VermintideAnalytics {
  background-image: url('VermintideAnalytics.png');
  background-size: contain;
}

.card__title {
  color: #696969;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.card__text {
  flex: 1 1 auto;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}





.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  display: flex;
  flex-direction: column;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  z-index: 2;
  display: block;
  align-self: end;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}






.slideshowImg {
  max-height: 50vh;
}

/* Slideshow container */
.slideshow-container {
  position: relative;
/*  margin: auto;*/
/*  width: fit-content;*/
/*  max-height: 50vh;*/
  height: fit-content;
  display: block;
  align-items: center;
  justify-content: center;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(200,200,200,0.8);
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;

}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;

}


/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
/*  color: #f2f2f2;*/
  font-size: 15px;
  padding: 8px 12px;
/*  position: absolute;*/
/*  bottom: 8px;*/
  width: 100%;
  text-align: center;
}


/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

.slides {
  flex-direction: column;
  text-align: center;
  height: fit-content;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

h4 {
  margin: 0px;
}