body {
  font-family: Sansita One, sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}

ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 2em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 00px;
}

.sidebar {
  background-color: #333;
  color: #f5f5f5;
  position: fixed;
  top: 0;
  right: 0;
  width: 220px;
  height: 500px;
  padding-top: 150px;
  padding-left: 20px;
  z-index: 1;
}

#content {
  margin-right: 220px;
  padding: 20px;
}

.text-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 750px;
  min-width: 300px;
  padding: 20px;
  margin-left: 200px;
  margin-right: 420px;
}

h2 {
  color: #f5f5f5;
  font-family: Sansita One;
  font-size: 23px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

h3 {
  color: #333;
  font-family: Sansita One;
  font-size: 33px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 25px;
}

p {
  color: #333;
  font-family: Fusion;
  font-size: 19px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}



p2 {
  color: #333;
  font-family: Fusion;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  line-height: 1.5;
  margin-bottom: 25px;
}

.bottom-margin-block {
  margin-bottom: 60px;
}

/* Спокойное состояние */
.menu-link {
  color: #f5f5f5;
  font-family: Fusion;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}

/* Состояние при наведении */
.menu-link:hover {
  color: #D9D9D9;
  font-family: Fusion;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}

/* Активное состояние */
.menu-link:active {
  color: #EE749C;
  font-family: Fusion;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}

.menu-link:focus {
  color: #D9D9D9;
  font-family: Fusion;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}


/* Спокойное состояние */
.social-icon {
  flex-shrink: 0;
  fill: #FBFBFB;
  text-decoration: none;
  padding: 0px 20px;
  padding-inline-start: 0px;
}

/* Состояние при наведении */
.social-icon:hover {
  fill: #D9D9D9;
}

/* Активное состояние */
.social-icon:active {
  fill: #EE749C;
}

/* Состояние фокуса (например, для доступности с клавиатуры) */
.social-icon:focus {
  fill: #D9D9D9;
}

.gallery {
  padding-right: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-right: 240px;
  padding-left: 20px;
}

.gallery:after {
  content: '';
  display: block;
  height: 2px;
  margin: .5em 0 1.4em;
  background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 0%, rgba(77, 77, 77, 1) 50%, rgba(0, 0, 0, 0) 100%);
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(77, 77, 77, 1) 50%, rgba(0, 0, 0, 0) 100%);
}

.gallery img {
  height: 100%;
  overflow: hidden;
}

.gallery a {
  height: 400px;
  display: block;
  overflow: hidden;
  margin: 30px 30px;
  box-shadow: 0 0 4px -1px #000;
}

.ribbon>img {
  position: relative;
  top: 0;
  right: 0;
  border: 0;
}

.menu-links {}


button {
  display: flex;
  background: none;
  border: none;
  font-family: Sansita One, sans-serif;
  font-size: 30px;
  color: #333;
  cursor: pointer;
  padding-top: 10px;
  padding-left: 10px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2;
}


@media (max-width: 768px) {

  .gallery {
    padding-right: 20px;
    margin-right: 20px;
    padding-left: 20px;
  }

  .sidebar {
    visibility: hidden;
  }

  .text-area {
      display: flex;
      flex-direction: column;
      align-items: center;
      max-width: 750px;

      padding: 20px;
      margin-left: 20px;
      margin-right: 20px;
    }
  }

  /* button {
    color:  #f5f5f5;
  } */

