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

body {
 font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 width: 100%;
 height: 100vh;
 display: flex;
 justify-content: center;
 align-items: center;
 text-align: center;
 flex-direction: column;
 position: relative;
}

.bg-color {
 position: relative;
 left: 145px;
 transform: translate(-50%);
 width: 40%;
 margin-bottom: 2em;
 display: flex;
 z-index: 100;
}

.toggle-dark {
 width: 15%;
 position: absolute;
}

.toggle-white {
 margin-bottom: 1em;
 width: 15%;
}

.hidden {
 visibility: hidden;
}

.container {
 color: white;
 height: 50vh;
 width: 95%;
 background: hsl(217, 19%, 24%);
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 padding: 0em 2em;
 border-radius: 5px;
 position: relative;
 box-shadow: 0px 0px 30px rgba(0, 0, 0, .3);
}

.advice-title {
 color: hsl(150, 100%, 66%);
 letter-spacing: 2px;
 font-weight: 600;
 font-size: 1.2rem;
}

.advice-text {
 font-size: 1.3rem;
 margin: 1em 0;
 font-weight: 500;
}

.divider-line {
 position: relative;
 top: 20px;
}

.btn {
 border: none;
 padding: 1em;
 border-radius: 50%;
 position: absolute;
 bottom: -35px;
 background: hsl(150, 100%, 66%);
 border-color: transparent;
}

.dice-icon {
 width: 1.5em;
 display:  flex;
 justify-content: center;
 align-items: center;
}

@media (min-width: 500px) {
 .advice-text {
  padding: 1em;
 }

 .bg-color {
  left: 175px;
 }

 .container {
  height: 50vh;
 }
 
 .divider-line {
  top: -20px;
 }
}

@media (min-width: 700px) {
 .container {
  width: 85%;
 }

 .advice-text {
  padding: 2em;
 }

 .divider-line {
  top: 0px;
 }

 .bg-color {
  left: 250px;
 }
}

@media (min-width: 900px) {
 .container {
  width: 60%;
  height: 65%;
 }

 .bg-color {
  left: 330px;
 }

 .advice-text {
  padding: 2em;
 }

 .divider-line {
  top: -15px;
 }
 
 .btn {
  bottom: -20px;
 }
}


@media (min-width: 1000px) {
 .bg-color {
  top: 6%;
  left: 97%;
 }

 .toggle-dark, .toggle-white {
  width: 4%;
 }

 .container {
  width: 50%;
  height: 65%;
 }

 .divider-line {
  top: -30px;
 }

}