@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #faf3f0;
}
html {
  scroll-behavior: smooth;
}
* {
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

nav {
  width: 100%;
  top: 0;
  background: rgba(46, 76, 109, 0.4);
}
nav ul li a {
  font-size: 25px;
  border-radius: 5px;
}
.navbar-nav {
  font-size: 25px;
  color: white;
}
.navbar-nav .nav-item .nav-link {
  color: white;
}
.nav-link .whatsapp-button {
  background-color: #1d5d9b;
  color: #1d5d9b;
}
nav ul li a:hover,
.dropdown:hover .dropbtn {
  background-color: #1d5d9b;
  color: #1d5d9b;
}

.ust-kisim {
  width: 100%;
  display: flex;
  height: 100vh;
  padding-left: 0;
  background: rgba(46, 76, 109, 0.4);

  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  height: 80vh;
  width: 100%;
  position: relative;
}
#content {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 30px;
  background: rgba(46, 76, 109, 0.7);

  padding: 20px;
  width: 60%;
  border-radius: 10px;
}
.ust-kisim .image img {
  width: 100%;
  height: 100vh;
}

header {
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 100%;
  color: white;
  transition: left 0.5s ease;
  background-image: url(su-tesisat.png);
}

.image {
  max-width: 100%;
  display: block;
  margin: 0;
  padding: 0;
}

nav img {
  left: 200px;
  width: 200px;
  height: auto; /* Örneğin, logo boyutunu ayarlamak için */
  display: block;
  position: relative;
}

.ust-kisim h1 {
  color: white;
  text-align: center;
  justify-content: center;
  font-size: 25px;
}

.ust-kisim h2 {
  color: white;
  text-align: center;
  justify-content: center;
  font-size: 30px;
  opacity: 1;
}

.contact-buttons {
  color: #3498db;
  text-align: center;
  margin-top: 20px;
}

.contact-buttons a {
  display: inline-block;
  background-color: #3498db;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  margin-right: 10px;
  border-radius: 10px;
  size: 100px;
}
.scroll {
  position: relative;
  display: flex;
  max-width: 100%;
}

.scroll div {
  white-space: nowrap;
  animation: scroll var(--time) linear infinite;
  animation-delay: calc(var(--time) * -1);
}

.scroll div:nth-child(2) {
  animation: scroll2 var(--time) linear infinite;
  animation-delay: calc(var(--time) / -2);
}

@keyframes scroll {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes scroll2 {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-200%);
  }
}

.scroll div span {
  display: inline-flex;
  margin: 10px;
  letter-spacing: 0.2em;
  background: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  transition: 0.5s;
  box-shadow: 10px 10px 10px gray;
}

.scroll div span:hover {
  background: #3fd2f9;
  cursor: pointer;
}
@media only screen and (max-width: 1200px) {
  /* Navbar */
  nav img {
    top: 20px;
    left: 30px;
  }
  .button-container {
    flex-direction: row;
    display: flex;
  }
  .navbar-nav .nav-item .nav-link {
    color: black;
  }
}
