/**
Theme Name: Astra Child Theme
Author: Emoti Studio
Author URI: http://wpastra.com/about/
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child-theme
Template: astra
*/

/* Ändra bakgrundsfärg för header på startsidan */
.home .ast-primary-header-bar {
    background-color: #fdc200 
}

/* Mobil/Surfplatta */
@media (max-width: 921px) {
    .home.ast-header-break-point .ast-above-header-bar {
        background-color: #fdc200 
    }
}

@media (max-width: 544px) {
    .home.ast-header-break-point .ast-above-header-bar {
        background-color: #fdc200 
    }
}

/* Tar bort nav i poster */
nav.navigation.post-navigation {
display: none;
}

/* Animation startsida */
.slogantop, .slogan1, .slogan2, .slogan3 {
  opacity: 0;
  visibility: hidden;
}

.animate-in-view.slogantop {
  animation: fadeInSimple 1s ease forwards;
  animation-delay: 0.2s;
  animation-fill-mode: forwards;
}

.animate-in-view.slogan1,
.animate-in-view.slogan2,
.animate-in-view.slogan3 {
  animation: fadeInUpSoft 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-fill-mode: forwards;
}

.animate-in-view.slogan1 { animation-delay: 1.2s; }
.animate-in-view.slogan2 { animation-delay: 2.2s; }
.animate-in-view.slogan3 { animation-delay: 3.2s; }

/* === Keyframes === */
@keyframes fadeInSimple {
  from {
    opacity: 0;
    visibility: visible;
  }
  to {
    opacity: 1;
    visibility: visible;
  }
}

@keyframes fadeInUpSoft {
  0% {
    opacity: 0;
    transform: translateY(25px);
    visibility: visible;
  }
  60% {
    opacity: 1;
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
} /* Animation end */

/* Extern länk SVG' */
a.external::after {
  content: url("data:image/svg+xml,%3Csvg x='0px' y='0px' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23373437'%3E%3Cpath d='M10,0C9.4,0,9,0.4,9,1s0.4,1,1,1h2.6L6.3,8.3c-0.4,0.4-0.4,1,0,1.4s1,0.4,1.4,0L14,3.4V6c0,0.6,0.4,1,1,1s1-0.4,1-1V1 c0-0.6-0.4-1-1-1H10z M2.5,1C1.1,1,0,2.1,0,3.5v10C0,14.9,1.1,16,2.5,16h10c1.4,0,2.5-1.1,2.5-2.5V10c0-0.6-0.4-1-1-1s-1,0.4-1,1 v3.5c0,0.3-0.2,0.5-0.5,0.5h-10C2.2,14,2,13.8,2,13.5v-10C2,3.2,2.2,3,2.5,3H6c0.6,0,1-0.4,1-1S6.6,1,6,1H2.5z'/%3E%3C/svg%3E" );
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  vertical-align: center; 
}

