body {
    background-color: #111d13;
    box-sizing: border-box;
    color: white;
}

#info_text, h1, h2, h3 {
    font-family: 'Lexend';
    font-weight: 500;
    text-align: center;
    margin: 0;
    margin-bottom: 4px;
}

 #info_text {
  font-size: 2.5rem;  
 }


h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

header {
    background-color: #111d13;
    text-align: center;
    color: white;
}

.main {
    display: flex;
    flex-direction: row;
    padding: 10px;
    height: 50vh;
    width: 80%;
    margin: auto;
    gap: 20px;
    margin-top: 1rem;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 5px;
}
.info {
    margin: auto;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.language {
  font-style: italic;
}

.html {
    color: #FF5800;
}
.css {
    color: #009CE7;
}
.js {
    color: #FECA3E;
}

#CTA {
    height: 2rem;
    width: 80px;
    margin: auto;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Lexend';
    font-weight: 500;
    font-size: 1rem;
}

.tabs {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    margin: auto;
    gap: 10px;
}

.box {
    background-color: #afd4b5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 6rem;
    min-width: 11rem;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 5px;
    cursor: pointer;
}

.box p {
    color: #415d43;
    font-family: 'Lexend';
}

p, a {
    text-align: center;
    font-family: 'Oranienbaum';
    font-weight: 500;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
}

/*
#github:hover {
    background-image: url(photos/github.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50%;
}
*/

.box_hover {
    display: none;
}

.box:hover .box_default {
    display: none;
}

.box:hover .box_hover {
    display: block;
}

.box:hover {
    max-width: 2rem;
}

#soon p{
  color: rgb(236, 235, 235);
}
#soon {
  background-color: transparent;
  border: 1px dashed rgb(236, 235, 235);
  cursor: auto;
}

.projects{
  width: 80%;
  padding: 10px;
  margin: auto;
  border-radius: 5px;
  margin-top: 1%;

}

.projects p {
  margin: auto;
}




.project {
  margin-top: 4%;
}


.project_description p {
  margin-top: 10px;
}


.project_links {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  gap: 1%;
  border: 1px solid white;
  border-radius: 5px;

}

.project_links p {
  margin: 0 auto;
  padding: 5px;
}


.project_foto {
  background-size: cover;
  background-position: center;
  width: 300px;
  height: 200px;
  margin: auto;
  margin-top: 15px;
}

.foto2 {
  background-image: url(photos/projects/project02.jpg);
}

.foto1 {
  background-image: url(photos/projects/project01.jpg);
}








  @keyframes shake {
    0% {transform: rotate(0deg);}
    25% {transform: rotate(5deg);}
    50% {transform: rotate(0deg);}
    75% {transform: rotate(-5deg);}
    100% {transform: rotate(0deg);}
  }

  .shake {
    animation: shake 0.2s;
    animation-iteration-count: 3;
  }






@media (max-width:767px) {
  #CTA {
    width: 270px;
  }
}  

@media (max-width:480px) {
  #project_foto_second img {
    width: 280px;
  }
  #CTA {
    width: 230px;
    margin: auto;
  }
}  













@media (min-width:766px) {
  .main {
    margin-top: 20vh;
  }
  .tabs {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  }
}

@media (min-width:766px) and (max-width:1440px) {
  .tabs {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  }
  #CTA {
    width: 410px;
  }
}

@media (min-width:1025px) {
  .project_description {
    width:50%;
    margin: auto;
    margin-top: 0;
  }  
 

}

@media (max-width:767px) {
  .project_links {
    width: 100%;
    }
}
@media (min-width:1441px) {
    #CTA {
    width: 600px;
  }
  .project {
 display: flex;
  }
  .project_description {
    align-content: center;
  }
  .foto1, .foto2 {
  margin: auto; 
  height: 100%;
 }
}


@media (max-width: 1440px) { 
  h1 {
    font-size: 1.6rem;
    width: 100vw;
  }

  #info_text {
    font-size: 2rem;
    width: 100vw;
  }

  p {
    font-size: 1rem;
    line-height: 1.4;
  }


  .tabs {
    flex-direction: column;
    align-items: center;
    margin-top: 0;
  }

  .box {
    margin: auto;
    height: 6rem;
    min-width: 7rem;
  }
  .info {
    flex-direction: column;
    align-items: center;
    width: 80%;
  }
  .main {
    flex-direction: column;
    height: auto;
    margin: auto;
    margin-top: 20vh;
  }
  .box {
    min-width: 8rem;
  }
  .project {
    display: flex;
    flex-direction: column;
    width: 100%;

  }
  .project_description {
    width: 80%;
    margin: auto;
  }

}

.hidden {
  display: none;
}
  

