/******* INTRO *******/
#intro {
  display: flex;
  flex-wrap: nowrap;
  padding-top: 150px;
  }
  
.intro_left {
  flex-basis: 60%;
  padding-left: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.intro_left h1 {
  font-size: 6rem;
  color: var(--burnt);
  text-align: left;
}

.intro_left h2 {
  font-size: 2rem;
  text-align: left;
  margin-bottom: 14.4px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
}

.intro_right {
  flex-direction: column;
  flex-basis: 40%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 50px;
}

.intro_right img {
  width: 20vw;
  object-fit: cover;
}

.intro_right p {
  width: 20vw;
}




/******** SØJLER ******/
#pillars {
  margin: 300px 150px 200px 150px;
}

#pillars p {
  text-align: center;
  margin-bottom: 50px;
}

#pillars h1 {
  font-size: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.columns {
  display: flex;
  flex-direction: row;
  width: calc(100vw - 300px);
  justify-content: space-between;
}

.columns h2, .columns h3 {
  text-align: left;
}

.columns div {
  background-color: #ffffff3a;
  border-radius: 5px;
  width: calc(32% - 60px);
  padding: 10px 30px;
}

.columns ul {
  padding-inline-start: 20px;
}

.columns li::marker {
  color: var(--burnt);
}



/******* POINTS *******/  
#points {
  display: flex;
  width: calc(100vw - 100px);
  margin: 200px 50px;
  padding: 25px 0;
  border-top: 1px solid;
  border-bottom: 1px solid;
  align-items: center;
}

#points div {
  flex-basis: 33.3%;
}

#points h1{
  font-size: 3rem;
}

#points h2 {
  margin-block-start: 0.63em;
  margin-block-end: 0.63em;
}

#points p {
  text-align: center;
  padding: 0 15%;
}



/******* CONTACT *******/  
.contactform {
  width: 50vw;
  margin: 50px 25vw;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.info input {
  border-radius: 5px;
  border: 1px solid var(--dark);
  background-color: var(--ecru);
  padding: 10px 20px;
  width: calc(50% - 52px);
}

.message {
  width: 100%;
}

.message textarea {
  border-radius: 5px;
  border: 1px solid var(--dark);
  background-color: var(--ecru);
  padding: 10px 20px;
  width: calc(100% - 40px);
  margin: 25px 0;
}

#form-status {
  margin-top: 25px;
}



/******* PORTFOLIO *******/  
  #portfolio {
    padding: 150px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .under_h {
    text-align: center;
  }

  #portfolio h2 {
    font-size: 2rem;
    text-align: left;
    margin-bottom: 10px;
  }

  #portfolio button {
    margin: 25px 0;
  }

  .gallery_desktop {
    width: calc(100vw - 100px);
    margin: 50px 50px;
    display: flex;
    flex-direction: row;
  }

  .gallery_desktop div {
    width: 25%;
  }

  .gallery_desktop img {
    width: 100%;
  }

  .gallery_mobile {
    display: none;
  }



/*** TABLET HORISONTAL ***/
@media only screen and (max-width: 1190px) {
  #intro h1 {
    font-size: 4rem;
  }
  #intro h2 {
    font-size: 1.6rem;
  }
  .intro_left {
    flex-basis: 50%;
  }
  .intro_right {
    flex-basis: 50%;
  }
  #pillars {
    margin: 300px 50px 200px 50px;
  }  
  .columns {
    width: calc(100vw - 100px);
  }
}


/*** TABLET VERTICAL ***/
@media only screen and (max-width: 900px) {    
  .intro_left {
    flex-basis: 60%;
  }
  .intro_right {
    flex-basis: 40%;
  }
  .intro_right img {
    width: 75%;
  }
  .intro_right p {
    width: 75%;
  }
  #pillars {
    margin: 200px 50px 200px 50px;
  }
  #pillars h1 {
    font-size: 2rem;
  }
  .columns {
    flex-direction: column;
  }
  .columns div {
    width: 50%;
    margin: 0 auto;
    margin-bottom: 30px;
  }
  .gallery_mobile {
    width: calc(100vw - 100px);
    margin: 50px 50px;
    display: flex;
    flex-direction: row;
  }
  .gallery_mobile div {
    width: 50%;
  }
  .gallery_mobile img {
    width: 100%;
  }
  .gallery_desktop {
    display: none;
  }
}


/*** MOBILE ***/
@media only screen and (max-width: 600px) {
  #intro {
    padding-top: 100px;
    flex-wrap: wrap;
    }
  #intro h1 {
    font-size: 3rem;
  }
  #intro h2 {
    font-size: 1.3rem;
    margin-bottom: 50px;
  }
  .intro_left {
    flex-basis: 90%;
    padding: 0 5%;
  }
  .intro_right {
    flex-basis: 90%;
    padding: 0 5%;
  }
  #pillars {
    margin: 200px 5% 100px 5%;
  }
  .columns {
    width: 90vw;
  }
  .columns div {
    width: calc(100% - 60px);
    margin: 0 auto;
    margin-bottom: 30px;
  }
  #points {
    width: 90vw;
    margin: 100px 5vw;
    padding: 0;
    flex-direction: column;
    align-items: center;
  }
  #points h1{
    border-top: solid 1px;
    border-bottom: solid 1px;
    padding: 25px 0;
    width: 90vw;
  }
  .contactform {
    width: 90vw;
    margin: 50px 5vw;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  #portfolio {
    padding: 100px 0;
  }
  .gallery_mobile {
    width: 90vw;
    margin: 5vw 50px;
    display: flex;
    flex-direction: row;
  }
}