@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@500&display=swap');

* {
    margin: 0;
  }
  
  body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: 'Comfortaa', cursive;
    background: #20002c;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #cbb4d4, #20002c);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #cbb4d4, #20002c); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  }

  #title {
    font-size: 50px;
    text-align: center;
    margin: 0 auto;
  }

  button {
    color: white;
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
  }
  
  .upper-container {
    margin: 0 auto;
    display: flex;
  }
  
  .break-session {
    display: flex;
    flex-direction: column;
    margin: 30px 20px;
  }
  
  .break-session > h2 {
    font-weight: normal;
    text-align: center;
  }

  .counter {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
  }
  
  .counter > span {
    font-size: 30px;
    width: 50px;
    text-align: center;
  }
  
  .counter > button {
    height: 30px;
    width: 30px;
  }
  
  .timer {
    width: 300px;
    margin: 0 auto;
    padding: 18px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
    border-radius: 35px;
  }
  
  #timer-label {
    font-size: 33px;
    font-weight: normal;
  }
  
  #time-left {
    font-size: 50px;
    font-weight: normal;
    margin: 10px;
  }
  
  .menu > button {
    height: 40px;
    width: 40px;
    margin: 0 10px;
  }

  @media screen and (max-width: 438px) {
    .upper-container {
      flex-direction: column;
      margin: 0 auto;
    }

    .timer {
      width: 90%;
    }
  }

  @media screen and (max-width: 304px) {
    .upper-container {
      margin: 0 auto;
      justify-self: center;
      align-self: center;
    }
  } 
  
