@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: white;
}

/* Navbar Styles*/

.head-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 10px;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.nav-links li {
  list-style: none;
  margin: 0 10px; /* Adjust the margin between elements */
}

.nav-links li a {
  position: relative;
  color: #333;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 30px; /* Increase padding to add space between text */
  transition: color 0.4s ease; /* Add transition for color change */
}

.nav-links li a:hover {
  transform: scale(1.2); /* Scale the text by a factor of 1.2 */
  font-weight: 800;
}

.nav-links li.upward a:before {
  width: 100%;
  bottom: -5px;
  opacity: 0;
}

.links:hover {
  transform: scale(1.2);
  transition: transform 0.5s ease;
}

.links:not(:hover) {
  transition: transform 0.7s ease;
}

.nav-links li.upward a:hover:before {
  bottom: 0px;
  opacity: 1;
}

.nav-links li.forward a:before {
  width: 100%;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.nav-links li.forward a:hover:before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links li:first-child {
  display: flex;
  align-items: center;
}

.logo {
  height: 50px; /* Adjust the height as per your preference */
  width: auto; /* Allow the width to adjust based on the logo's aspect ratio */
}

/* Additional class for the logo */
.logo-img {
  margin-right: 10px; /* Adjust the margin as per your preference */
}

/* Media queries for responsiveness */

@media (max-width: 800px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .nav-links li {
    margin: 5px 0; /* Adjust the margin as per your preference */
  }

  .nav-links li a {
    padding: 8px;
  }
}

/* Wilkommens Text Styling*/

.div1 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  text-align: center;
  margin-top: 50px;
  margin-left: 25%;
  margin-right: 25%;
  font-size: 18px;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.div1 p {
  text-align: center;
  color: #333;
}

@media (max-width: 768px) {
  .div1 {
    flex-direction: column;
    margin: 10px;
    font-size: 18px;
  }

  .div1 p {
    margin-top: 10px;
  }
}
/* Ende Styling */

/* Background Image hinter Navbar */
.part1 {
  background-repeat: no-repeat;
  background-size: cover;
  height: 44%;
  border-bottom-left-radius: 100% 90px;
  border-bottom-right-radius: 100% 90px;
  background-image: url(img/img-part1.jpg);
}
/* Ende Styling */

.job1 {
  margin-top: 5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 10px;
  background: white;
}

.job2 {
  margin-top: 5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 10px;
  background: #e3e3e3;
}

.job3 {
  margin-top: 5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 10px;
  background: white;
}

.job4 {
  margin-top: 5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 10px;
  background: #e3e3e3;
}

.job5 {
  margin-top: 5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 10px;
  background: white;
}

.job6 {
  margin-top: 5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 10px;
  background: #e3e3e3;
}

@media only screen and (min-width: 768px) {
  .job1 {
    flex-direction: row;
  }
  .job2 {
    flex-direction: row;
  }
  .job3 {
    flex-direction: row;
  }
  .job4 {
    flex-direction: row;
  }
  .job5 {
    flex-direction: row;
  }
}

/* Image + Text  Styling */
.images {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.images img {
  max-width: 100%;
  width: 500px;
  height: 350px;
  margin-right: 0;
  box-shadow: 5px 5px 10px #5a5a5a, -5px -5px 10px #ffffff;
}

.text {
  max-width: 500px;
  margin-bottom: 20px;
  text-align: left;
  line-height: 2;
  padding-right: 50px;
}

/* Contact Section*/
.container {
  max-width: 1170px;
  margin: auto;
}
.row {
  display: flex;
  flex-wrap: wrap;
}
ul {
  list-style: none;
}
.footer {
  background-color: #24262b;
  padding: 70px 0;
}
.footer-col {
  width: 33.3%;
  padding: 0 15px;
}
.footer-col h4 {
  font-size: 18px;
  color: #ffffff;
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
}
.footer-col h4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: greenyellow;
  height: 2px;
  box-sizing: border-box;
  width: 50px;
}
.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-col .social-links a {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.5s ease;
}
.footer-col .social-links a:hover {
  color: #24262b;
  background-color: #ffffff;
}

.footer-col li p {
  color: white;
}

/*responsive*/
@media (max-width: 767px) {
  .footer-col {
    width: 50%;
    margin-bottom: 30px;
  }
}
@media (max-width: 574px) {
  .footer-col {
    width: 100%;
  }
}

.footer-col form {
  display: flex;
  flex-direction: column;
  width: auto;
}

.footer-col form input,
.footer-col form textarea {
  border: 1px solid #ccc;
  padding: 8px;
  margin-bottom: 15px;
  font-size: 16px;
  border-radius: 0px;
  width: 100%;
}

.footer-col form input:focus,
.footer-col form textarea:focus {
  outline: none;
  border-color: #6b6b6b;
}

.footer-col form button[type="submit"] {
  background-color: white;
  font-size: 16px;
  border: none;
  border-radius: 0px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.footer-col form button[type="submit"]:hover {
  background-color: greenyellow;
}

.footer-col form textarea {
  height: 100px;
}

.footer-col li a {
  color: white;
}

.google {
  background-color: white;
  font-size: 16px;
  border: none;
  border-radius: 0px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.google:hover {
  background-color: greenyellow;
}
