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

.full-height-grow {
  display: flex;
  flex-direction: column;
}

.container-home {
  min-height: 100vh;
  max-width: 1200px;
}

.container {
  min-height: 100vh;
  max-width: 80vw;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.home-container {
  background-image: url(./img/lawyer.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.presentation-container {
  background-color: #a1745f;
  margin: 0 auto;
}

.color-white {
  color: white !important;
}

.resume {
  margin: 15vh 0 15vh 5vw;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 50vw;
  
  
}

.img-mobile {
  display: none;
}

.title,
.title-pres {
  font-family: "Josefin Sans", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 5.5vw;
  line-height: 5.5vw;
  color: #833318;
  -webkit-text-stroke: 0.45px;
  margin-bottom: 5vh;
}

.subtitle-contact {
  text-align: center;
  font-size: 3.5vw !important;
}

.title-contact {
  color: black;
  text-align: center;
  margin-top: 5vh;
}

.title-pres {
  text-align: center;
  margin-top: 5vh;
}

.subtitle,
.subtitle-2,
.subtitle-contact {
  font-family: Josefin Sans;
  font-style: normal;
  font-weight: 300;
  font-size: 4vw;
  line-height: 130%;
  margin-bottom: 5vh;
  -webkit-text-stroke: 0.45px;

  color: #a1745f;
}

.subtitle-2 {
  font-size: 3vw;
}

.competence-text {
  color: white;
  font-size: 1.5vw;
  margin-top: 5vh;
}

.card {
  height: 60%;
  width: auto;
  margin: auto 0 auto 2.5vw;
  background-color: rgba(131, 51, 24, 0.25);
  padding: 5%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

p {
  font-family: Josefin Sans;
  font-style: normal;
  font-weight: 300;
  font-size: 2.5vw;
  line-height: 130%;
  /* or 47px */

  color: #000000;
}

.competence {
  flex: 7;
}

.lawyer-card {
  flex: 5;
  display: flex;
  flex-direction: column;
}

.card-text {
  font-family: Josefin Sans;
  font-style: normal;
  font-weight: 300;
  font-size: 1.5vw;
  line-height: 100%;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.contact-container {
  position: relative;
  min-height: 100vh;
}

.img-pen {
  width: 50vw;
  position: absolute;
  bottom: 0;
  right: 0;
}

.info {
  margin-top: 5vh;
  margin-left: 10vw;
  max-width: 65vw;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 10;
}

.info h4,
.info-transport h4 {
  font-family: "Josefin Sans", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 2.5vw;
  line-height: 2.5vw;

  color: #7b7a75;
}

.resp-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  max-width: 700px;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.resp-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.transport-title {
  margin: 30px 0 60px 0;
}

.info-transport {
  margin-top: 5vh;
  margin-left: 10vw;
}

.info-transport h4{
  margin: 40px 0;
}

.mb-4 {
  margin-bottom: 40px;
}

.footer {
  background-color: #000000;
  min-height: 15vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-footer {
  color: white;
  font-family: "Josefin Sans", sans-serif;
  font-size: 3.5vh;
  font-weight: 300;
}

@media screen and (max-width: 600px) {
  .resume {
    max-width: none !important;
    margin: 40px 0;
  }

  .info h4 {
    font-size: 14px;
    line-height: 14px;
  }

  .info {
    min-height: 15vh;
  }

  .resume p {
    font-size: 4vw;
  }

  .title {
    font-size: 8vw;
  }

  .subtitle {
    font-size: 5.5vw;
  }

  .title-pres {
    font-size: 9.5vw;
  }

  .subtitle-2 {
    font-size: 6.5vw;
  }

  .competence {
    min-height: none;
  }

  .card-text {
    font-size: 8vw;
  }

  .home-container {
    background-image: none;
    background-color: white;
  }

  .img-mobile {
    display: flex;
  }

  .img-responsive {
    width: 100%;
    height: auto;
  }

  .container {
    display: flex;
    flex-direction: column;
  }

  .lawyer-card {
    flex: 1;
  }

  .card {
    flex: 1;
    padding: 5%;
    margin: 0 0 5vh 0;
    justify-content: space-between;
  }

  .no-margin-bot {
    margin-bottom: 0 !important;
  }

  .card-text {
    font-size: 4vw;
    margin-bottom: 5vh;
  }

  .competence-text {
    font-size: 4vw;
  }

  .competence {
    flex: 0;
    margin-bottom: 5vh;
  }

  .img-pen {
    width: 100vw;
    position: relative;
  }

  .contact-container {
    min-height: 35vh;
    margin-bottom: 5vh;
  }

  .text-footer {
    color: white;
    font-family: "Josefin Sans", sans-serif;
    font-size: 2vh;
    font-weight: 300;
  }
}
