@charset "UTF-8";

html {
  scroll-behavior: smooth;
}

/* Buttons */

.to-project-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  color: #000;
  font-family: daysOne, Arial, Helvetica, sans-serif;
  border: 1px solid #000;
  box-sizing: border-box;
  border-radius: 0.25rem;
}

.to-project-btn:hover {
  color: #5c5c5c;
  border: 1px solid #5c5c5c;
  background-color: #fff;
  transition: all 300ms ease-in-out;
}

#about {
  display: flex;
  justify-content: center;
  align-items: center;
  height: fit-content;
  gap: 5rem;
  box-sizing: border-box;
}

#about #text-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  padding: 0 2rem 2rem 2rem;
  box-sizing: border-box;
}

#about #text-content ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

#about #icons img {
  padding: 2rem;
  max-width: 100%;
}

#about #text-content h2, #projects-content h2 {
  font-size: 2rem;
  font-family: daysOne, Arial, Helvetica, sans-serif;
  text-align: center;
  margin: 0;
  padding: 2rem;
  box-sizing: border-box;
  width: 100%;
}

#about #text-content h3 {
  font-size: 1.5rem;
  margin-top: 0;
}

#about #text-content p, #about #text-content ul li  {
  font-size: 1.25rem;
  text-align: center;
}

#about #text-content p:nth-child(4) {
  margin-bottom: 0;
}

#about #text-content #last-about-paragraph {
  margin-bottom: 0;
  padding-bottom: 0;
}

.buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.more-btn {
  display: block;
  height: fit-content;
  width: 150px;
  text-align: center;
  font-size: 1rem;
  font-family: daysOne, Arial, Helvetica, sans-serif;
  padding: 1rem;
  text-decoration: none;
  color: #000;
  border: 1px solid #000;
  border-radius: 0.25rem;
}

.more-btn:hover {
  color: #5c5c5c;
  border-color: #5c5c5c;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

#projects {
  background: url('../img/code-1920.jpg') no-repeat top center fixed;
  background-color: #000;
  min-height: 600px;
  width: 100%;
  height: fit-content;
}

#projects #projects-title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  /* height: 400px; */
  height: 300px;
  width: 100%;
}

#projects-title-container #paket {
  display: inherit;
  align-items: inherit;
  justify-content: inherit;
  width: 600px;
  min-width: fit-content;
  max-width: 80%;
  height: 150px;
  padding: 1rem;
  background-color: #ffffff99;
  border-radius: 0.5rem;
}

#paket h2 {
  font-family: daysOne, Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
}

#projects #projects-content {
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-top: 0;
  min-height: 500px;
  height: fit-content;
  background-color: #f1f1f1;
}

#projects-container {
  display: grid;
  grid-template-columns: 300px 300px 300px 300px;
  grid-row: auto;
  grid-gap: 2rem;
  width: fit-content;
  height: fit-content;
  margin: 0 auto;
}

#projects-container a .project {
  display: block;
}

#projects-container .project {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 300px;
  height: 100%;
  background-color: #fff;
  padding: 1rem;
  border-radius: 0.25rem;
  text-decoration: none;
  color: #000;
  box-sizing: border-box;
  position: relative;
}

.project .project-status-in-progress,
.project .project-status-finished,
.project .project-status-canceled {
  position: absolute;
  top: 0;
  right: 0;
  width: fit-content;
  padding: 0.5rem;
  border-radius: 0 0.25rem 0 0.25rem;
  font-family: daysOne, Arial, Helvetica, sans-serif;
}

.project .project-status-in-progress {
  background-color: #E7A020;
}

.project .project-status-finished {
  background-color: #87C540;
}

.project .project-status-canceled {
  background-color: #F3272B;
}

.project h3 {
  font-family: daysOne, Arial, Helvetica, sans-serif;
  text-align: center;
  margin: 0;
  padding-bottom: 1rem;
  padding-top: 1.25rem;
  font-size: 1.5rem;
}

.project .project-image {
  height: 180px;
  display: flex;
  align-items: center;
}

.project .project-image img {
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
}

.project .project-description {
  display: flex;
  align-items: center;
  width: 100%;
  height: 200px;
}

.project p {
  margin: 0;
  padding: 0.25rem;
}

.project .project-links {
  width: 100%;
  height: 50px;
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
}

.service-box {
  flex: 0 1 350px;
  max-width: 350px;
  padding: 20px 20px 30px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  background-color: #fff;
  box-shadow: 5px 10px 20px #d8d8d8; /*#808080 */
}

.service-box img {
  max-width: 60px;
  margin-bottom: 15px;
}

.service-box h3 {
  font-family: daysOne, Arial, Helvetica, sans-serif;
  font-size: 1.75rem;
  margin: 10px 0;
}

.service-box ul {
  text-align: left;
  list-style-type:circle
}

.service-box p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.service-box h4 {
  font-size: 1.25rem;
}

.service-box ul li {
  font-size: 1.1rem;
}

.service-box .price {
  font-size: 1.25rem;
}

.service-box a {
  font-family: daysOne, Arial, Helvetica, sans-serif;
  display: inline-block;
  padding: 10px 15px;
  background: #5c5c5c; /* #0073e6 */
  color: white;
  border-radius: 4px;
  text-decoration: none;
}

.service-box a:hover {
  transition: all 300ms ease-in-out;
  background: #b2b2b2; /* #005bb5 */
}

@media only screen and (max-width: 992px) {
  #about {
      flex-direction: column;
      flex-direction: column-reverse;
      text-align: center;
      gap: 0;
    }
  
    #icons img {
      max-width: 80%;
      margin-bottom: 20px;
    }

    #about #text-content {
      padding: 0 2rem 0 2rem;
    }
}

@media only screen and (max-width: 768px) {

  #about img {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  #about #text-content h2, #about #text-content h3 {
    font-size: 1.5rem;
  }

  #about #text-content p, #about #text-content ul li {
    font-size: 1rem;
  }

  .service-box h4 {
    font-size: 1.125rem;
  }

  .service-box p {
    font-size: 1rem;
  }
}