/*---------------------------------------*/  
/*----------------GENERAL ---------------*/
/*---------------------------------------*/

:root {
  --main-color: pink;
  --secondary-color: #e0e0e0;
}

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

h1 {
  margin-block: 70px 60px;
  font-family: 'Trebuchet MS';
  font-size: 40px;
  text-align: center;
}

.container {
  margin: auto;
  margin-bottom: 20px;
  height: 300px;
  width: 350px;
}
  
/*---------------------------------------*/  
/*-----------TELEPHONE-HANDLE -----------*/
/*---------------------------------------*/

.handle {
  display: flex;
  align-items: end;
  height: 40%;
  width: 100%;
  position:relative;
  top: 8px;
}

.main-handle {
  height: 55%;
  width: 100%;
  align-self: start;
  background: linear-gradient(35deg, var(--main-color) 70%, white);
  border-radius: 100px 100px 0 0 
}

.speaker, .microphone {
  height: 40%;
  width: 20%;
  position: absolute;
  bottom: 10px;
  border-radius: 0 0 40px 15px;
  background-color: pink;

}

.microphone {
  right: 0px;
  border-radius: 0 0 15px 40px;
  background: linear-gradient(40deg, var(--main-color) 80%, white);
  z-index: 1;;
}
  
/*---------------------------------------*/  
/*------------TELEPHONE-BASE ------------*/
/*---------------------------------------*/

.handle-support {
  position: absolute;
  width: 12%;
  height: 40%;
  top: -40px;
  background: linear-gradient(80deg, var(--main-color) 60%, white);
  z-index: -1;
}

.handle-support.left {
  left: 110px;
}

.handle-support.right {
  right: 110px;
}

.base {
  display: flex;
  position: relative;
  height: 55%;
  width: 100%;
}

.main-base {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 140px 140px 0 0;
  background: linear-gradient(40deg, var(--main-color) 50%, white);
}


.legs {
  height: 4%;
  width: 10%;
  position: absolute;
  bottom: -5px;
  background-color: pink;
}

.legs.right {
  right: 0;
}
  
input {
  position: absolute;
  width: 40%;
  padding-inline: 10px;
  height: 30px;
  bottom: 40px;
  left: 30%;
  border: solid 1px var(--secondary-color);
  border-radius: 10px;
}

/*---------------------------------------*/  
/*--------------- BUTTONS ---------------*/
/*---------------------------------------*/

div.buttons {
  display: grid;
  grid-template-rows: repeat(2, 45px);
  gap: 5px;
  width: 350px;
  height: 100px;
  margin: auto;
  margin-bottom: 35px;
}

button {
  font-family: 'Trebuchet MS';
  font-size: 16px;
  border: 0px;
  border-radius: 5px;
  background: linear-gradient(45deg, var(--secondary-color) 85%, white);
  cursor: pointer;
  transition: background 0.5s;
}

button:hover {
  background: linear-gradient(45deg, white 0%, var(--main-color) 5%, var(--main-color) 65%, white);
}

/*---------------------------------------*/  
/*--------------- RESULTS ---------------*/
/*---------------------------------------*/

.results.container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  height: 50px;
  border: 5px dashed var(--secondary-color);

}

#results-div {
  text-align: center;
  font-family: 'Trebuchet MS';
  font-size: 18px;
}

.hidden {
  display: none !important;
}