*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
  
  background-color: rgb(178, 187, 165);
  height: 100rem;
}

.container1 {
    display: flex;
    margin: 3rem;
}

.projectentitel {
    display: flex;
    justify-content: center;
    margin: 0 2rem 0 2rem;
}

.projectentitel h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-family: 'Josefin Sans', sans-serif;
}

h1 {
    font-family: 'Josefin Sans', sans-serif;
}

h2{ 
    font-family: 'Josefin Sans', sans-serif;
}

p {
    margin-top: 3rem;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.container {
    width: 100%;
    margin: 0 auto;
    max-width: 1400px;
}   

.row {
    display: flex;
    justify-content: center;
}

.portofolio-item {
    width: 50%;
    padding: 2rem;
    position: relative;
}

.portofolio-img {
    width: 100%;
    border-radius: .5rem;
    filter: brightness(40%);
}

.portofolio-img2 {
    width: 100%;
    border-radius: .5rem;
    
}

.portofolio-img3 {
    width: 100%;
    border-radius: .5rem;
    height: 100%;
    object-fit: contain;
}

.portofolio-item:hover {
    transform: scale(1.1);
    transition: .5s ease-out;
    filter: brightness(100%);
}

.portofolio-item:hover .portofolio-img {
    filter: brightness(100%)
}

.portofolio-item p {
    position: absolute;
    color: white;
    opacity: 1;
    left: 3rem;
    top: 3rem;
    transition: .5s ease-out; 
    
}

.portofolio-item:hover p {
    opacity: 0;
    position: absolute;
    color: white;
}

.portofolio-item h2 {
    position: absolute;
    color: white;
    opacity: 1;
    left: 3rem;
    top: 4rem;
    transition: .5s ease-out; 
    
}

.portofolio-item:hover h2 {
    opacity: 0;
    position: absolute;
    color: white;
}


.container1 {
    width: 100%;
    margin: 0 auto;
    max-width: 1400px;
}   

.row2 {
    display: flex;
    justify-content: center;
}

.item3 {
    width: 50%;
    padding: 2rem;
}

.item4 {
    width: 50%;
    padding: 2rem;
    
}

h1 {
    color: rgb(22, 2, 2);
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2.5rem;
}

@media only screen and (max-width: 1024px) {
    .row {
      flex-wrap: wrap;
      flex-direction: column;
      display: flex;
    }
    .portofolio-item {
        width: 100%; 
    }
    .portofolio-img {
        filter: brightness(40%);
    }

    .row2 {
        flex-wrap: wrap;
        flex-direction: column;
        display: flex;
        justify-content: center;
      }

    .item3 {
        width:100%;
    }  
      
    .item4 {
        width: 100%;
        
    }
      
  }

  @media only screen and (max-width: 420px) {
      .tekstimg {
          font-size: .8rem;
      }

      .tekstheader{
          font-size: 1.1rem;
      }

  }

ul {
    margin-top: 2rem;
}

  li {
    list-style-type: none;
    padding: .5rem 0 .5rem 0;
    font-family: 'Poppins', sans-serif;
  }

.githublink {
    color: rgb(121, 29, 121);
    text-decoration: none;
    transition: .1s;
}

.githublink:hover {
    color: rgb(226, 66, 226);
    transition: .1s;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
    
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 10px;
  }

  footer {
    display: flex;
    justify-content: space-between;
    padding: 0 5rem 3rem 5rem;
  }

  .footerbold {
    font-weight: bold;
    margin-top: 0;
  }

  .footera {
    color: black;
    text-decoration: non;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
  }

