@import url("https://fonts.googleapis.com/css2?family=Playwrite+DE+Grund:wght@100..400&display=swap");
* {
  padding: 0;
  margin: 0;
  outline: none;
  box-sizing: border-box;
}
img {
  width: 60%;
  display: flex;
}
a {
  text-decoration: none;
}
body {
  font-family: "Playwrite DE Grund", sans-serif;
  background-color: darkblue;
}

nav {
  max-width: 1400px;
  margin: auto;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
nav-logo {
  max-width: 200px;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 3rem;
  font-size: 1.5rem;
}
.link a {
  position: relative;
  padding-bottom: 0.75rem;
  color: white;
}
.link a::after {
  content: "";
  position: absolute;
  height: 5px;
  width: 0;
  bottom: 0;
  left: 0;
  background-color: white;
  transition: all 0.3s ease;
}
.link a:hover::after {
  width: 90%;
  background-color: white;
}
#menuBar {
  display: none;
}
.btn {
  padding: 0.75rem 1.5rem;
  font-size: 1.5rem;
  font-family: "Playwrite DE Grund", sans-serif;
  background-color: white;
  color: black;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn:hover {
  background-color: darkcyan;
  color: white;
  transform: translateX(5px);
}
.container {
  max-width: 1400px;
  margin: auto;
  padding: 5rem 2rem;
  color: white;
}
.blur {
  position: absolute;
  box-shadow: 0 0 250px 50px white;
  z-index: -100;
}
.name {
  font-size: 2.5rem;
  padding: 10px;
  position: relative;
  overflow: hidden;
}
.name::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgb(34, 130, 162);
  z-index: -1;
  transition: width 1s ease-in-out;
}
.name:hover::before {
  width: 100%;
}
header {
  position: relative;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
}
header .image {
  display: flex;
  justify-content: right;
}
header .image img {
  max-width: 400px;
  margin: 0;
  transition: all 0.5s ease;
}
header .image img:hover {
  transform: scale(1.1);
}
header .content h4 {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 600;
}

header .content h1 {
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: 4rem;
}
header .content p {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 400;
}
section .header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -110px;
  margin-bottom: 10px;
  font-size: 2.5rem;
  font-weight: 700;
}
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.1rem;
}
.services .card {
  background: linear-gradient(45deg, #1425bd, #3d436d);
  border: 3px solid white;
  padding: 0.55rem;
  border-radius: 1.25rem;
  transition: all 0.5s ease-in-out;
}
.services .card:hover {
  background: lightblue;
  color: black;
  border: 5px solid transparent;
  box-shadow: white 0 2px 5px 2.5px;
  transform: matrix(1.05, 0, 0, 1.05, 0, 0);
}
.services .card span {
  display: inline-block;
  color: black;
  background-color: white;
  padding: 0.25rem 0.5rem;
  margin-bottom: 1rem;
  font-size: 2rem;
  border-radius: 1rem;
}
.services .card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}
.services .card p {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1rem;
}
.services .card a {
  color: white;
  transition: all 0.3s ease;
}
.services .card a:hover {
  background-color: white;
  padding: 1rem;
  border-radius: 0 1.25rem 1.25rem 0;
  color: black;
}
footer {
  background-color: #03138f;
  color: white;
  padding: 2rem 1rem;
  box-shadow: 0 -5px 5px rgba(255, 255, 255, 0.1);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-column {
  flex: 1 1 200px;
  max-width: 300px;
}

.footer-column .logo {
  max-width: 200px;
  margin-bottom: 1rem;
}

.footer-column .logo img {
  max-width: 100%;
  height: auto;
}

.footer-column h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-column p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-column .social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-column .social-icons a {
  color: white;
  border: 1px solid white;
  padding: 0.5rem;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-column .social-icons a:hover {
  background-color: white;
  color: #03138f;
  border-radius: 50%;
}

.footer-column > a {
  color: white;
  transition: all 0.3s ease;
  display: block;
  padding: 0.5rem 0;
}

.footer-column > a:hover {
  margin-right: 0%;
  background-color: white;
  color: black;
  transform: translateX(5px);
}

.copyright {
  text-align: center;
  padding: 1rem;
  background-color: #020e66;
  color: white;
  font-size: 0.9rem;
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  header {
    grid-template-columns: repeat(1, 1fr);
  }
  header .image {
    grid-area: 1/1/2/2;
  }
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 900px) {
  .footer-container {
    justify-content: center;
  }

  .footer-column {
    flex-basis: calc(50% - 2rem);
    text-align: center;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    left: 128px;
    background-color: cornflowerblue;
    border-radius: 5px;
    padding: 5px;
    font-size: 17px;
  }
  .nav-links.show {
    display: flex;
  }
  #menuBar {
    position: relative;
    display: block;
    padding: 1rem;
    background-color: rgba(0, 255, 255, 0.511);
    color: white;
    font-size: 40px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3 ease-in-out;
  }
  #menuBar:hover {
    background-color: rgba(0, 255, 255, 0.8);
    transform: scale(1.1);
  }
  #menu .footer-column {
    flex-basis: 100%;
  }

  .footer-column .logo {
    margin: 0 auto 1rem;
  }

  .footer-column .social-icons {
    justify-content: center;
  }
}
