@font-face {
  font-family: "main_title";
  src: url(fonts/Michroma-Regular.ttf);
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #e2e2e2;
  color: #333;
  overflow-x: hidden;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.nav {
  padding-left: 60px;
  padding-right: 60px;
  display: flex;
  background-color: #e2e2e2;
  color: white;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  border-bottom: 1px solid black;
}
.main-img {
  margin-left: -255px;
}
.main_title a {
  color: black;
  text-decoration: none;
  font-family: main_title;
}
.main_title h1 {
  font-size: 20px;
}
.menu a {
  color: black;
  text-decoration: none;
  font-family: main_title;
  font-size: 12px;
}
.menu a:hover {
  color: gray;
}
.menu {
  gap: 90px;
  display: flex;
}
nav a:hover {
  color: #ffa500;
}

.slider {
  position: relative;
  max-width: 100%;
  height: 400px;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: opacity 1s ease-in-out;
}
.page_title {
  color: black;
  font-family: menu;
  text-align: center;
  font-size: 30px;
  font-family: main_title;
  padding-top: 30px;
}

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 70px;
}
.about img {
  width: 885px;
  height: 568px;
}
.about p {
  width: 891px;
  font-family: main_title;
}
.bio {
  position: relative;
  margin: 0;
  padding: 0;
}
*/ .about,
.contact {
  padding: 30px;
  max-width: 700px;
  margin: auto;
  line-height: 1.6;
}
.social_media {
  display: flex;
  gap: 40px;
  justify-content: center;
  padding-top: 30px;
}
.social_media img {
  width: 40px;
  height: 40px;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button {
  padding: 10px 20px;
  background-color: #1d1d1d;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #ffa500;
}

footer img {
  width: 30px;
}
footer {
  display: flex;
  text-align: center;
  min-height: 55px;
  background-color: #e2e2e2;
  border-top: 1px solid black;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.nav {
  position: relative;
  width: 100%;
  height: 60px;
  background-color: #ffffff;
  color: white;
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 20px;
  z-index: 1000;
  flex-shrink: 0;
}

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

header,
footer {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 1rem;
}
.menu.active {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  background-color: #ffffff; /* სურვილის მიხედვით */
  padding: 10px 0;
}
.burger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: black;
  z-index: 1100;
}
@media (max-width: 768px) {
  .full-image {
    height: auto; /* უნდა იყოს ფლექსის სიგრძე */
    min-height: calc(
      100vh - 60px - 50px
    ); /* 50px შეიძლება იყოს footer-ის სიმაღლე */
  }
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; /* ბურგერის ქვეშ გამოჩნდება */
    right: 0;
    background-color: #222;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    min-width: 150px;
  }

  .menu.active {
    display: flex;
    align-items: center;
  }

  .menu a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    padding: 10px 0;
    font-size: 16px;
  }
  .menu a:hover {
    color: #ddd;
  }

  .burger {
    display: block;
    font-size: 28px;
    cursor: pointer;
    color: black;
    z-index: 1100;
    margin-left: auto;
  }

  .main_title h1 {
    font-size: 18px;
  }

  .full-image {
    height: 70vh;
  }

  footer img {
    width: 20px;
    height: 20px;
  }
  .main_title {
    flex-grow: 1;
  }
}
