@charset "UTF-8";
/*Обнуление*/
* {
  padding: 0;
  margin: 0;
  border: 0;
}

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:focus, :active {
  outline: none;
}

a:focus, a:active {
  outline: none;
}

nav, footer, header, aside {
  display: block;
}

html, body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input, button, textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*--------------------*/
:root {
  --main-font: ;
  --main-color: ;
}

.menu-icon {
  width: 28px;
  height: 28px;
}

.arrow-short-icon {
  width: 14px;
  height: 7px;
  fill: transparent;
  stroke: #1b1f3b;
  opacity: 0.25;
  transition: all 0.3s;
  pointer-events: none;
}
.arrow-short-icon--top {
  transform: rotate(180deg);
}

* {
  box-sizing: border-box;
  font-family: var(--main-font);
  font-weight: 700;
}

.pomodoro {
  padding: 32px 24px;
  min-height: 100vh;
  background-color: #1E213F;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pomodoro__title {
  font-size: 24px;
  line-height: 30px;
  text-align: center;
  color: #D7E0FF;
  margin-bottom: 45px;
}
.pomodoro__breaks {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 63px;
  padding-left: 6.13px;
  padding-right: 6.13px;
  background: #161932;
  border-radius: 31.5px;
  margin-bottom: 48px;
}
.pomodoro__break-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 106px;
  min-height: 48px;
  border-radius: 26.5px;
  font-size: 12px;
  line-height: 15px;
  color: #D7E0FF;
  opacity: 0.4;
  background: transparent;
  transition: all 0.3s;
}
.pomodoro__break-btn--active {
  background: var(--main-color);
  opacity: 1 !important;
  color: #1E213F;
  cursor: auto;
}
.pomodoro__break-btn:hover {
  opacity: 1;
}
.pomodoro__clock-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(315deg, #2E325A 0%, #0E112A 100%);
  box-shadow: -50px -50px 100px #272C5A, 50px 50px 100px #121530;
  margin-bottom: 63px;
}
.pomodoro__clock {
  position: relative;
  width: 267.8px;
  height: 267.8px;
  border-radius: 50%;
  background: #161932;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pomodoro__time {
  font-weight: 700;
  font-size: 80px;
  line-height: 99px;
  letter-spacing: -4px;
  color: #D7E0FF;
  margin-top: 75.9px;
  margin-bottom: 5.09px;
  display: none;
  transition: all 0.3s;
}
.pomodoro__time--active {
  display: block;
}
.pomodoro__go-btn {
  cursor: pointer;
  position: relative;
  z-index: 10;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 13.125px;
  color: #D7E0FF;
  background: transparent;
}
.pomodoro__go-btn:hover {
  color: var(--main-color);
}
.pomodoro__settings {
  background: transparent;
}
.pomodoro__settings .menu-icon {
  fill: #D7E0FF;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.pomodoro__settings:hover .menu-icon {
  opacity: 1;
}

@media screen and (min-width: 768px) {
  .pomodoro {
    padding: 80px 0 48px;
  }
  .pomodoro__title {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 55px;
  }
  .pomodoro__breaks {
    padding-left: 7px;
    padding-right: 7px;
    margin-bottom: 109px;
  }
  .pomodoro__break-btn {
    min-width: 120px;
    font-size: 14px;
    line-height: 17px;
    opacity: 0.4;
  }
  .pomodoro__clock-wrapper {
    width: 410px;
    height: 410px;
    margin-bottom: 144px;
  }
  .pomodoro__clock {
    width: 366px;
    height: 366px;
  }
  .pomodoro__time {
    font-size: 100px;
    line-height: 124px;
    letter-spacing: -5px;
    margin-top: 105px;
    margin-bottom: 20px;
  }
  .pomodoro__go-btn {
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 15px;
  }
}
@media screen and (min-width: 1440px) {
  .pomodoro {
    padding-top: 48px;
  }
  .pomodoro__breaks {
    margin-bottom: 52px;
  }
  .pomodoro__clock-wrapper {
    margin-bottom: 63px;
  }
  .pomodoro__go-btn {
    line-height: 21px;
  }
}
.settings {
  margin: 0 auto;
  position: fixed;
  z-index: 99;
  width: 327px;
  top: 46px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 15px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.settings + .overlay {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(10, 12, 28, 0.5);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.settings--active {
  opacity: 1;
  visibility: visible;
}
.settings--active + .overlay {
  opacity: 1;
  visibility: visible;
}
.settings__header-wrapper {
  min-height: 73px;
  border-bottom: 1px solid #E3E1E1;
  padding: 0 24px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.settings__title {
  font-weight: 700;
  font-size: 20px;
  line-height: 25px;
}
.settings__content-title {
  font-weight: 700;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 4.23077px;
  color: #161932;
  margin-bottom: 18px;
  text-align: center;
}
.settings__times {
  padding: 24px 24px 24px 23px;
  display: flex;
  flex-direction: column;
}
.settings__time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.settings__time-row:not(:last-child) {
  margin-bottom: 8px;
}
.settings__time-option {
  font-weight: 700;
  font-size: 12px;
  line-height: 15px;
  color: #1E213F;
  opacity: 0.4;
}
.settings__fonts, .settings__colors {
  padding: 24px 24px 0 23px;
  position: relative;
}
.settings__fonts:after, .settings__colors:after {
  top: 0;
  left: 23px;
  display: block;
  position: absolute;
  content: " ";
  width: 280px;
  height: 1px;
  background-color: #E3E1E1;
}
.settings__colors {
  padding-top: 16px;
}
.settings__fonts-wrapper, .settings__colors-wrapper {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.settings__fonts-wrapper {
  margin-bottom: 24px;
}
.settings__colors-wrapper {
  padding-bottom: 59px;
}
.settings__font-item {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #EFF1FA;
  font-weight: 700;
  font-size: 15px;
  color: rgba(30, 33, 63, 0.73);
  cursor: pointer;
}
.settings__font-item::after {
  content: " ";
  display: block;
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  top: -5px;
  left: -5px;
  background-color: transparent;
  border: 1px solid transparent;
  transition: all 0.3s;
}
.settings__font-item:hover::after {
  border-color: #EFF1FA;
}
.settings__font-item--active {
  color: #fff;
  background-color: #161932;
  cursor: auto;
}
.settings__font-item--active:hover::after {
  border-color: transparent;
}
.settings__font-item--kumbh {
  font-family: "Kumbh Sans", sans-serif;
}
.settings__font-item--roboto {
  font-family: "Roboto Slab", serif;
  font-weight: 400;
}
.settings__font-item--space {
  font-family: "Space Mono", monospace;
}
.settings__color-item {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}
.settings__color-item:hover {
  opacity: 0.6;
}
.settings__color-item--red {
  background-color: #F87070;
}
.settings__color-item--blue {
  background-color: #70F3F8;
}
.settings__color-item--purple {
  background-color: #D881F8;
}
.settings__color-item--active {
  cursor: auto;
}
.settings__color-item--active:hover {
  opacity: 1;
}
.settings__color-item--active::after {
  border-color: transparent;
  content: url("../img/Path 2.svg");
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.settings__apply {
  width: 140px;
  min-height: 53px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  background: #F87070;
  border-radius: 26.5px;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  color: #FFFFFF;
}
.settings__apply:hover {
  background-color: #F98D8D;
}

.close {
  width: 18px;
  height: 18px;
  position: relative;
  cursor: pointer;
}
.close__first-line, .close__second-line {
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 18px;
  height: 2px;
  background-color: #979797;
}
.close__first-line {
  transform: rotate(45deg);
}
.close__second-line {
  transform: rotate(-45deg);
}
.close:hover .close__first-line,
.close:hover .close__second-line {
  opacity: 0.8;
}

.incr-decr-selector-wrapper {
  position: relative;
}

.incr-decr-selector {
  width: 140px;
  min-height: 40px;
  padding: 0 16px;
  background: #EFF1FA;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
  color: #1E213F;
  -moz-appearance: textfield;
  appearance: textfield;
  margin: 0;
}
.incr-decr-selector::-webkit-inner-spin-button, .incr-decr-selector::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.incr-decr-selector__buttons {
  position: absolute;
  top: 8px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  justify-content: center;
}
.incr-decr-selector__button-top, .incr-decr-selector__button-bottom {
  display: flex;
  width: 14px;
  height: 7px;
  background: transparent;
}
.incr-decr-selector__button-top:hover .arrow-short-icon, .incr-decr-selector__button-bottom:hover .arrow-short-icon {
  opacity: 0.8;
}

@media screen and (min-width: 768px) {
  .settings {
    width: 540px;
    top: 28%;
    border-radius: 25px;
  }
  .settings__header-wrapper {
    min-height: 94px;
    padding: 0 40px 0 38px;
  }
  .settings__title {
    font-size: 28px;
    line-height: 35px;
  }
  .settings__content-title {
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 5px;
    margin-bottom: 0;
    text-align: left;
  }
  .settings__times {
    padding: 24px 40px;
    display: flex;
    flex-direction: column;
  }
  .settings__times-title {
    margin-bottom: 26px;
  }
  .settings__time-rows {
    display: flex;
  }
  .settings__time-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .settings__time-row:not(:last-child) {
    margin-bottom: 0;
    margin-right: 20px;
  }
  .settings__time-option {
    margin-bottom: 10px;
  }
  .settings__fonts, .settings__colors {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
  }
  .settings__fonts:after, .settings__colors:after {
    top: 0;
    left: 40px;
    width: 460px;
  }
  .settings__colors {
    padding: 23px 40px 59px;
  }
  .settings__fonts-wrapper {
    margin-bottom: 0;
  }
  .settings__colors-wrapper {
    padding-bottom: 0;
  }
}
.pomodoro__progress-circle {
  width: 248.05px;
  height: 248.05px;
  position: absolute;
  top: 9.88px;
  left: 9.88px;
  stroke: var(--main-color);
}
.pomodoro__progress-circle path {
  stroke: transparent;
}
.pomodoro__progress-circle path + path {
  stroke-linecap: round;
  stroke: var(--main-color);
}

@media screen and (min-width: 768px) {
  .pomodoro__progress-circle {
    width: 339px;
    height: 339px;
    top: 13.5px;
    left: 13.5px;
  }
}