:root {  
  --green: rgb(42, 252, 152);
  --blue: rgb(41, 121, 255);
}

@keyframes float {
  from, to {
    transform: translateY(-0%);
  }
  
  50% {    
    transform: translateY(-3%);
  }
}

@keyframes background-pan {
  from {
    background-position: 1000% center;
  }
  
  to {
    background-position: 0% center;
  }
}


* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
}


.margin-bottom {
  margin-bottom: 34px;
}

body {
  background-color: #090b1a;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

.main-container {
  max-width: 90%;
  height: 785px;
  width: 330px;
  text-align: center;
  background-color: #1b1938;
  margin: 85px 50% 85px 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  border-radius: 5px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.main-container .my-image {
  height: 247px;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(170, 92, 219, 0.6)), to(rgba(170, 92, 219, 0.6))), url(../img/namias.jpg);
  background: linear-gradient(rgba(170, 92, 219, 0.6), rgba(170, 92, 219, 0.6)), url(../img/namias.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  margin-bottom: 43px;
}

.main-container h1 {
  width: 260px;
  margin: auto;
  font-family: "Inter", sans-serif;
  font-size: 1.5625rem;
  font-weight: 700;
  color: white;
  margin-bottom: 27px;
}

.main-container h1 span {
  color: #aa5cdb;
}

.main-container p {
  width: 252px;
  margin: auto;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-bottom: 48px;
  line-height: 1.4rem;
}

.main-container .list {
  list-style: none;
  width: 86px;
  margin: auto;
}

.main-container .list h3 {
  font-size: 1.5rem;
  color: white;
  font-family: "Inter", sans-serif;
  font-weight: 700;
}

.main-container .list h4 {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Lexend Deca", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.attribution {
  color: white;
  position: absolute;
  margin-top: 30px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

.attribution a {
  color: white;
}

@media screen and (min-width: 900px) {
  .main-container {
    height: 449px;
    width: 1108px;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 50% 50%;
        grid-template-columns: 50% 50%;
    -ms-grid-rows: 1fr;
        grid-template-rows: 1fr;
    text-align: left;
    position: absolute;
    top: 15%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  .main-container .my-image {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1/2;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(170, 92, 219, 0.6)), to(rgba(170, 92, 219, 0.6))), url(../img/namias.jpg);
    background: linear-gradient(rgba(170, 92, 219, 0.6), rgba(170, 92, 219, 0.6)), url(../img/namias.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 449px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 0;
  }
  .main-container .hero-container {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1/2;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1/2;
    position: relative;
    margin-top: -70px;
  }
  .main-container .hero-container .midterm-text h1 {
    width: 380px;
    font-size: 2rem;
    margin-left: 70px;
    margin-top: 50px;
  }
  .main-container .hero-container .midterm-text p {
    width: 400px;
    font-size: 0.875rem;
    margin-left: 70px;
    margin-bottom: 50px;
  }  
  .main-container .hero-container .list {
    list-style: none;
    width: 354px;
    margin-left: 70px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    line-height: 1.5;
  }
  .main-container .hero-container .list h3 {
    font-size: 1.3125rem;
    color: white;
    font-family: "Inter", sans-serif;
    font-weight: 700;
  }
  .main-container .hero-container .list h4 {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: "Lexend Deca", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
  }
  .attribution {
    width: 100%;
    margin-top: 50px;
    text-align: center;
  }
  .attribution a {
    color: white;
  }
}

.login-container, .profile-container {
  padding: 20px;
  text-align: center;
  margin-top: 20px;
}

.input-field {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
}

.btn {
  width: 100%;
  padding: 10px;
  border: none;
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
  border-radius: 3px;
}

.btn-google {
  background-color: #db4437;
  margin-top: 10px;
}

.profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.profile-name {
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.logout-btn {
  background-color: #dc3545;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
}
