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

:root {
  --tomato-color: #ff6347;
  --background-color: #252525;
  --background-circle-color: #f5f5f5;
}

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;


}

html {

  @media (max-width: 720px) {
    font-size: 87.5% // 14px
  }

  @media (max-width: 1080px) {
    font-size: 93.75% // 15px
  }

}

html,
body {
  transform-origin: center;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  color: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul {
  list-style-type: none;
  overflow: hidden;
  background-color: #1d1d1d;
  display: flex;
  margin: 0 auto 0 auto;
  padding: 0;
  justify-content: center;
  position: fixed;
  width: 100%;

}

li {
  float: left;

}

li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  transition: linear;
  transition-duration: 0.2s;

}

li a:hover {
  background-color: #111;
}

button {
  padding: 12px 24px;
  background-color: transparent;
  border: 2px solid var(--background-circle-color);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  margin: 0 10px 0 0;
}

.btn-pomodoro:hover {
  background-color: rgb(151, 62, 62);
  position: relative;

}

.btn-curto:hover {
  background-color: rgb(70, 80, 177);
  position: relative;

}

.btn-longo:hover {
  background-color: rgb(86, 42, 136);
  position: relative;

}


.main {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 100%;
  margin: 0 auto -50px;
}

.row {
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  height: auto;
  margin-bottom: 1%;
}

a:hover,
a:visited,
a:link,
a:active {
  text-decoration: none;
  color: inherit;
}

.footer {
  font-size: 12px;
  color: rgb(172, 172, 172);
  opacity: 60%;
  display: flex;
  justify-content: center;
  position: relative;
  bottom: 0;
}

.turns {
  background-color: rgb(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: 8px;
  margin: 10px;
}

.time-container {
  position: relative;
}

.time {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 46px;
}

.time-mode {
  padding: 12px;
  font-size: 18px;
  color: rgb(172, 172, 172);
  opacity: 60%;
}

.circle-svg {
  width: 200px;
  height: 200px;
  transform: rotate(-90deg);
}

.background-circle,
.circle {
  r: 95px;
  cx: 100px;
  cy: 100px;
  fill: none;
}

.background-circle {
  stroke: var(--background-circle-color);
  stroke-width: 6px;
}

.circle {
  stroke: var(--tomato-color);
  stroke-width: 10px;
  stroke-dasharray: 597px;
  stroke-dashoffset: var(--dash-offset, 0);
  transition: stroke-dashoffset 1s linear;
}

#minus:hover,
#plus:hover,
button:hover {
  transition: linear;
  transition-duration: 0.2s;
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.3);
  transform: scale(1.05);
  cursor: pointer;

}

#minus,
#plus {
  filter: grayscale(1);
  filter: brightness(20);
}

#minus:hover,
#plus:hover {
  opacity: 90%;
  filter: grayscale(0);
  cursor: pointer;
}

.heart {
  display: inline-block;
  height: 15px;
  margin: 0 3px;
  position: relative;
  top: 0;
  width: 15px;
  fill: var(--tomato-color);
  animation: pulse 1s ease infinite;

}

.heart:before,
.heart:after {
  content: "";
  border-radius: 50%;
  height: 15px;
  position: absolute;
  width: 15px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.22);
  }

  100% {
    transform: scale(1);
  }
}

.about:hover,
.config:hover {
  cursor: pointer;
}

.aboutModal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 10%;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  border-radius: 8px;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: relative;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  text-align: center;
  padding: 2px 16px;
  background-color: var(--tomato-color);
  color: white;
  border-radius: 5px;
}

.modal-body {
  padding: 5px 24px;
  background-color: var(--background-color);
  color: white;
  width: 100%;
  height: 100%;
}

p,
h3 {
  padding: 2px 0px;
}

.list-ol {
  margin-left: 10px;
  list-style-image: url("./assets/img/16px/tomato.png");
}