/**
Theme Name: Astra Child Theme
Theme URI: https://wpastra.com/
Author: Cathrine Kjeldahl Jensen
Author URI: https://portfolie.kjeldahldesign.com/
Description: This Astra child theme is based upon the original astra mothertheme in WordPress. the astra child theme is lightning-fast and highly customizable. 
Template: astra
Version: 7.9.9.99
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra


*/


/* Importér LEMONMILK fonte */
@font-face {
    font-family: 'LEMONMILK';
    src: url('fonts/LEMONMILK-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LEMONMILK';
    src: url('fonts/LEMONMILK-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'LEMONMILK';
    src: url('fonts/LEMONMILK-Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'LEMONMILK';
    src: url('fonts/LEMONMILK-BoldItalic.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
}

/* Importér Montserrat variable font */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900; /* understøtter alle vægte */
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
}


h1 {
    font-family: 'LEMONMILK', sans-serif;
   	font-weight: bold;
  	color: #311F10!important;
}

body, p, span, a, li, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
  	color: #311F10 !important;
}

.elementor-button-text {
  color: #F1BFCB !important;
}


/* Fælles farver for alle knapper (Astra + Elementor) */
button, 
input[type="submit"], 
input[type="button"], 
.ast-button, 
a.ast-button, 
.elementor-button,
.elementor-button-link,
.wp-block-button__link {
    background-color: #311F10 !important; /* tvinger knapbaggrund */
    color: #F1BFCB !important; /* tvinger tekstfarve */
 	font-family: 'Montserrat'!important, sans-serif;
}

/* Hover-effekt */
button:hover, 
input[type="submit"]:hover, 
input[type="button"]:hover, 
.ast-button:hover, 
a.ast-button:hover,
.elementor-button:hover,
.elementor-button-link:hover,
.wp-block-button__link:hover {
    background-color: #745D4E !important; /* tvinger hover baggrund */
    color: #F1BFCB !important; /* tvinger hover tekstfarve */
}





.flip-boxes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2%;
  margin: 50px auto;
}

.flip-box {
  width: 35%;           /* 2 bokse per linje */
  aspect-ratio: 2 / 1;  /* aflange: 2 gange bredere end høj */
  perspective: 1000px;
  cursor: pointer;
  margin-bottom: 2%;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 10px;
  box-sizing: border-box;
}

.flip-front {
  background-color: #311F10;
  color: #F1BFCB;
}

.flip-back {
  background-color: #F1BFCB;
  transform: rotateY(180deg);
  border: 3px solid #311F10;
  border-radius: 10px;
  color: #311F10;
}

/* Responsive breakpoints */
@media (max-width: 992px) {
  .flip-box {
    width: 100%;      /* 1 per linje på tablet/mindre skærme */
    aspect-ratio: 2 / 1;
  }
}

@media (max-width: 600px) {
  .flip-box {
    width: 100%;      /* 1 per linje på mobil */
    aspect-ratio: 2 / 1;
  }
}

/* hover effekter på forsiden */
.wp-image-449 {
  display: block;
  transition: transform 0.3s ease;
}

.wp-image-449:hover {
  transform: scale(1.1);
}

.wp-image-127,  /* Contact */
.wp-image-128,  /* Projects */
.wp-image-126 { /* About  */
  display: inline-block;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.wp-image-127:hover,
.wp-image-128:hover,
.wp-image-126:hover {
  transform: scale(1.1) !important; 
}

/* footer */
.site-footer  {
  color: #F1BFCB; 
}

.site-footer {
  background-color:  #F1BFCB !important;
}
