@import url("/?originalUrl=https%3A%2F%2Ffonts.googleapis.com%2Fcss2%3Ffamily%3DJosefin%2BSans%3Awght%40350%26display%3Dswap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Josefin Sans", sans-serif;
}

body {
  margin-top: 90px;
}

.logo {
  height: 80px;
  width: auto;
}

.header {
  background-color: #f5f2f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 9%;
  position: fixed;
  top: 0;
  width: 100%;
}

.nav_bar {
  list-style-type: none;
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 4px;
}

.nav_bar li a {
  text-decoration: none;
  color: #6a7475;
  font-size: 18px;
}

.nav_bar li a:hover {
  color: #222626;
}

.login {
  padding: 10px 16px 4px;
  font-size: 20px;
  border: 2px #41bf52 solid;
  border-radius: 4px;
  color: #41bf52;
  background-color: white;
  font-family: "Josefin Sans", sans-serif;
}

.introduction {
  background-image: url("/?originalUrl=https%3A%2F%2Fhacknc22.web.app%2Fmedia%2Fbackground.gif");
  height: 500px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 10%;
  gap: 16px;
}

.slogan {
  text-align: center;
  font-size: 24px;
}

.introduction-title {
  font-size: 48px;
}

.read-more {
  max-width: 200px;
  padding: 12px 24px 8px;
  font-size: 24px;
  color: white;
  background-color: #41bf52;
  border: none;
  border-radius: 4px;
}

.measurement-title {
  text-align: center;
  background-color: #faf7fa;
  padding-top: 24px;
}

.measurement-title .line {
  margin: 0 9%;
}

.question {
  padding-top: 16px;
  padding-bottom: 16px;
}

.measurements {
  display: flex;
  justify-content: space-around;
  gap: 32px;
  padding: 2% 9% 4%;
  background-color: #faf7fa;
}

.measure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 300px;
}

.clipart {
  width: 56px;
  height: auto;
}

.components {
  margin: 56px 9%;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.component1,
.component2 {
  display: flex;
  justify-content: space-between;
}

.arduino-text {
  display: flex;
  align-items: center;
  justify-content: center;
}

.component2 {
  flex-direction: row-reverse;
}

.component-title {
  text-align: center;
}

.component-container {
  display: flex;
  justify-content: space-around;
  margin-top: 24px;
}

.component-image1 {
  width: 300px;
  height: 300px;
  border: 2px #41bf52 solid;
  border-radius: 5px;
}

.component-images {
  border: 2px lightgreen solid;
  border-radius: 10px;
  min-height: 300px;
  min-width: 300px;
  max-height: 300px;
  max-width: 300px;
}

.line {
  border: 1px green solid;
}

form {
  border: 3px solid #f1f1f1;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

button {
  background-color: #04aa6d;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}

button:hover {
  opacity: 0.8;
}

.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}

.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
}

img.avatar {
  width: 40%;
  border-radius: 50%;
}

.container {
  padding: 16px;
}

span.psw {
  float: right;
  padding-top: 16px;
}

@media screen and (max-width: 300px) {
  span.psw {
    display: block;
    float: none;
  }
  .cancelbtn {
    width: 100%;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  padding-top: 60px;
}

.modal-content {
  background-color: #fefefe;
  margin: 5px auto;
  border: 1px solid #888;
  width: 80%;
}

.close {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
}

.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s;
}

@-webkit-keyframes animatezoom {
  from {
    -webkit-transform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
  }
}

@keyframes animatezoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
