*{
   margin:none;
   padding: 0;
   text-align: center;
   box-sizing: border-box;
}
body{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: whitesmoke;
  align-items: center;
  justify-content: center;
}
a{
text-decoration: none;
}
ul{
   list-style: none;
}
body,
html {
  overflow-x: hidden;
}
.active {
  color: #fc036b;
  text-decoration: underline;
  font-weight: bold;
  }
.navbar{
   position: absolute;
   top: 0;
   left: 0;
   display: flex;
   width: 100%;
   justify-content: space-between;
   padding:20px;   
   /*background-color: #484872;*/
   color: whitesmoke;
   z-index: 10;
}
#game{
  background-color: black;
}
.nav-links {
  display: flex;
  align-items: center;
}
.nav-links li a{
  margin: 10px 30px;
  cursor: pointer;
 color: whitesmoke; 
}
.nav-links li a:hover{
  margin: 10px 30px;
  cursor: pointer;
 color: #fc036b; 
 font-size: 1.2rem;
}
.menu-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 40px;
  cursor: pointer;
  display: none;
}
.ctn {
  padding: 8px 15px;
  background: #fc036b;
  border-radius: 30px;
  color: whitesmoke;
  }
header {
  width: 100vw;
  height: 100vh;
  background-image: url(img/header-bg.png);
  background-position: bottom;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-content {
  margin-bottom: 10px;
  color: whitesmoke;
  text-align: center;
}
.header-content h2 {
  font-size: 4vmin;
}

.header-content img{
  width: 100%;
}
.logo:hover{
  color: #fc036b;
}
.line {
  width: 150px;
  height: 4px;
  background: #fc036b;
  margin: 10px auto;
  border-radius: 5px;
  margin-top: 50px;
}
.header-content h1 {
  font-size: 7vmin;
  margin-top: 50px;
  margin-bottom: 50px;
}
.cover-letter{
  color: #484872;
  background-color:whitesmoke; 
}
/* WEATHER APP */

.weatherForm {
  margin: auto;
  display: block;
}
.title {
  width: 100vw;
  text-align: center;
  
}
.cover-letter .title p{
  justify-content: left;
  margin: 30px;
  padding: 10px;
  font-size: 1.2rem;
}
#board {
  height: 540px;
  width: 630px;
  background-color: blue;
  border: 10px solid navy;
  
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.tile {
  height: 70px;
  width: 70px;
  margin: 5px;

  /* Circle */
  background-color: white;
  border-radius: 50%;
  border: 5px solid navy;
}

.red-piece {
  background-color: red;
}

.yellow-piece {
  background-color: yellow;
}

#board {
  
   background: black;
   border-top: 5px solid skyblue;
   border-left: 5px solid skyblue;
   border-right: 5px solid skyblue;
 }
 canvas{
  width: 90%;
  object-fit: contain;
  max-width: 800px;
}
.connect4 h2{
  margin-top: 50px;
}
.cityInput {
  padding: 10px;
  font-size: 2rem;
  font-weight: bold;
  border: 2px solid hsla(0, 0%, 20%, 0, 3);
  border-radius: 10px;
  margin: 10px;
  width: 300px;
  align-items: center;
  box-shadow: 2px 2px 5px hsla(0, 0%, 0%, 0.2);
}
button[type="submit"]:hover{
  background-color: hsl(122, 39%, 30%);
}
button[type="submit"] {
  padding: 10px 20px;
  font-weight: bold;
  font-size: 2rem;
  background-color: hsl(122, 39%, 50%);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 2px 2px 5px hsla(0, 0%, 0%, 0.5);
}
.weather{
  align-items: center;
  margin: 50px;
}

button[type="submit"]:hover {
  background-color: hsl(122, 39%, 40%);
}
.card {
  background: linear-gradient(180deg, hsl(210, 100%, 75%), hsl(40, 100%, 80%));
  padding: 50px;
  box-shadow: 2px 2px 5px hsla(0, 0%, 0%, 0.5);
  border-radius: 10px;
  min-width: 300px;
  max-width: 500px;
  display: none;
  flex-direction: column;
  align-items: center;
  margin-bottom: 100px;
  margin: auto;
}

p {
  font-size: 1.5rem;
  margin: 5px 0;
}
.cityDisplay,
.tempDisplay {
  font-size: 3rem;
  font-weight: bold;
  color: hsla(0, 0%, 0%, 0.75);
  margin-bottom: 25px;
}
.humidityDisplay {
  font-weight: bold;
  margin-bottom: 25px;
}
.descDisplay {
  font-style: italic;
  font-weight: bold;
  font-size: 2rem;
}
.weatherEmoji {
  font-size: 7rem;
  margin: 0;
}
.errorDisplay {
  font-size: 2.5rem;
  font-weight: bold;
  color: hsla(0, 0%, 0%, 0.75);
}

/*          MESSAGE FORM          */
*, *:before, *:after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  
  font-size: 12px;
}

body, button, input {
  
  font-weight: 700;
  letter-spacing: 1.4px;
}

.background {
  display: flex;
}

.container {
  flex: 0 1 700px;
  margin: auto;
  padding: 10px;
}

.screen {
  position: relative;
  background: #484872;
  border-radius: 15px;
}

.screen:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  bottom: 0;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  z-index: -1;
}

.screen-header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: #3e3e3e;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.screen-header-left {
  margin-right: auto;
}

.screen-header-button {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 3px;
  border-radius: 8px;
  background: white;
}

.screen-header-button.close {
  background: #ed1c6f;
}

.screen-header-button.maximize {
  background: #e8e925;
}

.screen-header-button.minimize {
  background: #74c54f;
}

.screen-header-right {
  display: flex;
}

.screen-header-ellipsis {
  width: 3px;
  height: 3px;
  margin-left: 2px;
  border-radius: 8px;
  background: #999;
}

.screen-body {
  display: flex;
}

.screen-body-item {
  flex: 1;
  padding: 50px;
}

.screen-body-item.left {
  display: flex;
  flex-direction: column;
}

.app-title {
  display: flex;
  flex-direction: column;
  position: relative;
  color: #ea1d6f;
  font-size: 26px;
  
}

.app-title:after {
  content: '';
  display: block;
  position: absolute;
  left: 25%;
  bottom: -10px;
  width: 75px;
  height: 4px;
  background: #ea1d6f;
  
}

.app-contact {
  margin-top: auto;
  font-size: 8px;
  color: #888;
}

.app-form-group {
  margin-bottom: 15px;
}

.app-form-group.message {
  margin-top: 40px;
}

.app-form-group.buttons {
  margin-bottom: 0;
  text-align: right;
}

.app-form-control {
  width: 100%;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #666;
  color: #ddd;
  font-size: 14px;
  text-transform: uppercase;
  outline: none;
  transition: border-color .2s;
}

.app-form-control::placeholder {
  color: #666;
}

.app-form-control:focus {
  border-bottom-color: #ddd;
}

.app-form-button {
  background: none;
  border: none;
  color: #ea1d6f;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  padding-left: 50px;
}

.app-form-button:hover {
  color: #b9134f;
}

.credits {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  color: #ffa4bd;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  font-weight: normal;
}

.dribbble {
  width: 20px;
  height: 20px;
  margin: 0 5px;
}

/*
#message-form{
  box-shadow: 5px 5px 10px;
  width: 500px;
  padding: 30px;
  display: flex;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
}
#contact{
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
#message {
  padding-bottom: 30px;
}
#name{
  width: 150px;
}
#email{
  width: 150px;
}
message-submit-btn{
  margin-top: 30px;
}*/

.footer {
  width: 100%;
  height: 200px;
  padding: 20px 80px;
  margin: 0;
  background: #484872;
  text-align: center;
  margin-top: 50px;
}
.footer p {
  color: whitesmoke;
  margin: 20px auto;
}
.footer p a {
  color: hsla(0, 0%, 96%, 0.74);
}


/*  MOBILE DEVICE  */

@media screen and (max-width: 600px) {
  .screen-body {
    padding: 40px;
  }

  .screen-body-item {
    padding: 0;
  }

   canvas{
    width: 90%;
    object-fit: contain;
    max-width: 400px;
  }
}


@media only screen and (max-width: 850px) {
  .navbar {
    padding: 0;
  }
  .menu-btn {
    display: block;
    width: 20px;
  }
  .logo {
    position: absolute;
    top: 15px;
    left: 30px;

  }
.nav-links {
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  background: #484872;
  margin-top: -1100px;
  transition: all 0.5s ease;
  }
.logo{
  font-size: 5vmin;
  }
.mobile-menu {
  margin-top: 0px;
  border-bottom-right-radius: 30%;
  }
.nav-links li {
  margin: 30px 50px;
}
.header-content h2 {
  font-size: 4vmin;
}
.header-content img{
  width: 80%;
}

.header-content h1 {
  font-size: 5vmin;
  margin-top: 50px;
  margin-bottom: 30px;
}
.weatherForm{
  display: flex;
  flex-direction: column;
  align-items: center;
 }
.weatherForm input{
  width: 250px;
 }
.weatherForm button{
  width: 250px;
  margin-bottom: 30px;
}
.card {
  background: linear-gradient(180deg, hsl(210, 100%, 75%), hsl(40, 100%, 80%));
  padding: 30px;
  box-shadow: 2px 2px 5px hsla(0, 0%, 0%, 0.5);
  border-radius: 10px;
  min-width: 240px;
  max-width: 500px;
  min-height: 550px;
  flex-direction: column;
  align-items: center;
  margin-bottom: 200px;
  margin: auto;
  }
  .descDisplay {
  font-style: italic;
  font-weight: bold;
  font-size: 1.5rem;
  }
  canvas{
    width: 100%;
    object-fit: contain;
  }
  #message-form{
    margin: auto;
  }
  .footer {
    padding: 10px;
    margin-top: 50px;
  
  }
}