:root {
  --primary1: hsl(6, 100%, 80%);
  --primary2: hsl(335, 100%, 65%);
  --paleBlue: hsl(243, 100%, 93%);
  --grayishBlue: hsl(229, 7%, 55%);
  --darkBlue: hsl(228, 56%, 26%);
  --veryDarkBlue: hsl(229, 57%, 11%);
}

body {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  margin: 0;
  background-image: url(../../images/bg-mobile.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: var(--paleBlue);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}

.main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
}

.interaction-container {
  width: 80%;
  background-color: var(--darkBlue);
  padding: 2em 1em;
  border-radius: 10px;
  border-top-right-radius: 100px;
}

.actions {
  margin-top: 1.3em;
  display: flex;
}

.action {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--veryDarkBlue);
  border: none;
  height: 50px;
  width: 50px;
  margin-right: 1em;
  border-radius: 10px;
  outline: none;
}
:last-child {
  margin-right: 0px;
}

.information-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--darkBlue);
  margin-top: 1em;
  border-radius: 10px;
  width: 80%;
  padding: 2em 1em;
}

.information-text {
  text-align: center;
}

.information-progress {
  width: 95%;
  height: 1em;
  background-color: var(--veryDarkBlue);
  border-radius: 15px;
  padding: 3px;
}

.progress-value {
  width: 75%;
  display: none;
  background-image: linear-gradient(to right, var(--primary1), var(--primary2));
  border-radius: 15px;
  height: 100%;
  position: relative;
}

.active {
  display: block;
}

.progress-value::after {
  position: absolute;
  top: 2px;
  right: 3px;
  display: block;
  content: "";
  background-color: white;
  width: 12px;
  height: 12px;
  border-radius: 100%;
  z-index: 10;
}

.indicators {
  margin-top: 10px;
  width: 95%;
  display: flex;
  justify-content: space-between;
}

.alert{
  background-color: white;
  color: var(--grayishBlue);
  text-align: center;
  text-transform: uppercase;
  width: 60%;
  transform: translateY(100%);
  border-radius: 10px;
}

.alert p{ 
  display: flex;
  align-items: center;
  justify-content: center;
}

.bold{
  color: var(--veryDarkBlue);
  font-weight: 700;
  font-size: 2em;
  margin-right: 10px;
}

.upload {
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  body{
    background: url(../../images/bg-desktop.svg), var(--veryDarkBlue);
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
  }

  .main-container{
    height: auto;
    flex-direction: row;
    align-items: flex-end;
  }

  .interaction-container{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
    width: 25%;
    height: 75%;
    margin-right: 2em;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, .3);
  }
  
  .information-container{
    width: 40%;
    position: relative;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, .3);
  }

  .alert{
    position: absolute;
    right: 1em;
    top: 0;
    transform: translateY(-70%);
    width: auto;
    padding: .4em .8em;
    border-bottom-right-radius: 0px;
  }
  
  .alert::after{
    position: absolute;
    right: 0;
    bottom: -20px;
    display: block;
    content: "";
    width: 0px;
    height: 0px;
    border-right: 20px solid white;
    border-left: 20px solid transparent;
    border-bottom: 20px solid transparent;
  }
}