@import url('https://fonts.googleapis.com/css?family=Montserrat');

@media screen and (max-width: 490px) {
  .logo {
    width: 70%;
  }
  #top-text {
    font-size: 0.7em;
  }
}

@media screen and (min-width: 491px) and (max-width: 600px) {
  .logo {
    width: 70%;
  }
  #top-text {
    font-size: 0.9em;
  }
}

@media screen and (max-width: 1023px) {
 body {
   width: 90%;
   margin: auto;
 }
 .card {
   width: 100%;
 }
}

@media screen and (min-width: 730px) {
  .card {
    width: 320px;
  }
}

@media screen and (min-width: 1024px) {
  body {
    max-width: 1024px;
  }
  .projects {
    width: 1024px;
  }
}

html {
  text-align: center;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #333333;
  background-color: #F2F2F2;
  justify-content: center;
  display: inline-block;
  text-align: center;
}

.header {
  width: 100%;
  vertical-align: middle;
  display: flex;
  flex-flow: row;
}

.projects {
  padding-top: 20px;
  vertical-align: middle;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.logo-container {
    width: 30%;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: left;
}

.logo {
    width: 100%;
    max-width: 150px;
}

.top-side {
  width: 70%;
  text-align: right;
  padding-top: 30px;
}

.banner {
  width: 100%;
  height: 500px;
  text-align: center;
  background-image: url("img/Banner.png");
}

#banner {
  width: 100%;
  height: 100%;
}

.slogan {
  width: 300px;
  font-family: 'Montserrat';
  color: white;
  text-align: center;
  position: relative;
  top: 45%;
  left: 50%;
  transform: translateX(-50%);
}

.card {
  height: 500px;
  background-color: white;
}

a{
  text-decoration: none;
  color: #333333;
}

a:visited {
  text-decoration: none;
  color: #333333;
}

.card-link {
  text-decoration: none;
}

a.card-link:visited {
  color: #333333;
}

.top {
  height: 50%;
}

.bottom {
    height: 50%;
    padding: 20px;
}

#image1 {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

#image2 {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

#image3 {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

#top-text {
  font-family: 'Montserrat';
}

#slogan-text {
  width: 100%;
  font-weight: lighter;
}

.skills {
  font-size: 0.8em;
  font-weight: bold;
}
