body {
  margin: 0;
  padding: 0px 10% 5%;
  background-color: #0b0c10;
}
div {
  margin: 0;
  padding: 0;
}
.popup {
  width: 100vw;
  height: 100vh;

  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  z-index: 1000;

  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(0, 0, 0, .5);

  visibility: hidden;
  opacity: 0;

  transition: 0.3s;
}

.margin-block {
  margin: 5vw 2vw 5vw;
}

.flex-start {
  display: flex;
  justify-content: space-between;
}

.writers-container {
  display: flex;
  justify-content: space-between;
}

.flex-around {
  display: flex;
  justify-content: space-around;
}
.big-title {
  margin: 0px;
  padding: 0px;
  font-style:900;
  color: #66FCF1;
  font-size: 8vw;
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.name {
  font-style:900;
  color: #66FCF1;
  font-size: 4vw;
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.discription {
  font-style:900;
  color: #F9EBEB;
  font-size: 4vw;
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.avatar {
  display: flex;
  align-items: center;
}
.avatar_img {
  width: 35vw;
  height: 35vw;
  background-size: cover;
  display: block;
  border-radius:50%;
}

.inner-oval {
  width: 15vw;
  height: 15vw;
  border: 3px solid #66FCF1;

  display: flex;
  justify-content: center;
  border-radius: 80%;
  align-items: center;
  background: #0b0c10;
  font-size: 5vw;
  color: #66FCF1;

}

.oval-element {
  color: #66FCF1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration-line:unset;
}
.oval-element_p {
  display: inline-block;
  font-size: 2vw;
  text-decoration-line:unset;
}
.oval-element_a {
  display: inline-block;
  color: #66FCF1;
  position: relative;
  font-size: 2vw;
  text-decoration-line:unset;
  transition: 0.3s;
}
.oval-element_a:hover {
  scale: 1.2;
}
.title-section {
  font-size: 5vw;
  color: #57B8D7;
  display: block;
  
}
.edu-container_edu-title {
  text-align: center;
  font-size: 3vw;
  color: #63FCF1;
  margin-bottom: 0px;
}
.edu-container_edu-text {
  font-size: 2vw;
  color: #63FCF1;
  text-align: center;  
}
.edu-section {
  display: flex;
  flex-direction: column;
}
.edu-rows {
  display: flex;
  justify-content: space-around;
  flex-direction: row;
}
.edu-container_date {
  margin: 0px;
  padding: 0px;
  color: grey;
  font-size: 1.5vw;
  text-align: center;
}
.about-me-container {
  background-color: #C5C6C7;
  height: 20vw;
  font-size: 3vw;
}
.footer_title {
  color: #FFFFFF;
  font-size: 3vw;
}
.img-icon {
  width: 5vw;
  height: 5vw;
}
.edu-container {
  
}
.about-me-container {

}
.cards__list {
  gap: 20px 17px;
}
.cards__card {
  height: 35vw;
  width: 20vw;
  border-radius: 10px;
  overflow: hidden;
  display: inline-block;
  transition: 0.3s;
}
.cards__card:hover {
  scale: 1.05;
}
.cards__img {
  height: 100%;
  width: 100%;
  display: inline-block;
  object-fit: cover;
}
.footer__contacts {
  display: flex;
  align-items:stretch;
  justify-content: space-between;
}

.footer__contacts-h1 {
  color: #63FCF1;
  font-size: 4vw;
  display: inline;
  margin: 0 auto 0;
  margin-left: 1.5vw;
}

.popup__container {
    margin: 0;

    width: 40vw;
    height: 33vw;

    position: relative;
    transform: translate(-50%, -50%);
    top: 30%;
    left: 25%;


    z-index: 1;

    box-sizing: border-box;

    background: white;
    border-radius: 10px;

    scale: 0.2;

    transition: 0.3s;
}

.popup__container_gallery {
    padding: 0;
    background: transparent;
}
.form__body {
  display: flex;
  align-items: center;
  padding: 1vw;
}
.popup__form_phone {
  display: flex;
  flex-direction: column;
}
.popup__form {
  display: flex;
}
.form__title {
  font-size: 3rem;
  font-weight: bold;
}

.popup__prev-button {
  margin: 0;
  padding: 0;

  width: 3vw;
  height: 2vw;

  position: absolute;
  top: 55%;
  right: 110%;

  cursor: pointer;

  background: transparent url(../images/gallery/left-button.svg) no-repeat center;
  background-size: contain;
  scale: 1.75;

  outline: none;
  border: none;
}

.popup__prev-button:hover {
  opacity: 0.6;
}
.popup__prev-button_disabled {
  visibility: hidden;
}

.popup__container_opened {
    scale: 1;
}
.popup__close-button {
  top: 80%;
  right: 40%;
  width: 62px;
  height: 62px;
  z-index: 10;
  background: transparent url(../images/gallery/close-button.svg) no-repeat center;
  border: none;
  outline: none;
}
.popup__close-button:hover {
  opacity: 0.6;
}
.popup__next-button {
  margin: 0;
  padding: 0;

  width: 3vw;
  height: 2vw;

  position: absolute;
  top: 55%;
  right: -60px;

  cursor: pointer;

  background: transparent url(../images/gallery/right-button.svg) no-repeat center;
  background-size: contain;
  scale: 1.75;

  outline: none;
  border: none;
}

.popup__next-button:hover {
  opacity: 0.6;
}
.popup__next-button_disabled {
  visibility: hidden;
}
.popup_opened {
  opacity: 1;

  scale: 1;

  background: rgba(0, 0, 0, 0.5);

  visibility: visible;
}
.popup__img-container {
  height: 36vw;
  width: 33vw;
  border-radius: 10px;
  border: 2px;
  border-radius: 6px;
  overflow: hidden;
  display: inline-block;
  position: relative;
  transition: 0.3s;
  left: -4%;
}
.popup__img {
  width: 100%;
  height: 100%;
  left: -100%;
  top: 20%;
  border-radius: 10px;
  overflow: hidden;
  object-fit:fill;

  border-radius: 10px;
}
.popup__remnder_h2 {
  font-size: 3vw;
}
.popup__container_reminder{
  display: flex;
  align-items: center;
  justify-content: center;
  top: 10%;
  left: 10%;
  width: 20vw;
  height: 15vw;
}
.page {
  position: relative;
  transition: 0.3s;
}

.popup__container_form {
  width: 30vw;
  height: 30vw;
}
.popup__form_phone {
  width: 20vw;
  height: 2vw;
  display: flex;
  justify-content: center;
}

.form__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.form__title {
  font-size: 4rem;
  font-weight: bold;
}

.popup__form_phone {
  display: flex;
  justify-content: space-between;
  width: 137vw;
  margin-bottom: 5vw;
}
.popup__form_email {
  display: block;
  margin-top: 7vw;
  
}
.popup__form_request {
  width: 3100px;

}
.form__example-phone {
  font-size: 1.25rem;
  display: inline;
}

.popup__form_phone label {
  font-size: 1.5rem;
}
.popup__form_email label {
  display: inline;
  font-size: 1.5rem;
}
.popup__form_request label {
  display: block;
  font-size: 1rem;
}

.popup__form_phone input {
  width: 15vw;
  height: 2vw;
  font-size: 1.25rem;
}
.popup__form_email input {
  font-size: 1.25rem;
  height: 2vw;
  width: 20vw;
}
.popup__form_request textarea {
  width: 27vw;
  height: 6vw;
  font-size: 1rem;
}

.form__request {
  font-size: 4rem;
}

.popup__form_phone input[type="tel"] {
  display: flex;
}

.popup__form_email p {
}

.popup__send {
  width: 28vw;
  font-size: 3rem;
  background-color: #4caf50;
  color: red;
  border-radius: 8px;
  position: absolute;
  top: 100%;
  cursor: pointer;
}

.form__email {
  font-size: 2rem;
}

.popup__send:hover {
  background-color: #45a049;
}
.timer__container {
  background-color: gray;
}
.timer__title {
  color: #63FCF1;
}
.timer__timer {
  color: rgb(94, 0, 0);
  font-size: 5rem;
}

.menu {
  background-color: #333;
  height: 6vh;
  
}

.menu-list {
  list-style: none;
  margin: 0;
  padding-top: 1vw;
  text-align: center;
}

.menu-list li {
  display: inline;
  margin-right: 20px;
}

.menu-list li:last-child {
  margin-right: 0;
}

.menu-list li a {
  color: white;
  text-decoration: none;
}

.menu-list li a:hover {
  text-decoration: underline;
}
.fixed-header {
  top: 0px;
  left: 0;
  width: 100%;
  height: 30px;
  z-index: 100;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: top 0.3s ease;
}

.fixed-header.active {
  position: fixed;
  top: 0;
}
.fixed-header.start {
  position: relative;
}

.fixed-header.disabled {
  position: absolute;
  top: 0px;
  width: 100%;
  z-index: 1000;
}

.main_container {
  padding-top: 30px;
}

.snow {
    height: 100%;
    width: 100%;
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 50' style='enable-background:new 0 0 50 50%3B' xml:space='preserve'%3E%3Cstyle type='text/css'%3E.st1%7Bopacity:0.3%3Bfill:%23CC3D47%3B%7D.st3%7Bopacity:0.1%3Bfill:%232A9DF4%3B%7D%3C/style%3E%3Ccircle class='st1' cx='10' cy='8' r='2'/%3E%3Ccircle class='st1' cx='38' cy='3' r='2'/%3E%3Ccircle class='st1' cx='12' cy='4' r='2'/%3E%3Ccircle class='st1' cx='16' cy='16' r='2'/%3E%3Ccircle class='st1' cx='47' cy='46' r='2'/%3E%3Ccircle class='st1' cx='32' cy='10' r='2'/%3E%3Ccircle class='st1' cx='3' cy='46' r='2'/%3E%3Ccircle class='st1' cx='45' cy='13' r='2'/%3E%3Ccircle class='st1' cx='10' cy='28' r='2'/%3E%3Ccircle class='st1' cx='22' cy='35' r='2'/%3E%3Ccircle class='st1' cx='3' cy='21' r='2'/%3E%3Ccircle class='st1' cx='26' cy='20' r='2'/%3E%3Ccircle class='st1' cx='30' cy='45' r='2'/%3E%3Ccircle class='st1' cx='15' cy='45' r='2'/%3E%3Ccircle class='st1' cx='34' cy='36' r='2'/%3E%3Ccircle class='st1' cx='41' cy='32' r='2'/%3E%3C/svg%3E");
    background-position: 0px 0px;
    animation: animatedBackground 450s linear infinite;
}

/* all radiuses are 5 or 0.7 with color red*/
.snow-fade {
    height: 100vh;
    width: 80%;
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 50 50' style='enable-background:new 0 0 50 50%3B' xml:space='preserve'%3E%3Cstyle type='text/css'%3E.st1%7Bopacity:0.7%3Bfill:%23CC3D47%3B%7D.st3%7Bopacity:0.1%3Bfill:%232A9DF4%3B%7D%3C/style%3E%3Ccircle class='st3' cx='4' cy='14' r='2'/%3E%3Ccircle class='st3' cx='43' cy='3' r='2'/%3E%3Ccircle class='st3' cx='31' cy='30' r='0.7'/%3E%3Ccircle class='st3' cx='19' cy='23' r='2'/%3E%3Ccircle class='st3' cx='37' cy='22' r='2'/%3E%3Ccircle class='st3' cx='43' cy='16' r='2'/%3E%3Ccircle class='st3' cx='8' cy='45' r='2'/%3E%3Ccircle class='st3' cx='29' cy='39' r='2'/%3E%3Ccircle class='st3' cx='13' cy='37' r='2'/%3E%3Ccircle class='st3' cx='47' cy='32' r='2'/%3E%3Ccircle class='st3' cx='15' cy='4' r='0.7'/%3E%3Ccircle class='st3' cx='9' cy='27' r='2'/%3E%3Ccircle class='st3' cx='30' cy='9' r='2'/%3E%3Ccircle class='st3' cx='25' cy='15' r='3'/%3E%3Ccircle class='st3' cx='21' cy='45' r='8'/%3E%3Ccircle class='st3' cx='42' cy='45' r='8'/%3E%3C/svg%3E");
    background-position: 0px 0px;
    animation: animatedBackground 750s linear infinite;
}
.popup__close-button {
  margin: 0;
  padding: 0;

  width: 2vw;
  height: 2vw;

  position: absolute;
  top: -27px;
  right: 1px;

  cursor: pointer;

  background: rgba(0, 0, 0, 0) url(../images/gallery/close-button.svg) no-repeat center;
  outline: none;
  border: none;
}

.form__phone-title {
  font-size: 1.5rem;
  width: 26vw;
}

@keyframes animatedBackground {
  0% {
      background-position: 0 0;
  }

  100% {
      background-position: 0px 30000px;
  }
}


@media (max-width: 768px) {
  .cards__card {
    height: 300px;
    width: 200px;
    border-radius: 10px;
    overflow: hidden;
    display: inline-block;
    transition: 0.3s;
  }
  .flex-start {
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
  }
  .writers-container {
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
  }
  .edu-rows {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
  }

.popup__container_gallery {
    padding: 0;
  }
  .popup__next-button {
    right: 6%;
    top: 80%;
    width: 40px;
    height: 40px;
    z-index: 10;
  }
  .popup__prev-button {
    left: -6%;
    top: 80%;
    width: 40px;
    height: 40px;
    z-index: 10;
  }
  .popup__container_reminder {
    width: 40vw;
    height: 20vw;
  }
  .popup__remnder_h2 {
    font-size: 8vw;
  }
  .popup__img-container {
    height: 90vw;
    top: -190%;
    left: -35%;
    width: 60vw;
  }

  .timer__timer {
    color: rgb(94, 0, 0);
    font-size: 3rem;
  }

  .popup__container_form {
    width: 61vw;
    height: 121vw;
  }
  .popup__form {
    display: flex;
    padding-left: 20px;
  }
  .popup__close-button {
    top: 80%;
    right: 40%;
    width: 62px;
    height: 62px;
    z-index: 10;
  }
  .popup__form_phone {
    padding-left: 0;
  }
  .popup__form_email {
    display: flex;
  }
  .popup__form_request textarea {
    width: 57vw;
    height: 20vw;
    font-size: 1rem;
  }
  .popup__send {
    width: 55vw;
    font-size: 2cap;
    background-color: #4caf50;
    color: red;
    border-radius: 8px;
    position: absolute;
    left: 3vw;
    top: 100%;
    cursor: pointer;
  }
  .popup__close-button {
    top: 80%;
    right: 40%;
    width: 62px;
    height: 62px;
    z-index: 10;
  }
  .popup__container_form .popup__close-button {
    top: 104%;
  }
  .form__request {
    font-size: 1rem;
  }
  .form__phone-title {
    font-size: 0.8rem;
    width: 2vw;
  }
  .popup__form_email input {
    font-size: 1.25rem;
    height: 4vw;
    width: 32vw;
  }
  .popup__form_phone input {
    width: 30vw;
    height: 4vw;
    font-size: 1.25rem;
  }
  .popup__form_phone {
    display: flex;
    justify-content: space-between;
    width: 137vw;
    margin-bottom: 20vw;
  }
  .popup__form_email {
    display: block;
    
  }
  .popup__form_phone label {
    font-size: 1.2rem;
    width: 2vw;
  }
  .form__example-phone {
    font-size: 0.8rem;
    display: inline;
  }
  .form__title {
    font-size: 1rem;
  }
}


@media print {
  body {
    color: black;
  }
}