/*
Theme Name:   LEA forsikring
Theme URI:    http://supertusch.dk/theme/lea/
Description:  Basically Bootstrap 5 Child Theme created for LEA forsikring
Author:       Supertusch
Author URI:   http://supertusch.dk
Template:     basically-bootstrap-5
Version:      1.0.0
Domain Path: /languages/
Text Domain:  lea
*/

/* Intermediate removal */
/* .below-hero, .team, footer{
  display: none !important;
} */


/* Regular */
@font-face {
  font-family: 'Rebond';
  src: url('assets/font/ESRebondGrotesque-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

/* Italic */
@font-face {
  font-family: 'Rebond';
  src: url('assets/font/ESRebondGrotesque-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
}

/* Bold */
@font-face {
  font-family: 'ES Rebond Grotesque';
  src: url('assets/font/ESRebondGrotesque-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

/* Bold Italic */
@font-face {
  font-family: 'Rebond';
  src: url('assets/font/ESRebondGrotesque-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
}

/* Light */
@font-face {
  font-family: 'Rebond';
  src: url('assets/font/ESRebondGrotesque-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

/* Light Italic */
@font-face {
  font-family: 'Rebond';
  src: url('assets/font/ESRebondGrotesque-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
}

/* Medium */
@font-face {
  font-family: 'Rebond';
  src: url('assets/font/ESRebondGrotesque-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

/* Medium Italic */
@font-face {
  font-family: 'Rebond';
  src: url('assets/font/ESRebondGrotesque-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
}



/* === COLORS === */

:root {
    --color-primary: #321134;
    --color-primary-light: #893D8E;      /* Lighter variation of brand purple - used for hovers */

    --color-bg: #FEF7FE;
    --color-bg-secondary-default: #F5F3F0;
    --color-text-gray: #534D56;
    --color-base-foreground-primary-light: #F4B0F9;
    --color-base-foreground-primary-dark: #321134;



    --border-radius: 24px;
    --border-radius-round: 999px;
}

/* === TYPOGRAPHY === */
:root {
  --font-h1: clamp(1.8rem, 3vw + 1rem, 2.5rem);                  /* 40px max */

  --font-body: clamp(1rem, 1.5vw + 0.25rem, 1rem);             /* 16px fixed */
}


/**** FONT ***/

body {
  font-family: 'Rebond', sans-serif;
  font-weight: 400;
  font-style: normal;
}

strong {
  font-weight: 700;
  font-style: normal;
}

h1 {
  font-size: var(--font-h1);
  font-weight: 500;
}


.hero-content p:last-of-type {
  margin-bottom: 0px;
}



/**** HEADER ***/

header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 140px;
}

header video, header img {
  max-width: 95px;
  height: auto;
}



/**** GENERAL ***/

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

.btn {
  background-color: var(--color-primary);
  color: var(--color-bg);
  padding: 16px 32px;
  border-radius: var(--border-radius-round);
  transition: .4s ease;
}

.btn:hover {
  color: white;
  background-color: var(--color-primary-light);
}



/**** HERO ***/


.hero-banner {
  background-color: var(--color-bg);
  border-radius: var(--border-radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-banner h1 {
  margin-bottom: 24px;
}

.hero-banner .btn {
  margin-top: 48px;
}

.hero-content {
  padding: 100px 80px;
  padding-right: 20px;
}

.hero-content p {
  font-size: 24px;
  color: var(--color-text-gray);
  line-height: 32px;
}

.hero-content p strong {
  color: var(--color-primary);
}

.hero-image {
  position: relative;
}

.hero-image img {
  /* transform: rotate(-26deg); */
  position: absolute;
  height: 110%;
  width: auto;
  right: -30px;
  top: -24px;
}

.hero-text {
  margin-top: 40px;
  margin-bottom: 100px;
  text-align: center;
}

.hero-text p, .hero-text a {
  color: var(--color-primary);
  font-size: 24px;
}

@media screen and (min-width: 992px) {

  .mobile-only {
    display: none;
  }

}


@media screen and (max-width: 992px) {
  .hero-banner {
    grid-template-columns: 1fr;
  }
  .hero-image img {
    display: none;
  }

  .hero-content {
    padding: 60px 40px;
    text-align: center;
  }
  .hero-text {
    max-width: 280px;
    margin-inline: auto;
    margin-bottom: 40px;
  }
  .hero-text p, .hero-text a {
    font-size: 14px;
  }
}


.mobile-only img {
  margin: 40px 0px;
}

.hero-image img {
  max-width: none;
}


.hero-text span {
  position: relative;
}

.hero-text span img {
  position: absolute;
  bottom: 40px;
  left: -300px;
  width: 400px;
  max-width: none;
}
/* Placeholder - Sorry girls :* */
/* Below Hero*/

.below-hero {
  background-color: var(--color-bg-secondary-default);
  padding-block: 11rem;
}
.below-hero .container {
  max-width: 1155px;
}
.below-hero .row {
  margin-bottom: 104px;
}
.below-hero h3 {
  font-size: 56px;
  font-style: normal;
  font-weight: 500;
  line-height: 64px;
  color: var(--color-base-foreground-primary-dark);
}
.below-hero h4 {
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: 64px;
  color: var(--color-base-foreground-primary-dark);
}

.below-hero p {
  font-size: 24px;
}
.fact-box-wrapper {
  display: flex;
  align-items: flex-end;
}
.fact-box {
  background-color: #fff;
  display: flex;
  width: 452px;
  padding: 48px;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 24px;
  gap: 40px;
  margin-left: auto;
}
.fact-box p {
  font-weight: 500;
  font-size: 24px;
}
.fact-box ul {
  margin-left: 0;
  padding-left: 0;
  display: flex;
  gap: 40px;
  flex-direction: column;
}
.fact-box ul li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
}
.fact-box ul li:before{
  content: url("assets/img/downarrow-right.svg");
  position: relative;
  top: 3px;
}
.quote {
  text-align: center;
}
p.quote-text {
  font-size: 56px;
  font-style: normal;
  font-weight: 500;
  line-height: 64px;
}
.quote:before {
  content: url("assets/img/quote-icon.svg");
  width: 62px;
  height: 48.279px;
  position: relative;
  margin-bottom: 15px;
}

@media (max-width: 992px) {
  .below-hero {
    padding-block: 3rem;
  }
  .below-hero .row {
    margin-bottom: 48px;
    padding-inline: 0.8em;
  }
  .below-hero h3 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 1em;
  }
  .below-hero h4 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 1em;
  }
  .below-hero p {
    font-size: 16px;
  }
  .tung {
    order: 1;
  }
  .fact-box-wrapper {
    order: 0;
  }
  .fact-box {
    padding: 28px;
    margin-inline: auto;
    margin-bottom: 2em;
  }
  .fact-box p {
    font-size: 16px;
  }
  .fact-box ul li {
    font-size: 14px;
  }
  .fact-box ul {
    gap: 24px;
  }
  .fact-box {
    gap: 24px;
  }
  p.quote-text {
    font-size: 24px;
    font-style: medium;
    font-weight: 500;
    line-height: 32px;
  }
  .quote:before {
    content: url("assets/img/quote-icon-mobile.svg");
    width: 35px;
    height: 27px;
  }
}

/* Team */
.team {
  padding-block: 172px;
}
.team .col-xl-6, .team .col-md-12 {
  display: grid;
  place-items: end;
}
.team h3 {
  font-size: 64px;
  line-height: 72px;
  max-width: 410px;
  margin-bottom: 172px;
  position: relative;
}
.team h3:after {
  content: url("assets/img/curly-arrow-big.svg");
  position: absolute;
  left: 450px;
  top: 0;
}
.image-box-wrapper {
  margin-inline: auto;
  position: relative;
}
.image-box {
  display: grid;
  place-items: center;
}
.image-box img {
  grid-row: 1;
  grid-column: 1;
  z-index: 1;
}
.image-background {
  background-color: var(--color-bg-secondary-default);
  height: 344px;
  border-radius: 16px;
  width: 600px;
  grid-row: 1;
  grid-column: 1;
  margin-inline: auto;
  place-self: end;
}
.text-box {
  margin-left: 20px;
  margin-top: 24px;
}
.text-box .team-name {
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}
.text-box .team-title {
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
}

@media (max-width: 992px){
  .team {
    padding-block: 72px;
  }
  .team h3 {
    font-size: 28px;
    text-align: center;
  }
  .team h3::after {
    display: none;
  }
  .image-background {
    width: 100%;
    height: 275px;
  }
  .text-box .team-name {
    font-size: 16px;
    font-style: medium;
    margin-bottom: 0;
  }
  .text-box .team-title {
    font-size: 14px;
    font-style: regular;
  }
}
/*Image background edge Case*/
@media (min-width: 1200px) and (max-width: 1400px){
    .image-background {
      width: 500px;
    }
}
/* Footer */
footer {
  display: flex;
  height: 612px;
  padding: 80px 171px 40px 171px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
  background: var(--color-base-foreground-primary-dark, #321134);
}
.footer-textbox {
  color: white;
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: relative;
}
.footer-textbox:before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: white;
  display: block;
  position: absolute;
  top: -24px;
}
.footer-textbox-left {
  display: flex;
  gap: 24px;
}
@media (max-width: 992px){
  footer {
    padding: 2em;
    align-items: center;
  }
  footer img{
    margin-top: 150px;
  }
  .footer-textbox, .footer-textbox-left {
    flex-direction: column;
    align-items: center;
  }
  .footer-textbox-left {
    gap: 0px;
  }
  .footer-textbox-left p {

  }
}
