@import url(./assets_main/css/fonts.css);

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --color-accent: rgba(255, 128, 0, 1);
  --color-bg: rgba(20, 20, 20, 1);
  --color-text: rgba(255, 255, 255, 1);

  /* Typography */
  --font-base: "Pragmatica", sans-serif;
  --font-size-base: 20px;
  --font-weight-normal: 400;
  --font-weight-bold: 700;

  /* Borders & Radius */
  --border-color: rgba(217, 217, 217, 1);
}

html {
  scroll-behavior: smooth;
}

html,
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  width: 100%;
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background-color: transparent;
}

ul,
ol {
  list-style: none;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  letter-spacing: -0.02rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.container {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
}

.link {
  color: var(--color-accent);
}

.link:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  zoom: 1;
}

/* Animations */
.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* HEADER */
.header {
  padding: 30px 0px;
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.header__content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.header__search-btn,
.header__menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: background 0.2s;
  padding: 10px;
}

.header__search-btn:hover,
.header__menu-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.header__search-text {
  margin-left: 10px;
  color: #fff;
  font-size: 16px;
}

.header__icon {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.logo {
  font-family: "Pragmatica Extended", sans-serif;
  font-size: 36px;
  color: #fff;
}

.logo-bold {
  font-weight: 700;
}

.logo-light {
  font-weight: 200;
}

/* ARTICLE */
.article__main-image img {
  width: 100%;
  height: 100%;
  max-height: 90vh;
  object-fit: cover;
}

.article__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article__header {
  position: relative;
}

.article__header .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article__header::before {
  content: "";
  position: absolute;
  top: -196px;
  left: 0;
  right: 0;
  height: 196px;
  pointer-events: none;
  background: linear-gradient(
    0deg,
    rgba(20, 20, 20, 1) 0%,
    rgba(20, 20, 20, 0.95) 30%,
    rgba(0, 0, 0, 0) 100%
  );
}

.article__meta {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 16px;
}

.article__avatar {
  width: 75px;
  height: 75px;
  flex-shrink: 0;
  border-radius: 50%;
}

.article__avatar img {
  object-fit: cover;
}

.article__author {
  font-family: "Pragmatica Extended", Arial, sans-serif;
  margin-bottom: 10px;
}

.article__title {
  color: #fff;
  font-family: "Pragmatica Extended", Arial, sans-serif;
  font-weight: 400;
  font-size: 64px;
}

.article__content {
  display: flex;
  flex-direction: column;
  gap: 50px;
  color: #fff;
  margin-top: 100px;
  margin-bottom: 100px;
}

.article__content h3 {
  font-family: "Pragmatica Extended", Arial, sans-serif;
  font-weight: 400;
  font-size: 32px;
}

.quote {
  font-style: italic;
  padding-left: 40px;
}

.article__content img {
  width: 100%;
}

.article__block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* COMMENTS */
.comments {
  margin: 100px 0px;
}

.comments__content {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.comments__title {
  font-family: "Pragmatica Extended", sans-serif;
  font-size: 32px;
}

.comments__list {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.comment {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.comment__avatar {
  width: 50px;
  height: 50px;
  background: #fff;
  color: rgba(20, 20, 20, 1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 31px;
  font-family: "Pragmatica Extended", sans-serif;
  flex-shrink: 0;
}

.comment__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment__header {
  display: flex;
  align-items: center;
}

.comment__author {
  font-family: "Pragmatica Extended", sans-serif;
  font-size: 24px;
}

.comment__time {
  font-size: 16px;
  margin-left: auto;
}

/* FOOTER */
.footer {
  padding: 50px 0px;
  text-align: center;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.footer__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 20px;
}

.footer__link {
  margin: 0 20px;
  transition: color 0.2s;
  white-space: nowrap;
}

.footer__link:hover {
  color: var(--color-accent);
}

.footer__divider {
  user-select: none;
}

.footer__disclaimer {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.disclaimer {
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }

  .header {
    padding: 15px 0px;
  }

  .logo {
    font-size: 30px;
  }

  .article__title {
    font-size: 40px;
  }

  .article__content {
    margin-top: 75px;
    margin-bottom: 75px;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 10px;
  }

  body {
    font-size: 16px;
  }

  .header {
    position: sticky;
  }

  .header__search-text {
    display: none;
  }

  .article__author {
    font-size: 14px;
  }

  .article__title {
    font-size: 28px;
  }

  .article__content {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .article__header::before {
    height: 60px;
    top: -60px;
  }

  .article__content h3 {
    font-size: 24px;
  }

  .comments {
    margin: 50px 0px;
  }

  .comments__title {
    font-size: 24px;
    font-weight: 400;
  }

  .comments__content {
    gap: 25px;
  }

  .comment__avatar {
    width: 35px;
    height: 35px;
    font-size: 22px;
  }

  .comment {
    gap: 10px;
  }

  .comment__author {
    font-size: 20px;
  }

  .comment__time {
    font-size: 14px;
  }

  .footer__content {
    gap: 25px;
  }
}

.iti__country-name,
.iti__dial-code {
  color: black;
}
