@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;
}

/*--------------------*/
.preloader-icon {
  width: 50px;
  height: 50px;
}

* {
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  color: #ffffff;
}

.update-icon {
  width: 18px;
  height: 18px;
}

.more-button {
  width: 115px;
  min-height: 39px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 4px 4px 17px;
  background-color: #ffffff;
  cursor: pointer;
}
.more-button__text {
  font-weight: 700;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 3.75px;
  text-transform: uppercase;
  color: #000000;
  opacity: 0.5;
}
.more-button__icon {
  width: 32px;
  min-height: 32px;
  border-radius: 50px;
  background-color: #303030;
  display: flex;
  align-items: center;
  justify-content: center;
}
.more-button__stick {
  display: block;
  height: 2px;
  width: 10px;
  background-color: #ffffff;
  transition: all 0.1s ease-in-out;
}
.more-button__stick--left {
  transform: translate(-20%, 50%) rotate(-45deg);
}
.more-button__stick--right {
  transform: translate(20%, 50%) rotate(45deg);
}
.more-button:hover .more-button__icon {
  background-color: #999999;
}
.more-button--expanded .more-button__stick--left {
  transform: translate(-20%, -50%) rotate(45deg);
}
.more-button--expanded .more-button__stick--right {
  transform: translate(20%, -50%) rotate(-45deg);
}

@media screen and (min-width: 768px) {
  .more-button {
    width: 146px;
    min-height: 56px;
    padding: 8px 9px 8px 21px;
  }
  .more-button__text {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 5px;
  }
  .more-button__icon {
    width: 40px;
    min-height: 40px;
  }
  .more-button__stick {
    width: 12px;
  }
}
@media screen and (min-width: 1440px) {
  .more-button {
    align-self: flex-end;
    margin-left: 78.4%;
  }
}
.clock[data-day-time=day] {
  background-image: url("../img/day-bg.png");
}
.clock[data-day-time=day] .clock__details {
  background: rgba(255, 255, 255, 0.75);
}
.clock[data-day-time=day] .clock__details-left-part {
  color: #303030;
}
.clock[data-day-time=day] .clock__details-right-part {
  color: #303030;
}

.clock[data-day-time=night] {
  background-image: url("../img/night-bg.png");
}
.clock[data-day-time=night] .clock__details {
  background: rgba(0, 0, 0, 0.75);
}
.clock[data-day-time=night] .clock__details-left-part {
  color: #ffffff;
}
.clock[data-day-time=night] .clock__details-right-part {
  color: #ffffff;
}

.clock[data-day-time=night] .clock__greetings::before {
  content: url("../img/moon-icon.svg");
  width: 24px;
  height: 24px;
  margin-right: 16px;
}

.clock[data-day-time=day] .clock__greetings::before {
  content: url("../img/sun-icon.svg");
  width: 22.43px;
  height: 24px;
  margin-right: 16.66px;
}

.clock {
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.clock__container {
  padding: 32px 0 0 26px;
  height: auto;
}
.clock__time-block {
  padding-top: 323px;
  margin-bottom: 48px;
  transition: all 0.3s;
}
.clock__time-block--shifted {
  padding-top: 67px;
}
.clock__greetings {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 15px;
  line-height: 25px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.clock__greetings::before {
  display: block;
}
.clock__time {
  font-weight: 700;
  font-size: 100px;
  line-height: 100px;
  letter-spacing: -2.5px;
  margin-bottom: 16px;
}
.clock__timezone {
  font-weight: 300;
  font-size: 15px;
  line-height: 28px;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-left: 5px;
}
.clock__place {
  font-weight: 700;
  font-size: 15px;
  line-height: 28px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.clock__expand-btn {
  margin-bottom: 40px;
}
.clock__details {
  position: fixed;
  width: 100%;
  backdrop-filter: blur(40.7742px);
  bottom: -100%;
  right: 0;
  left: 0;
  min-height: 256px;
  padding: 50px 26px;
  transition: all 0.3s;
}
.clock__details--expanded {
  bottom: 0;
}
.clock__details-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.clock__details-row:not(:last-child) {
  margin-bottom: 16px;
}
.clock__details-left-part {
  font-weight: 400;
  font-size: 10px;
  line-height: 28px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.clock__details-right-part {
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
}

@media screen and (min-width: 768px) {
  .clock__container {
    padding: 80px 0 0 64px;
  }
  .clock__time-block {
    padding-top: 513px;
    margin-bottom: 80px;
  }
  .clock__time-block--shifted {
    padding-top: 73px;
  }
  .clock__greetings {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 3.6px;
    margin-bottom: 0;
  }
  .clock__time {
    font-size: 175px;
    line-height: 175px;
    letter-spacing: -4.375px;
    margin-bottom: 0;
  }
  .clock__timezone {
    font-size: 32px;
    line-height: 28px;
    margin-left: 11px;
  }
  .clock__place {
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 3.6px;
  }
  .clock__expand-btn {
    margin-bottom: 64px;
  }
  .clock__details {
    min-height: 440px;
    padding: 119px 166px 119px 64px;
    display: grid;
    grid-template-columns: auto auto;
    grid-row-gap: 48px;
    grid-column-gap: 80px;
  }
  .clock__details-row {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .clock__details-row:not(:last-child) {
    margin-bottom: 0;
  }
  .clock__details-left-part {
    font-size: 13px;
    letter-spacing: 2.6px;
  }
  .clock__details-right-part {
    font-size: 40px;
    line-height: 48px;
  }
}
@media screen and (min-width: 1440px) {
  .clock__container {
    padding: 56px 0 0 165px;
  }
  .clock__time-block {
    padding-top: 356px;
    margin-bottom: 0;
  }
  .clock__time-block--shifted {
    padding-top: 0;
  }
  .clock__greetings {
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 16px;
  }
  .clock__time {
    font-size: 200px;
    line-height: 200px;
    letter-spacing: -5px;
  }
  .clock__timezone {
    font-size: 40px;
  }
  .clock__place {
    display: none;
  }
  .clock__expand-btn {
    margin-bottom: 56px;
  }
  .clock__details {
    min-height: 400px;
    padding: 74px 431px 74px 165px;
    grid-row-gap: 42px;
    grid-column-gap: 242px;
  }
  .clock__details-left-part {
    font-size: 15px;
    letter-spacing: 3px;
    margin-bottom: 9px;
  }
  .clock__details-right-part {
    font-size: 56px;
    line-height: 68px;
  }
}
.phrase-block {
  max-width: 324px;
  width: 100%;
  position: fixed;
  transition: all 0.3s;
}
.phrase-block__phrase {
  max-width: 290px;
  width: 100%;
  font-weight: 400;
  font-size: 12px;
  line-height: 22px;
  margin-bottom: 8px;
}
.phrase-block__athor {
  font-weight: 700;
  font-size: 12px;
  line-height: 22px;
}
.phrase-block__update {
  background-color: transparent;
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.phrase-block__update-icon {
  fill: #ffffff;
  opacity: 0.5;
  transition: all 0.3s;
}
.phrase-block__update:hover .phrase-block__update-icon {
  opacity: 1;
}
.phrase-block.hiden {
  display: none;
  top: -100%;
}

@media screen and (min-width: 768px) {
  .phrase-block {
    max-width: 573px;
    width: 100%;
  }
  .phrase-block__phrase {
    max-width: 540px;
    width: 100%;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 13px;
  }
  .phrase-block__athor {
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
  }
  .phrase-block__update {
    top: 9.67px;
  }
}
@media screen and (min-width: 1440px) {
  .phrase-block__update {
    top: 10.67px;
  }
}