

/* custom properties */

:root{
    --clr-blue: 41, 47, 80;
    --clr-blue-light: 70, 90, 155;
    --clr-orange: 255, 119, 0;
    --clr-orange-light: 255, 155, 70;
    --clr-grey: 225, 225, 225;
    --clr-grey-light: 241, 241, 241;
}
/* anek-latin-regular - latin */
/* anek-latin-300 - latin */
@font-face {
  font-family: 'Anek Latin';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/anek-latin-v4-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/anek-latin-v4-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/anek-latin-v4-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/anek-latin-v4-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/anek-latin-v4-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/anek-latin-v4-latin-300.svg#AnekLatin') format('svg'); /* Legacy iOS */
}

/* anek-latin-regular - latin */
@font-face {
  font-family: 'Anek Latin';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/anek-latin-v4-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/anek-latin-v4-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/anek-latin-v4-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/anek-latin-v4-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/anek-latin-v4-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/anek-latin-v4-latin-regular.svg#AnekLatin') format('svg'); /* Legacy iOS */
}
/* ---------------RESET---------------
https://piccalil.li/blog/a-more-modern-css-reset/ --*/
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  margin: 0;
  padding: 0;
}
html:focus-within{
  scroll-behavior: smooth;
}
/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core body defaults */
body {
  /*min-height: 100vh;*/
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

/* remove animations for people who turned them off */
@media (prefers-reduced-motion: reduce){
    *,*::before,*::after{
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* ---------------GENERIC-------------*/

html,
body{
    height: 100%;
    font-family: 'Anek Latin', sans-serif;

}
/* ----------------Utility classis----*/

.container{
    padding-inline: 2em;
    margin-inline: auto;
    max-width: 60rem;
    
}

.sr-only{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;

}

.bg-dark{ background-color: rgb(var(--clr-blue));}
.bg-white{ background-color: rgb(255,255,255);}

.text-dark{ color: rgb(var(--clr-blue));}
.text-white{ color: rgb(var(--clr-grey-light));}

.bold{font-weight: 700;}

.show-computer-flex{
  display: flex;
}
.show-phone-flex{
  display: none;
}
@media screen and (max-width: 550px) {
  .show-computer-flex{
    display: none;
  }
  .show-phone-flex{
    display: flex;
  } 
}

/* ---------------PROJECT-------------*/
body{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.subpage{
  margin-top: 80px;
}
.cta-article{
  margin-block: 0rem 3rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cta-text{
  font-size: 18px;
}
.cta-button{
  margin: 1rem;
}
.cta-button a{
  text-decoration: none;
}
.cta-button-frame{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 70px;
  background-color: rgb(var(--clr-orange));
  color: white;
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 15px;
}


@media screen and (max-width: 1300px) {
  .cta-text{
    font-size: 16px;
    text-align: center;
  }
  .cta-button-frame{
    width: 250px;
    height: 55px;
    background-color: rgb(var(--clr-orange));
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
  }
}