* {
  margin: 0;
  padding: 0;
}

body {
  scroll-behavior: smooth;
  user-select: none;
  font-family: "Montserrat", sans-serif;
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  font-size: 24px;
  color: #457dd4;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 9;
  text-decoration: none;
}

.back-to-top:hover {
  background: #fdfafe;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.menu {
  display: flex;
  justify-content: flex-end;
  text-transform: uppercase;
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: hsla(0, 0%, 100%, 1);
}

.menu button {
  background-color: transparent;
  display: flex;
  padding: 2%;
}

.item {
  padding: 2%;
  position: relative;
  color: #000;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
}

.item:after {
  display: block;
  position: absolute;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #47b5ff;
  content: "";
  transition: width 0.3s ease-out;
}

.item:hover:after,
.item:focus:after {
  width: 100%;
}

.item:hover {
  color: #47b5ff;
}

button {
  background-color: #fff;
  border: none;
}

.flag {
  width: 30px;
}

.open {
  display: flex !important;
}

.close {
  display: none !important;
}

.container_burger {
  display: none;
  justify-content: flex-end;
  cursor: pointer;
}

.burger {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: flex-end;
  width: 30px;
  height: 18px;
  z-index: 50;
  margin: 2%;
}

.burger span {
  height: 2px;
  width: 80%;
  transform: scale(1);
  background-color: blueviolet;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: #457dd4;
  transition: all 0.3s ease 0s;
}

.burger::before {
  top: 0;
}

.burger::after {
  bottom: 0;
}

.burger.active span {
  transform: scale(0);
}

.burger.active::before {
  top: 50%;
  transform: rotate(-45deg) translate(0, -50%);
}

.burger.active::after {
  bottom: 50%;
  transform: rotate(45deg) translate(0, 50%);
}

.block {
  height: 100vh;
  background-image: url(./Images/back.jpg);
  background-size: cover;
}

.name {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-top: 5%;
  font-size: 30px;
  color: #fff;
}

.pointer {
  max-width: 50px;
}

.content {
  display: flex;
  justify-content: center;
  font-size: 30px;
}

.about {
  padding: 0 3% 3% 0;
}

.pic_me {
  width: 300px;
}

.par {
  text-indent: 5%;
}

.par_me,
.par {
  font-size: 20px;
  text-align: justify;
  padding: 1%;
}

ul {
  list-style-type: none;
}

.heading_welcome {
  font-size: 30px;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin: 8% 0 8% 4%;
}

.heading_types {
  font-size: 30px;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin: 8% 0 8% 4%;
}

.heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 30px;
  margin-top: 10%;
}

.container_skills {
  margin-bottom: 5%;
}

.skills {
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  justify-content: space-around;
  margin-top: 7%;
  padding: 2%;
}

.skills_right {
  display: flex;
  flex-direction: row-reverse;
  box-sizing: border-box;
  justify-content: space-around;
  margin-top: 7%;
  padding: 2%;
}

.skills_heading,
.skills_heading_right {
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5%;
}

.skills_heading_right,
.skills_par_right {
  text-align: end;
}

.skills_par,
.skills_par_right {
  font-size: 20px;
}

.image {
  width: 400px;
}

.skills_info_left,
.skills_info_right {
  width: 50%;
}

#container_slides {
  display: flex;
  justify-content: center;
  padding-top: 30px;
  padding-bottom: 30px;
}

.btn_slides {
  border: none;
  background: #fff;
  cursor: pointer;
  margin: 20px;
}

#image {
  width: 600px;
}

.art {
  width: 300px;
}

.container_articles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.article {
  padding: 15px 15px 15px 0;
}

.accordion {
  margin-top: 3%;
  margin-bottom: 3%;
}

.tab input,
.tab-content {
  display: none;
}

.tab {
  border: 1px solid #0f388b;
  border-radius: 3px;
  margin-bottom: 10px;
}

.tab-title {
  padding: 10px;
  display: block;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
}

.tab-title::after {
  content: "+";
  float: right;
}

.tab-content {
  padding: 10px 20px;
}

.tab :checked + .tab-title {
  background-color: #89bcd8;
  border-radius: 3px 3px 0 0;
  color: #fff;
}

.tab :checked + .tab-title::after {
  content: "−";
}

.tab :checked ~ .tab-content {
  display: block;
}

.btn_text {
  background: border-box;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  text-decoration: none;
  font-size: 30px;
  font-weight: bold;
}

.btn_text:hover {
  color: #fff;
  background-color: #47b5ff;
}

.contact {
  height: 90vh;
  background-color: #89bcd8;
}

.icons {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 25px;
  font-weight: bold;
  margin: 9%;
}

.icons_item {
  padding: 0 0 5% 0;
}

a {
  color: #fff;
}

.footer {
  background-color: #89bcd8;
}

@media all and (max-width: 900px) {
  .container_burger {
    display: flex;
  }

  .menu {
    display: none;
    justify-content: flex-start;
    flex-direction: column;
    position: fixed;
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: auto;
    padding: 50px 40px;
    background-color: #8fceff;
    animation: burgerAnimation 0.4s;
  }

  @keyframes burgerAnimation {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .item:after {
    display: none;
  }

  .heading_types {
    font-size: 25px;
    letter-spacing: 1px;
  }

  .skills_heading,
  .skills_heading_right {
    text-transform: math-auto;
  }

  .skills_par,
  .skills_par_right {
    font-size: 17px;
  }
}

@media all and (max-width: 800px) {
  .container {
    margin: 0 3% 0 3%;
  }

  .heading_welcome {
    margin: 8% 0 8% 0;
    font-size: 20px;
    letter-spacing: 2px;
  }

  .flag {
    width: 20px;
  }

  .name {
    padding-top: 15%;
  }

  .block {
    height: 80vh;
    background-position: center;
  }

  .content {
    width: 90%;
  }

  .par_me,
  .par {
    font-size: 15px;
  }

  .heading_types {
    font-size: 20px;
    margin: 8% 0 8% 0;
    letter-spacing: 2px;
  }

  .pic_me {
    width: 250px;
  }

  .skills_heading,
  .skills_heading_right {
    font-size: 15px;
    letter-spacing: normal;
  }

  .skills_par,
  .skills_par_right {
    font-size: 15px;
  }

  .image {
    width: 250px;
  }

  .skills_info {
    margin-left: 2%;
  }

  .contact {
    height: 55vh;
  }
}

@media all and (max-width: 600px) {
  body {
    overflow-x: hidden;
  }

  .menu {
    justify-content: flex-start;
    font-size: 15px;
  }

  .flag {
    width: 15px;
  }

  .name,
  .prof {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
  }

  .block {
    margin-bottom: 10%;
  }

  .heading_welcome {
    text-align: center;
  }

  .content {
    flex-direction: column-reverse;
    align-items: center;
    margin-bottom: 3%;
    width: 100%;
  }

  .heading_types {
    font-size: 13px;
    letter-spacing: normal;
    text-align: center;
  }

  #image {
    width: 400px;
  }

  .skills,
  .skills_right {
    flex-direction: column;
    align-items: center;
  }

  .skills_heading,
  .skills_heading_right {
    text-align: center;
  }

  .skills_info_left,
  .skills_info_right {
    width: 100%;
  }

  .skills_par,
  .skills_par_right {
    text-align: justify;
  }

  .skills_img {
    margin-top: 3%;
  }

  .heading {
    font-size: 13px;
  }
}

@media all and (max-width: 400px) {
  body {
    overflow-x: hidden;
  }

  .name,
  .prof {
    font-size: 20px;
    font-weight: bold;
  }

  .block {
    margin-bottom: 10%;
    height: 85vh;
  }

  .heading_welcome {
    font-size: 15px;
  }

  .heading {
    font-size: 18px;
  }

  .pic_me {
    width: 200px;
  }

  #image {
    width: 300px;
  }

  .tab {
    margin-bottom: 3px;
  }

  .tab-title {
    text-transform: math-auto;
  }

  .icons {
    font-size: 20px;
  }
}
