@import url("https://cdn.web-fonts.ge/fonts/dejavu-sans-condensed/css/dejavu-sans-condensed.min.css");
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
}

.container {
  width: 100%;
}

header.container {
  background: #0a22f4;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.header-flex {
  min-height: 180px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

nav {
  display: none;
}

#logo {
  max-width: 97px;
  height: 55px;
  background-color: transparent;
  margin-top: 40px;
}

main {
  padding-bottom: 40px;
}

#main-photo {
  width: 100%;
  margin: -35px auto 16px;
  border-radius: 15px;
}

.main-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

#h1 {
  font-family: "DejaVu Sans Condensed Bold", sans-serif;
  font-weight: 700;
  color: #171717;
  font-size: 18px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0px;
  display: block;
  margin-bottom: 40px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}

.gallery img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
  height: 250px;
}

.gallery img:last-child {
  display: none;
}

main .text {
  font-family: "DejaVu Sans Condensed Bold", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #171717;
  text-align: left;
  margin-bottom: 32px;
}

main .text:nth-of-type(2),
main .text:nth-of-type(3) {
  display: none;
}

.more {
  font-family: "DejaVu Sans Condensed Bold", sans-serif;
  display: block;
  width: 100%;
  margin: auto;
  padding: 20px;
  border-radius: 28px;
  background-color: #0a22f4;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

footer.container {
  background-color: #0a22f4;
  padding: 30px 20px 40px;
}

footer .grid {
  display: flex;
  flex-direction: column;
}

footer .text {
  display: none;
}

.contact h2 {
  font-family: "DejaVu Sans Condensed Bold", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  text-align: left;
  margin-bottom: 40px;
  order: 1;
}

.map {
  width: 100%;
  height: 200px;
  border-radius: 15px;
  margin-bottom: 44px;
  margin-top: 40px;
  order: 3;
}

.collect {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 35px;
  order: 4;
  width: 100%;
}

.contact {
  display: contents;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-family: "DejaVu Sans Condensed Bold", sans-serif;
  font-size: 13px;
  letter-spacing: 0px;
  font-weight: 700;
}

.icon {
  position: relative;
  width: 39px;
  height: 39px;
  flex-shrink: 0;
}

.icon-out {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icon-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
}

.input {
  display: flex;
  flex-direction: column;
  gap: 40px;
  order: 2;
}

.input label {
  display: flex;
  flex-direction: column;
  gap: 21px;
  font-family: "DejaVu Sans Condensed Bold", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
}

.input input,
.input textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #ffffff;
  outline: none;
  font-family: inherit;
  font-size: 10px;
}

.input input::placeholder,
.input textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
  opacity: 1;
}

.input textarea {
  resize: none;
  min-height: 90px;
}

.input button {
  width: 100%;
  border: none;
  border-radius: 28px;
  background-color: #ffffff;
  color: #171717;
  font-family: "DejaVu Sans Condensed Bold", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 20px;
  cursor: pointer;
}

footer + .grid {
  background-color: #0a22f4;
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.right {
  order: 2;
  font-family: "DejaVu Sans Condensed", sans-serif;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  opacity: 0.6;
  margin-top: 31.5px;
}

.last {
  order: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 34.5px;
}

.text1 {
  order: 1;
  display: flex;
  align-items: center;
  gap: 17.81px;
  font-family: "DejaVu Sans Condensed", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
}

.text1 img {
  width: 19.69px;
  height: 16.62px;
}

.smartweb {
  order: 2;
  width: 121px;
  height: auto;
}

.choose-png {
  width: 60px;
  height: 60px;
  margin-top: 30px;
  margin-bottom: 40px;
}

#toggle {
  display: none;
}

.choose-btn {
  cursor: pointer;
  order: 3;
}

.toggle-content {
  display: none;
  text-align: left;
  color: white;
  order: 4;
}

.toggle-content a {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

#toggle:checked ~ .toggle-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: -20px;
  align-items: center;
}

.toggle-content a:hover {
  opacity: 0.7;
}

@media (min-width: 1024px) {
  .container {
    max-width: 1920px;
    margin: 0 auto;
  }

  header.container {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .header-flex {
    max-width: 1440px;
    min-height: 387.5px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 40px;
  }

  nav {
    display: block;
    margin-top: 64px;
  }

  nav ul {
    display: flex;
    align-items: center;
    gap: 42px;
  }

  nav a {
    font-family: "DejaVu Sans Condensed Bold", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0px;
    text-align: left;
  }

  #contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 43px 18px 36px;
    border-radius: 28px;
    background-color: #ffffff;
    color: #171717;
  }

  #logo {
    max-width: 115px;
    height: auto;
    margin-top: 40px;
  }

  main {
    padding-bottom: 180px;
  }

  .main-container {
    max-width: 1195px;
    margin: 0 auto;
    padding: 0px;
  }

  #main-photo {
    width: 1195px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    transform: translateY(-160px);
    padding: 0 40px;
  }

  h1 {
    margin-bottom: 60px;
    margin-top: -130px;
  }

  #h1 {
    font-size: 28px;
    margin-bottom: 0;
    padding: 0 40px;
  }

  .gallery {
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-bottom: 60px;
    padding: 0 40px;
  }

  .gallery img {
    height: 219px;
  }

  .gallery img:last-child {
    display: block;
  }

  main .text {
    max-width: 951px;
    font-size: 16px;
    margin: 0 auto 18px;
    line-height: 1.8;
  }

  main .text:nth-of-type(2),
  main .text:nth-of-type(3) {
    display: block;
  }

  .more {
    max-width: 341px;
    margin: 58px auto 0;
    font-size: 16px;
  }

  footer.container {
    padding: 275px 40px 0px;
  }

  footer .grid {
    max-width: 1440px;
    margin: 0 auto;
    /* padding: 0 40px 60px; */
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    align-items: flex-start;
    gap: 200px;
  }

  .contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .contact h2 {
    font-size: 32px;
    margin-bottom: 30px;
    order: 0;
  }

  footer .text {
    display: block;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 58px;
    max-width: 463px;
    color: #ffffff;
  }

  .map {
    width: 463px;
    height: 197px;
    margin: 0 0 70px;
    order: 0;
    border-radius: 15px;
    background-color: #ffffff;
    padding-left: 10px;
    padding-bottom: 10px;
  }

  .collect {
    gap: 40px;
  }

  .contact-link {
    font-size: 22px;
  }

  .icon {
    width: 70px;
    height: 70px;
  }

  .icon-img {
    width: 26px;
    height: 26px;
  }

  .input {
    padding-top: 90px;
    /* padding-right: 40px; */
  }

  .input label {
    font-size: 16px;
    gap: 16px;
  }

  .input button {
    width: 151px;
    margin-left: auto;
    padding: 18px 0;
    font-size: 16px;
  }

  footer + .grid {
    max-width: 1920px;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    padding: 132px 0px 42px;
    margin: 0 auto;
  }

  .right {
    order: 1;
    margin-top: 0;
    font-size: 16px;
    transform: translateX(240px);
    opacity: 1;
  }

  .last {
    order: 2;
    gap: 30px;
    transform: translateX(-240px);
  }

  .text1 {
    font-size: 16px;
  }

  .smartweb {
    width: 121px;
  }

  .choose-btn,
  #toggle,
  .toggle-content {
    display: none;
  }
}
