@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap");

:root {
  --main-color: #017141;
  --dark-color: #212529;
  --light-color: #eaefd9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  transition: 0.2s ease;
  font-family: "Poppins", sans-serif;
}

/* base html codes */

html {
  font-size: 67.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 9rem;
}

html::-webkit-scrollbar {
  width: 0.8rem;
  background-color: var(--dark-color);
}

html::-webkit-scrollbar-thumb {
  border-radius: 3rem;
  background-color: var(--main-color);
}

body {
  background-color: var(--dark-color);
  color: var(--light-color);
}

section {
  padding: 3.5rem 17%;
}

h2 {
  font-size: 3rem;
}

p {
  font-size: 1.6rem;
  line-height: 1.8;
}

a {
  color: var(--dark-color);
}

i {
  color: var(--light-color);
}

hr {
  margin: 2rem;
  border-style: none;
  border-top-style: solid;
  border-color: var(--main-color);
  border-width: 0.2rem;
}

.btn {
  margin-top: 0.5rem;
  display: inline-block;
  padding: 1.5rem 2.5rem;
  border-radius: 30rem;
  font-size: 1.7rem;
  color: var(--light-color);
  background-color: var(--dark-color);
}

/* header start */
.float {
  margin: 0;
  padding: 0;
  position: fixed;
  width: 15rem;
  height: 5rem;
  bottom: 5rem;
  right: -6rem;
  background-color: #25d366;
  color: var(--light-color);
  border-radius: 1rem;
  text-align: center;
  transform: rotate(270deg);
  font-size: 1.5rem;
  z-index: 100;
  font-weight: bolder;
}

.float2 {
  margin: 0;
  padding: 0;
  position: fixed;
  width: 15rem;
  height: 7rem;
  bottom: 4rem;
  left: -5rem;
  background-color: #478CCF;
  color: var(--light-color);
  border-radius: 1rem;
  text-align: center;
  transform: rotate(270deg);
  font-size: 1.5rem;
  z-index: 100;
  font-weight: bolder;
}

.my-float {
  margin-top: 16px;
}

.header {
  background-color: rgba(13, 15, 16, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9%;
  margin: 2rem 7%;
  border-radius: 30rem;
  box-shadow: 0px 0px 17px -2px rgb(0, 0, 0);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

.header.active {
  background-color: rgb(0, 0, 0);
  margin: 2rem 0;
  border-radius: 0;
}

.header.active .logo img {
  height: 7.5rem;
}

.header .logo {
  padding-top: 5px;
}

.header .logo img {
  height: 10rem;
  border-radius: 100%;
}

.header .navbar a {
  margin: 0 1rem;
  font-size: 1.6rem;
  color: var(--light-color);
  border-bottom: 0.2rem solid transparent;
}

.header .navbar .active,
.header .navbar a:hover {
  border-color: var(--light-color);
  padding-bottom: 0.5rem;
}

.header .buttons button {
  cursor: pointer;
  margin-left: 2rem;
  background-color: transparent;
}

.header .buttons button i {
  font-size: 3rem;
}

.header .buttons #menu-btn {
  display: none;
}

.buttons {
  display: flex;
}

/* header end */

/* home start */

.home {
  min-height: 100vh;
  background: url(/images/IMG_8568.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-top: -15rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  text-align: center;
}

.home * {
  z-index: 5;
}

.home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.home .content {
  max-width: 60rem;
}

.home .content h3 {
  font-size: 3rem;
  color: #eaefd9;
}

.home .content p {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.8;
  padding: 1rem 0;
  color: #eaefd9;
}

/* home end */

/* section start */

.row {
  display: flex;
  flex-wrap: wrap;
  column-gap: 3rem;
  align-items: center;
}

.row_ac {
  display: flex;
  flex-wrap: wrap;
  column-gap: 3rem;
  align-items: center;
}

.row .image {
  flex: 45rem;
  text-align: center;
}

.row_ac .image {
  flex: 20rem;
  text-align: center;
}

.row img {
  max-width: 100%;
  max-height: 60rem;
  border-radius: 5rem;
  margin-bottom: 3rem;
}

.row_ac img {
  max-width: 100%;
  max-height: 60rem;
  border-radius: 5rem;
  margin-bottom: 3rem;
}

.row .content {
  flex: 45rem;
}

.row_ac .content {
  flex: 70rem;
}

.row .content h3 {
  font-size: 3rem;
}

.row_ac .content h3 {
  font-size: 2rem;
}

.row .content p {
  font-size: 1.6rem;
  padding: 1rem 0;
  line-height: 1.8;
}

.row_ac .content p {
  font-size: 1.6rem;
  padding: 1rem 0;
  line-height: 1.8;
}

.about-us-image {
  background-image: url(/images/17.jpg);
  background-position: bottom;
  background-position-y: -32rem;
  background-repeat: no-repeat;
  background-size: cover;
  height: 50vh;
}

.about-us-image::before {
  content: "";
}

.about-us {
  margin-top: 5rem;
  padding: 0 20%;
}

.about-us h2 {
  font-size: 3.5rem;
}

.about-us p {
  padding: 2rem 0;
  font-size: 1.6rem;
  line-height: 1.8;
}

/* section end */

/* iletisim start */
.row {
  margin: 1rem;
}

.contact .row {
  display: flex;

  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact h2 {
  font-size: 3.5rem;
}

.contact .row .map {
  flex: 1 1 50rem;
}

.contact .row {
  flex: 1 1 40rem;
  padding: 2rem 2rem;
}

.contact-list {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.list-item {
  display: flex;
  align-items: center;
  line-height: 4;
  color: var(--light-color);
  padding: 1rem 0;
}

.list-item i {
  color: var(--light-color);
  padding-right: 2rem;
}

.contact-text {
  font: 300 1.8rem "Lato", sans-serif;
  letter-spacing: 0.19rem;
  color: var(--light-color);
}

.contact-text a {
  text-transform: lowercase;
}

.contact-text a {
  color: var(--light-color);
  text-decoration: none;
  transition-duration: 0.2s;
}

.contact-text a:hover {
  color: var(--main-color);
  text-decoration: none;
}

/* iletisim end */

/* footer start */

.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--light-color);
  align-items: center;
}

.footer .designer {
  margin: 1rem;
}

.footer .social {
  margin-top: 1rem;
}

.footer .designer p {
  font-size: 1.5rem;
  color: var(--dark-color);
}

.footer .social i {
  margin: 0 0.5rem;
  color: var(--dark-color);
}

/* footer end */

/* responsive */

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }

  section {
    padding: 3.5rem 8%;
  }

  .header .navbar {
    position: absolute;
    top: 100%;
    background-color: var(--dark-color);
    height: fit-content;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 17px -2px rgb(0, 0, 0);
    width: 80%;
    padding: 2rem;
    top: -1000%;
  }

  .header .navbar.active {
    top: 11rem;
  }

  .header .navbar a {
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }

  .header .buttons #menu-btn {
    display: inline-block;
  }

  .about-us {
    padding: 0 11%;
  }

  .about-us-image {
    background-image: url(/images/17.jpg);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    height: 40vh;
  }
}
