/*
Theme Name: NassLabs Theme
Theme URI: https://nasslabs.be
Author: Brandon Nass
Author URI: https://nasslabs.nl
Description: Een snel, SEO-geoptimaliseerd en performant WordPress-thema.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nasslabs
*/

body {
    background-color: var(--white);
}

main {
    margin: 0, 2.5rem !important;
}

/* ====================================================
   heading
==================================================== */

#heading {
    display: grid;
    grid-template-columns: 30% 40% 30%;
    align-items: center;
    justify-items: center;
    margin-top: 100px;
}

.heading-titel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    gap: 2rem;
}

#heading img:nth-of-type(1) {
    height: 70%;
}

#heading img:nth-of-type(2) {
    height: 45%;
    transform: rotate(190deg);
}

/* ====================================================
   button
==================================================== */

.btn-outline{
  position:relative;
  display:inline-block;
  padding:.5rem 2rem;
  color:var(--brown);
  text-decoration:none;
  margin-top: 2rem;
}


.btn-outline::before,
.btn-outline::after{
  content:"";
  position:absolute;
  left:-16px;
  right: -16px;
  height:1px;
  background:var(--brown);
}
.btn-outline::before{ top:0; }
.btn-outline::after{ bottom:0; }


.btn-outline > span{
  position:relative;
  display:inline-block;
  padding:.25rem 0;  
}


.btn-outline > span::before,
.btn-outline > span::after{
  content:"";
  position:absolute;
  top: -16px;        
  bottom:-16px;
  right: 200px;
  left: -80px;
  width: 1px;
  height: 60px;
  margin: 0 3rem;
  background: var(--brown);
}
.btn-outline > span::before{ left:0; }
.btn-outline > span::after{ right:0; }



.project {
    margin-top: 11rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.card {
  width: 80vw;
  height: 75vh;
  perspective: 1000px;
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.999s;
}

.card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.card-front {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  border-radius: 10px;
  justify-content: center;
  transform: rotateY(0deg);
}

.card-back {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  background-color: var(--white);
  color: var(--brown);
  display: flex;
  align-items: center;
  border-radius: 10px;
  justify-content: center;
  transform: rotateY(180deg);
}

.card-back h6 {
    font-size: 2rem;
    font-weight: 600;
}

.card-back a, .cardback p {
    font-size: 1.2rem;
}

.card-back a {
    text-decoration: underline;
}

.card-back a:hover {
    color: var(--gold);
}
