/* ============= PILLARS BEGIN ============= */

@media screen and (min-width: 768px) {
    #basics .card:first-child {
      display: none;
    }  

    #basics .card {
        width: 33%;
    }

    #basics .flex-container .card {
        min-width: unset;
    }

    #basics .card .intro-icon {
        display: block;
        text-align: center;
    }

    #basics .card h3 {
        text-align: center;
    }

    #basics .card h2 ~ p {
        text-align: justify;
    }

    #basics .flex-container {
        justify-content: space-evenly;
        row-gap: 0.5em;
    }

    #basics .card {
        width: 27%;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.1), transparent 50%, rgba(0, 0, 0, 0.1));
        background-color: #ff841a;
        padding-top: 3em;
        padding-bottom: 2em;
        padding-left: 1.5em;
        padding-right: 1.5em;
        margin: 0;
        box-shadow: 20px 0px 30px rgba(0, 0, 0, 0.4);
        border-radius: 0;
    }

    #basics .card .carrier {
        position: absolute;
        height: 25px;
        width: 110%;
        left: -5%;
        background-color: #444;
    }

    #basics .card .carrier:first-child {
        top: 0;
    }

    #basics .card .carrier:nth-child(2) {
        bottom: 0;
    }

    #basics .card .intro-icon {
        color: #444;
        margin-bottom: 0;
    }

    #basics a {
        color: #444;
    }

}

@media screen and (max-width: 767px) {

    #basics .card:first-child {
        text-align: center;
    }

    #basics .flex-container .card img {
        max-width: 497px;
    }

    #basics .card:first-child img {
        width: 100%;
        filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.4));
    }

    #basics .carrier {
        display: none;
    }

    #basics .card {
        width: 100%;
        text-align: left;
        vertical-align: middle;
    }

    #basics .card h2 {
        margin-top: 0;
    }
}
/* ============= PILLARS END =============== */


/* ============= HEADLINE BEGIN ============== */
.headline {
    color: #444;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    column-gap: 1em;
    width: 100%;
    margin-bottom: 3em;
    border-radius: 5px;
    box-shadow: 7px 14px 42px 3px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    background: radial-gradient(white, #eee);
    background-size: contain;
    background-repeat: no-repeat;
    padding-top: 0.75em;
    padding-bottom: 0.75em;
    padding-left: 1em;
    padding-right: 1em;
}

.headline h1 {
    text-transform: uppercase;
    font-size: 2em;
}

.headline h2:after {
    background: none;
}

.headline h3:after {
    border-bottom: none;
}

.headline > * {
  z-index: 1;
}

.headline .left {
  position: absolute;
  left: 0;
  top: 0;
  width: 20%;
  height: 100%;
  background: url('flag.png');
  background-size: cover;
  background-position-x: right;
}

.headline .middle {
  align-self: center;
  text-align: center;
  width: 600px;
}

.headline .middle h3 {
  text-align: center;
}

.headline .right {
  width: 250px;
  height: 250px;
  flex-shrink: 0;
  background: url('hero.png');
  background-size: contain;
  background-position-y: center; 
  background-repeat: no-repeat;
}

@media screen and (max-width: 1000px) {
  .headline h1 {
    font-size: 2em;
  }

  .headline .left {
    opacity: 0.5;
  }

}

@media screen and (max-width: 750px) {
  .headline {
    flex-wrap: wrap;
    justify-content: center;
  }

  .headline .left {
    width: 40%;
  }

}
/* ============= HEADLINE END ============== */

/* ============= STEPS BEGIN =============== */
.steps .button {
    border: 2px solid white;
    color: white;
}

.steps .button:hover {
    border: solid #ff841a 2px;
    background-color: #ff841a;
    color: #393e46;
}

.steps .button:hover .fas {
    border-right: solid #393e46 2px;
    color: #393e46;
}

.steps .button .fas {
    border-right: solid white 2px;
    transition: 0.3s;
}


.steps {
  display: grid;
  grid-template-columns: 100px auto;
}

.steps > .content {
  padding: 1em;
  padding-left: 2em;
  margin-bottom: 29px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.steps > .timeline {
  z-index: 99;
}

.steps > div {
  box-shadow: 7px 7px 20px rgba(0,0,0, 0.7);
  background: linear-gradient(rgba(255,255,255,0.1), rgba(0,0,0,0) 90%);
}

.steps > div:last-child {
  margin-bottom: 0;
}

.steps > div:first-child {
  border-top-left-radius: 5px;
}

.steps > div:nth-last-child(2) {
  border-bottom-left-radius: 5px;
}

.steps i {
  font-size: 2em;
}

.steps .bright {
  background-color: #ff841a;
  color: #444;
}

.details .text {
  display: none;
}

.steps .dark {
  background-color: #444;
  color: white;
}

.steps .dark h2 {
  color: #ff841a;
}

.steps .dark a:not(.button) {
  color: white;
  text-decoration: underline;
}

.steps .bright a:not(.button) {
  color: #444;
  text-decoration: underline;
}

.steps .dark i {
  color: #ff841a;
}

.steps .delimiter {
  position: absolute;
  user-select: none;
  width: 100px;
  height: 90px;
  top: -40px;
}

.steps .timeline:first-child .delimiter {
  display: none;
}

.content.bright + .timeline .delimiter {
  background: url('del-bright.png');
}

.content.dark + .timeline .delimiter {
  background: url('del-dark.png');
}

.steps > .timeline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps h3 {
  color: white;
  font-size: 1.5em;
}

.steps p {
  margin-bottom: 0.5em;
}

.steps .bright a {
  color: white;
}

.steps {
  counter-reset: step;  
}

.steps h3::before {
  counter-increment: step;
  content: counter(step) ". ";
}
/* ============= STEPS END =============== */

