@import url("./contacts.css");
@import url("./style.css");
@import url("./divisions.css");

#title_background,
#title_gr {
  border-radius: 0px;
}

* {
  font-family: var(--font-inter);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  background-color: white;
  font-size: 16px;
  min-width: 280px;
}

img {
  border-radius: 10px;
  width: 1200px;
  max-width: 100%;
  /*min-width: 200px;*/
  /*height: auto;*/
  /*display: flex;*/
  margin: 0 auto;
  object-fit: cover;
}

p {
  font-weight: 200;
  line-height: 1.5;
  font-size: 1.3rem;
  min-width: 200px;
}

a {
  text-decoration: none;
  transform-origin: center;
  transition: all 0.3s ease;
  min-width: fit-content;
}

section {
  padding: 0 2rem;
  max-width: 60%;
  min-width: 280px;
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-color);
  width: 100%;
  max-width: 100%;
  min-width: 280px;
}

h1 {
  margin: 0;
}

.toggle2 {
  margin-top: 1em;
}

#nav_logo {
  max-width: 320px;
  min-width: 100px;
  margin-right: 0;
  border-radius: 0;
  margin-left: 2%;
  transition: transform 0.2s ease-in-out;
}

#nav_logo:hover {
  transform: scale(1.1);
  cursor: pointer;
}

#page_title {
  font-family: var(--font-nunito);
  font-size: 5rem;
  padding: 2rem;
  text-align: center;
  margin-inline: auto;
  text-transform: uppercase;
  max-width: 800px;
  min-width: 200px;
}

#info {
  margin-top: 1rem;
  width: 100%;
  min-width: 280px;
  border-radius: 10px;
  gap: 1rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  overflow: hidden;
}

#info_fulltext {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 2rem;
  max-width: 100%;
  flex-basis: 100%;
}

#info_fulltext .reporting_card {
  width: 100%;
}

#info_description {
  display: flex;
  flex-direction: column;
  min-width: 250px;
}

.info_image {
  width: 100%;
  max-width: 500px;
  min-width: 200px;
  flex: 1 1 300px;
}

.info_image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  min-width: 200px;
  object-fit: cover;
}

.info_text {
  margin-top: 1.875rem;
  width: 100%;
  max-width: 31rem;
  min-width: 200px;
  text-align: left;
  flex: 1 1 300px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 2rem;
}

#info>.info_text {
  max-width: 100%;
}

#details {
  gap: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  max-width: 1400px;
  min-width: 280px;
  margin: 0 auto;
}

.divisions_info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  min-width: 280px;
}

.networks_generation {
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
  background-color: var(--primary-color);
  width: 70%;
  max-width: 90%;
  min-width: 280px;
  border-radius: 0.625rem;
}

.about_title {
  text-transform: uppercase;
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 1rem;
  font-family: var(--font-nunito);
  font-size: 3rem;
  text-align: center;
  margin-inline: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
  max-width: 65rem;
  min-width: 200px;
}

.division_properties_description {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.875rem 0;
  flex-wrap: wrap;
  max-width: 1200px;
  min-width: 280px;
  margin: 0 auto;
}

.division_info {
  width: 100%;
  min-width: 200px;
  text-align: left;
  display: flex;
  height: auto;
  gap: 1rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin: auto;
  border-radius: 10px;
  padding: 1rem;
  background-color: var(--primary-color);
}

.about_division {
  width: 70%;
  max-width: 1000px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  margin-top: 3.125rem;
  justify-content: center;
}

.division_step {
  margin-bottom: 10px;
  margin-inline: auto;
  background-color: var(--primary-color);
  padding: 0.9375rem;
  width: 60rem;
  max-width: 100%;
  min-width: 280px;
  border-radius: 10px;
}

.steps_title {
  font-family: var(--font-nunito);
  color: var(--primary-color);
  font-size: 1.875rem;
  margin-bottom: 1rem;
  margin-inline: auto;
  max-width: 800px;
  min-width: 200px;
}

.division_text {
  color: var(--primary-color);
  margin-bottom: 50px;
  font-weight: 400;
  width: 60rem;
  max-width: 100%;
  min-width: 280px;
  margin-inline: auto;
}

#iso {
  display: flex;
  flex-direction: row;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

#iso .reporting_card .reporting_year {
  font-size: 1.2rem;
}

#iso .reporting_card {
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(50% - 0.5rem);
  min-width: 200px;
  flex-direction: column;
  transition: all 0.3s ease-in-out;
  flex-grow: 1;
  flex-basis: calc(50% - 0.5rem);
  max-width: calc(50% - 0.5rem);
}

.projects_geography {
  margin-bottom: 50px;
  max-width: 1200px;
  min-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

#footer_logo {
  margin-inline: 0;
  min-width: 120px;
  transition: transform 0.2s ease-in-out;
}

#footer_logo:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.to_general {
  text-decoration: none;
  font-family: var(--font-nunito);
  text-transform: uppercase;
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  width: 10rem;
  margin-top: 2rem;
  min-width: 120px;
  max-width: 15rem;
  text-align: center;
  justify-content: center;
  margin-left: 3rem;
  transition: all 0.2s ease-in-out;
}

.to_general:hover {
  transform: scale(1.1);
}

.to_general:first-of-type {
  margin-top: 2rem;
}

.to_general {
  width: 12rem;
}

.reporting_card {
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  align-items: center;
  width: 30%;
  min-width: 200px;
  flex-direction: column;
  transition: all 0.3s ease-in-out;
}

.reporting_card:hover {
  transform: scale(1.02) translateY(-0.5rem);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#reportings_list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  min-width: 280px;
  width: 100%;
}

#awards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#awards #diplomas {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
}

#awards #diplomas .reporting_card {
  width: 48%;
}

#diplomas .reporting_card {
  max-width: 50%;
}

#documents {
  width: 60%;
  min-width: 280px;
}

#reportings {
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-width: 280px;
}

.reporting_card h3 {
  font-size: 2.5rem;
  text-align: center;
}

#corruption {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  min-width: 280px;
}

#corruption .reporting_card h3 {
  font-size: 2rem;
  text-align: center;
  min-width: fit-content;
}

#trust_line {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 280px;
  flex-wrap: wrap;
}

#trust_line p,
#awards p {
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 1rem;
  min-width: 200px;
  flex: 1;
}

#corruption .reporting_card {
  margin: 1rem auto;
  transition: all 0.2s ease-in-out;
  padding: 1.5rem;
  width: 100%;
  min-width: 280px;
}

#corruption .reporting_card:hover {
  transform: translateY(0);
}

.read_btn {
  display: flex;
  text-decoration: none;
  padding: 1.25rem;
  text-transform: uppercase;
  border: 2px solid var(--white);
  width: 15rem;
  min-width: 120px;
  height: 2.5rem;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  transition: all 0.2s ease-in-out;
  margin-top: 1.25rem;
}

.read_btn:hover {
  background-color: var(--white);
  color: var(--primary-color);
  font-weight: 700;
  transform: scale(1.1);
}

#contacts_list {
  width: 60%;
  min-width: 280px;
}

.contact_card {
  width: 28rem;
}

#background {
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: center;
  align-items: center;
  height: 25rem;
  max-height: 30rem !important;
}

#title_background,
#title_gr {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 100%;
}

#divisions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 5rem;
  justify-content: center;
  gap: 1rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.division {
  padding: 1.875rem;
  display: flex;
  position: relative;
  height: 20rem;
  min-height: 250px;
  justify-content: flex-end;
  text-align: right;
  flex-direction: column;
  align-items: flex-end;
  transition: all 0.3s ease-in-out;
  border-radius: 0.938rem;
  overflow: hidden;
}

.division:nth-child(1) {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
  min-width: 300px;
}

.division:not(:nth-child(1)) {
  flex: 1;
  min-width: 300px;
  width: 45%;
}

#protecting_and_restoring_info ul {
  font-weight: 200;
  line-height: 1.5;
  font-size: 1.3rem;
  min-width: 200px;
  margin-left: 1.5rem;
  margin-top: 1.5rem;
}

#protecting_and_restoring_info {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  width: 100%;
}

#protecting_and_restoring_info div,
#protecting_and_restoring_info p {
  background-color: var(--primary-color);
  padding: 1rem;
  border-radius: 10px;
}

#approaching_victory .about_info {
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 1rem;
}

#approaching_victory {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#diplomas .reporting_card h3 {
  font-size: 2rem;
}

@media (max-width: 1500px) {
  section {
    max-width: 80% !important;
    width: 80% !important;
    margin-top: 2rem;
  }

  #page_title {
    font-size: 3.5rem;
  }

  .info_text:last-child {
    max-width: 100%;
  }

  #info>.info_image:nth-of-type(1) {
    display: none;
  }

  #info>.info_image:nth-of-type(2) {
    width: 50%;
    max-width: 50% !important;
    height: 100%;
  }

  .info_image {
    max-width: 100%;
  }

  .about_title {
    font-size: 2.5rem;
  }

  #info_description {
    flex-direction: row;
    gap: 1rem;
  }

  #info_description .info_text {
    height: 100%;
    margin-top: 0;
  }

  img {
    max-width: 100%;
  }

  #reportings .reporting_card {
    width: 30%;
  }

  #trust_line {
    flex-direction: column;
  }

  #documents {
    display: flex;
    gap: 3rem;
    flex-direction: column;
  }

  .contact_card {
    width: 100%;
  }

  #in_memory img {
    justify-content: center;
    display: flex;
    margin-inline: auto;
  }
}

@media (max-width: 992px) {
  section {
    margin-top: 4rem;
    max-width: 85%;
  }

  #page_title {
    font-size: 3rem;
    margin-top: 2rem;
  }

  .about_title {
    font-size: 2.2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
  }

  p,
  #protecting_and_restoring_info ul {
    font-size: 1.2rem;
  }

  img {
    max-width: 100%;
    margin: auto;
  }

  #info {
    justify-content: center;
    width: 100%;
    gap: 1.5rem;
  }

  .info_text {
    padding: 1.5rem;
    width: 100%;
  }

  .division_properties_description {
    gap: 1.5rem;
    padding: 1rem 0;
  }

  .to_general {
    margin-left: 1rem;
    width: 10rem;
    min-width: 10rem;
  }

  #documents,
  #contacts_list {
    width: 70%;
  }

  #reportings .reporting_card {
    width: 100%;
  }

  #trust_line {
    flex-direction: column;
  }

  #in_memory img {
    justify-content: center;
    display: flex;
    margin-inline: auto;
  }

  #info_description {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  section {
    margin-top: 2rem;
    padding: 0 1rem;

    max-width: 85%;
  }

  p,
  #protecting_and_restoring_info ul {
    font-size: 1.1rem;
  }

  img {
    max-width: 100%;
    min-width: 200px;
  }

  #page_title {
    font-size: 2.5rem;
    margin-top: 1.5rem;
  }

  .about_title {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
  }

  .steps_title {
    font-size: 1.6rem;
  }

  #info {
    width: 90%;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  .info_image,
  .info_text {
    width: 100%;
    max-width: 100%;
    min-width: 250px;
    flex: none;
  }

  .info_image {
    margin-bottom: 1rem;
  }

  .info_text {
    margin-top: 0;
    padding: 1.5rem;
  }

  #iso .reporting_card {
    width: 100%;
    max-width: 100%;
  }

  #reportings_list {
    flex-direction: column;
    align-items: center;
  }

  .reporting_card {
    width: 100%;
    max-width: 20rem;
    margin: 0.5rem 0;
    min-width: 250px;
  }

  #trust_line {
    flex-direction: column;
    gap: 0.5rem;
  }

  #trust_line p,
  #awards p {
    width: 100%;
    margin-bottom: 0.5rem;
    min-width: 250px;
  }

  #documents,
  #contacts_list {
    width: 90%;
  }

  .networks_generation {
    width: 95%;
    padding: 1rem;
  }

  .about_division {
    width: 95%;
  }

  .division_properties_description {
    flex-direction: column;
    gap: 1rem;
  }

  .to_general {
    margin-inline: auto;
    width: 100%;
    max-width: 12rem;
  }

  #diplomas {
    flex-direction: column;
    align-items: center;
  }

  #awards #diplomas .reporting_card {
    width: 100%;
  }

  #diplomas .reporting_card,
  #corruption .reporting_card,
  #reportings .reporting_card {
    max-width: 100%;
  }

  .division_step {
    padding: 1rem;
  }

  #in_memory img {
    justify-content: center;
    display: flex;
    margin-inline: auto;
  }

  .reporting_card {
    width: 100%;
    max-width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  section {
    margin-top: 3rem;
    max-width: 95% !important;
    width: 95% !important;
  }

  p,
  #protecting_and_restoring_info ul {
    font-size: 1rem;
    line-height: 1.4;
  }

  img {
    width: 100%;
    max-width: 100%;
    min-width: 250px;
  }

  #nav_logo {
    max-width: 230px;

    min-width: 120px;
    margin-left: 0;
    margin-bottom: 1rem;
  }

  #page_title {
    font-size: 2.2rem;
    margin-top: 1rem;
    padding: 0 0.5rem;
  }

  header {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1rem;
  }

  .about_title,
  .steps_title {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }

  #checkbox2:checked+.toggle2 {
    transform: rotate(180deg);
    position: fixed;
    right: 1rem;
  }

  #info {
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .info_text {
    padding: 1rem;
    margin-top: 0.5rem;
  }

  .division_properties_description {
    flex-direction: column;
    padding: 0.5rem 0;
    gap: 0.5rem;
  }

  .division_info {
    padding: 0.8rem;
    min-width: 250px;
  }

  .to_general {
    margin: 1rem auto;
    width: 100%;
    max-width: 10rem;
    min-width: 120px;
    font-size: 0.9rem;
  }

  .reporting_card {
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-width: 250px;
    padding: 1rem;
  }

  .reporting_card h3 {
    font-size: 2rem;
  }

  .read_btn {
    text-align: center;
  }

  #corruption .reporting_card h3 {
    font-size: 1.5rem;
  }

  #corruption .reporting_card {
    margin: 0;
    width: 100%;
  }

  .read_btn {
    width: 100%;
    max-width: 12rem;
    min-width: 120px;
    font-size: 0.75rem;
    padding: 1rem;
  }

  #in_memory img {
    justify-content: center;
    display: flex;
    margin-inline: auto;
  }

  .contact_card {
    height: 20rem;
  }

  #documents,
  #contacts_list {
    width: 95%;
  }

  .projects_geography {
    margin-bottom: 2rem;
  }

  #diplomas {
    gap: 1rem;
  }

  #diplomas .reporting_card {
    max-width: 100%;
  }

  .reporting_card {
    text-align: center;
  }

  #background {
    min-height: 15rem;
    height: 15rem;
  }

  .division .division_title {
    transform-origin: center;
  }

  .division .division_btn {
    transform-origin: center;
  }

  #trust_line {
    gap: 0.5rem;
  }

  .toggle2 {
    margin-top: 0.5rem;
  }

  #trust_line p,
  #awards p {
    padding: 0.8rem;
    min-width: 240px;
  }
}

@media (max-width: 320px) {
  #background {
    height: 10rem;
    min-height: 10rem;
  }

  section {
    max-width: 85% !important;
  }

  .projects_geography {
    max-width: 80%;
  }

  #info_description {
    max-width: 100% !important;
    width: 100% !important;
  }

  #info_text {
    max-width: 100% !important;
  }

  header {
    height: 5rem;
  }

  .toggle2 {
    margin-bottom: 1rem;
  }

  body {
    font-size: 14px;
  }

  .division {
    height: 2rem;
  }

  .division_title {
    font-size: 1.5rem;
  }

  .division_btn {
    font-size: 1rem;
    height: 3rem;
    width: 8rem;
    max-width: 10rem;
  }

  #page_title {
    font-size: 1.5rem;
    padding: 0 0.25rem;
  }

  .about_title,
  .steps_title {
    font-size: 1.3rem;
  }

  p,
  #protecting_and_restoring_info ul {
    font-size: 0.9rem;
  }

  #nav_logo {
    min-width: 80px;
    max-width: 150px;
  }

  .division_info {
    padding: 0.6rem;
    min-width: 240px;
  }

  .reporting_card {
    min-width: 240px;
    padding: 0.8rem;
  }

  .to_general {
    min-width: 100px;
    font-size: 0.8rem;
    padding: 0.8rem;
  }

  .read_btn {
    min-width: 100px;
    padding: 0.8rem;
    font-size: 0.7rem;
  }

  #trust_line p,
  #awards p {
    min-width: 220px;
    padding: 0.6rem;
  }
}