@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,400;0,500;1,400;1,700&family=Newsreader:opsz,wght@6..72,500&display=swap');

* {
  padding: 0;
  margin: 0;
  font-family: 'Jost', sans-serif;
  scroll-behavior: smooth;
  scroll-margin: 100px;
}

.sr-only {
  width: 0;
  height: 0;
  visibility: hidden;
}

body {
  color: #75747E;
}

a, a:visited, a:hover, a:active {
  text-decoration: none;
  color: #75747E;
}

h1, h2 {
  color: #4E4D5A;
  font-family: 'newsreader', sans-serif;
  font-size: 48px;
  font-weight: 500;
}

h2 {
  font-size: 40px;
  margin: 63px 0 30px 0;
  border-bottom: 1px solid #E9E9E9;
}

h3 {
  font-size: 20px;
  color: #4A4956;
  font-weight: bold;
  padding-top: 40px;
}

:focus-visible {
  outline: 1px solid #75747E
}

.container {
  display: flex;
}

.header-content {
  display: flex;
  overflow: hidden;
  align-items: center;
  width: 100%;
  height: 100%;
}

.header {
  align-items: center;
  height: 74px;
  background-color: #252525;
  display: flex;
  position: sticky;
  top: 0;
  z-index: 5;
}

.left-part {
  flex: 1;
  display: flex;
  justify-content: end;
}

.left-part-main {
  display: flex;
  justify-content: end;
  width: 100%;
  background: #F7F7F7;
  box-shadow: 3px 0px 10px 0px rgb(215 215 215);
  position: fixed;
  height: 100%;
  top: 74px;
}

nav {
  width: 248px;
}

.left-part-header {
  border-right: #303030 1px solid;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  justify-content: center;
  width: 248px;
}

.header-icon {
  display: flex;
  gap: 36px;
}

.header-icon a {
  display: flex;
  position: relative;
}

.header-icon a:first-child::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  border-top: 13px solid transparent;
  border-bottom: 13px solid white;
  border-right: 13px solid transparent;
  border-left: 13px solid transparent;
  transform: translateX(-50%);
}

.right-part {
  padding: 0 30px;
  width: 100%;
  flex: 3;
}

.right-part-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.right-cont {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.search label, .language label {
  display: block;
}

.search input {
  width: 350px;
  height: 40px;
  border-radius: 5px;
  background-color: #333333;
  color: #e0e0e0;
  border: none;
  padding: 15px;
  font-size: 20px;
}

.language {
  display: flex;
  justify-content: center;
  align-items: center;
}

.language img {
  display: block;
  padding: 0 7px 0 0;
}

.language select {
  background-color: #252525;
  color: white;
  border: none;
  font-size: 16px;
  display: block;
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 1em;
  width: 1em;
  border-radius: 50em;
  background: url(https://pro.fontawesome.com/releases/v5.10.0/svgs/solid/times-circle.svg) no-repeat 50% 50%;
  background-size: contain;
  opacity: 0;
  pointer-events: none;
}

.title-contents {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.title-contents h2 {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 2px solid #4E4D5A;
  width: fit-content;
}

.contents, .contents a {
  color: #4E4D5A;
  font-weight: 500;
}

.contents ol {
  list-style-type: none;
  counter-reset: item;
}

.contents ol > li {
  counter-increment: item;
}

.contents ol > li:before {
  content: counter(item) ". ";
}

.contents ol > li > ol {
  counter-reset: subitem;
}

.contents ol > li > ol > li {
  counter-increment: subitem;
}

.contents ol > li > ol > li:before {
  content: counter(item) "." counter(subitem) " ";
  font-weight: 400;
  color: #787786;
}

.contents-list > li {
  padding: 18px 0;
  border-bottom: 1px solid #EEEEEE;
}

.contents .no-number::before {
  content: "";
}

.contents .no-number {
  counter-increment: none;
}

.subsections {
  padding: 18px 18px 0 18px;
}

.subsections a {
  font-weight: 400;
  color: #787786;
  padding-bottom: 10px;
}

.right-part > div {
  display: flex;
  gap: 40px;
  padding: 40px;
}

article {
  max-width: 650px;
  font-size: 20px;
}

article a, article a:visited, footer a, footer a:visited {
  color: #4E89EE;
}

.article-header p {
  font-size: 14px;
  font-weight: 500;
}

.article-content p {
  margin-top: 25px
}

blockquote {
  border-left: 3px solid #4A4956;
  padding: 0 30px;
  margin: 30px 0;
  font-style: italic;
  color: #4A4956;
  background-image: url("./svg/quotes_beginning.svg"), url("./svg/quotes_end.svg");
  background-repeat: no-repeat;
  background-position: 2% 0, bottom right;
}

blockquote header {
  display: flex;
}

cite {
  font-style: normal;
  color: #75747E;
  margin-top: 15px;
}

article ul {
  margin-top: 25px;
  padding-left: 50px;
}

aside {
  width: fit-content;
  overflow: hidden;

}

.info {
  overflow: hidden;
  width: 422px;
  background-color: #F7F7F7;
  border-radius: 23px;
  border: solid 1px #E5E5E5;
}

.photos {
  position: relative;
  box-shadow: 0 20px 20px 0 rgb(0 0 0 / 27%);
  overflow: hidden;
  display: flex;
  border-radius: 23px;
}

.photos img:last-child {
  position: absolute;
  top: 0;
  left: 0;
  transition: all .5s ease;
}

.photos img:last-child:hover {
  opacity: 0;
}

.general-info > div {
  padding: 30px 20px;
}

.general-info h3 {
  font-size: 20px;
  font-weight: 500;
  padding: 30px 0 10px 0;
}

.general-info p {
  font-size: 16px;
  font-weight: 500;
}

footer {
  border-top: 1px solid #E9E9E9;
  padding: 30px 0 20px 0;
}
