/*
 * Typo
 */
p {
	margin: 0 !important;
	padding: 0 !important;
}
p + p {
	margin-top: 1em !important;
}

.handwriting {
	font-family: 'Patrick Hand';
	font-weight: 800;
	line-height: 1.4em;
}

h2.footer-title {
	font-family: 'sailorsregular' !important;
	font-size: 26px;
	text-transform: none;
	padding-bottom: 16px;
	margin-bottom: 12px !important;
}

h2.cta-titles {
	font-size: 60px !important;
}

@media(max-width: 1024px){
	h2.cta-titles {
		font-size: 50px !important;
	}
}
@media(max-width: 768px){
	h2.cta-titles {
		font-size: 40px !important;
	}
}

.underlined-title {
	position: relative;
	width: fit-content;
	z-index:10;
}
.underlined-title:after {
    content: "";
    position: absolute;
    height: 0.4em;
	display: block;
    background: var(--primary);
    z-index: -1;
    opacity: .8;
    right: 0;
    transform-origin: 0 0;
    transform: scaleX(.25);
    transition: transform .3s;
    bottom: 14px;
    left: -3px;
}

.line-height-md {
	line-height: 1.3em;
}
line-height-sm {
	line-height: 1.2em;
}


/*
 * Fonts
 */

@font-face {
  font-family: 'Lexend';
  src: url('../../fonts/Lexend-Regular.woff2') format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: 'Lexend';
  src: url('../../fonts/Lexend-Medium.woff2') format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}
@font-face {
  font-family: 'Lexend';
  src: url('../../fonts/Lexend-SemiBold.woff2') format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}
@font-face {
  font-family: 'Lexend';
  src: url('../../fonts/Lexend-Bold.woff2') format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: 'Patrick Hand';
  src: url('../../fonts/PatrickHand-Regular.woff2') format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}


@font-face {
    font-family: 'sailorsregular';
    src: url('../../fonts/sailors-webfont.eot?#iefix') format('embedded-opentype'),
         url('../../fonts/sailors-webfont.woff2') format('woff2'),
         url('../../fonts/sailors-webfont.woff') format('woff'),
         url('../../fonts/sailors-webfont.ttf') format('truetype'),
         url('../../fonts/sailors-webfont.svg#sailorsregular') format('svg');
    font-weight: normal;
    font-style: normal;

}