body {
  background: #000
  radial-gradient(rgba(255, 255, 255, 0.712) 10%, transparent 1%);
  background-size: 10px 10px;
  color: #fff;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 2em;
  font-family: "Teko", "sans-serif";
}

img{
  width: 10em;
  height: 10em;
  border-radius: 50%;
  float: left;
  margin-left: 2em;
  margin-top: 2em;
  object-fit: cover;
  border: 2px solid #fff;
}

.name{
  margin-top: -0.3em;
  margin-right: 2.6em;
  position: relative;
  float: right;
}

.about-me-text {
  font-size: 20px;
  max-width: 12.5em;
  margin-top: -1em;
  margin-right: 2em;
  text-align: left;
  position: relative;
  float: right;
  font-weight: lighter;
}

button{
  color:#fff;
  background-color: #000;
  border-radius: 5px;
  width: 10em;
  height: 3em;
  font-family: "Teko", "sans-serif";
  font-size: 18px;
  font-weight: bold;
  margin-top: 0.5em;
  margin-left: 0.5em;
  visibility: visible;
}

button:hover{
animation: animate 3s ease-out infinite;
}

@keyframes animate{
0%{
  background-position : 0%;
  box-shadow: 0 0 .8em #04acff;
}
50%{
  background-position: 60%;
  box-shadow: 0 0 .8em #e11adc;
}
100%{
  background-position: 100%;
  box-shadow: 0 0 .8em #3e56a7;
}
}

.card {
  width: 90%;
  max-width: 500px;
  min-height: 315px;
  margin: 0 auto;
  background-color: #000;
  border-radius: 8px;
  z-index: 1;
  border: solid #fff;
  position: relative;
  float: center;
 }
 
 .tools {
  display: flex;
  align-items: center;
  padding: 9px;
 }
 
 .circle {
  padding: 0 4px;
 }
 
 .box {
  display: inline-block;
  align-items: center;
  width: 10px;
  height: 10px;
  padding: 1px;
  border-radius: 50%;
 }
 
 .red {
  background-color: #ff605c;
 }
 
 .yellow {
  background-color: #ffbd44;
 }
 
 .green {
  background-color: #00ca4e;
 }


.container {
  width: 90%;
  max-width: 500px;
  margin: 2em auto;
  border-radius: 8px;
}

.container fieldset {
  border: 2px solid #fff;
  border-radius: 5px;
  margin-bottom: 20px;
  padding: 10px 20px;
  background-color: #000;
}

.container legend {
  background-color: #fff;
  color: #000;
  padding: 5px 10px;
  border-radius: 5px;
  font-family: "Teko", "sans-serif";
  font-weight: bold;
  font-size: 22px;
}

.container label {
  display: block;
  margin: 10px 0 5px;
  float: left;
  font-family: "Teko", "sans-serif";
  font-size: 20px;
  font-weight: bold;
}

.container input[type="text"],
.container input[type="email"],
.container textarea {
  width: 100%;
  max-width: 450px;
  margin-bottom: 1em;
  font-family: "Teko", "sans-serif";
  font-size: 20px;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #fff;
  outline: none;
  color: #fff;
}

.container textarea{
  min-height: 40px;
  max-height: 200px;
}

.popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: black;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 16px;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  z-index: 1000;
}

.popup.success {
  border: 2px solid green;
}

.popup.error {
  border: 2px solid red;
}


@media screen and (max-width: 600px) {
  img {
      width: 8em;
      height: 8em;
      float: none;
      margin: 1em auto;
      display: block;
  }

  .name, .about-me-text {
      float: none;
      text-align: center;
      margin: 0 auto;
  }
}
