@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@200&family=Poppins&display=swap');

.navbar {
  background-color: #132238;            /* FREJA: baggrundsfarve paa menu-bjaelke */
  color: #ffecd8;
  height: 45px;
  display: flex;
  /* on the cross axis */
  align-items: center;
  /* Align on the main axis */
  justify-content: space-between;
  width: 100%;
  /* it fixed to the top, from pixel 0 */
  position: fixed;
  top: 0px;
  padding: 0 30px;
  /*transition: ease-in 0.5s;*/
  z-index: 11 !important;
}

.grid-text-p {
  font-family: 'Crimson Pro', serif;
  font-size: 1.1rem;            /* FREJA: tekst-stoerrelse */
  margin: 10px 0px;             /* FREJA: afsnit-afstand: det foerste tal er lodret afstand. Det andet tal er vandret afstand (det tror jeg ikke du behoever pille ved) */
}

.grid-text-p-whitebox {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;              /* FREJA: tekst-stoerrelse i hvid box (OBS! IKKE LAENGERE. SE LINJE 112 I STEDET FOR) */
}

.grid-content {
  display: grid;
  grid-template-columns: 1fr 2.1fr 1.25fr;     /* FREJA: tekst-kolonne-bredde under BACKGROUND og CONTACT */
  row-gap: 0.5rem;
  column-gap: 2rem;
}

.grid-content-wide {
  display: grid;
  grid-template-columns: 1fr 2.6fr 1.25fr;      /* FREJA: tekst-kolonne-bredde under THANKS */
  row-gap: 1rem;
  column-gap: 2rem;
}

.grid-content-wider {
  display: grid;
  grid-template-columns: 1fr 3fr 1.25fr;        /* FREJA: tekst-kolonne-bredde under SPEAKING */
  row-gap: 1rem;
  column-gap: 2rem;
}

.grid-content-synopsis {
  display: grid;
  grid-template-columns: 1fr 0.95fr 1.25fr;     /* FREJA: tekst-kolonne-bredde under SYNOPSIS */
  row-gap: 1rem;
  column-gap: 2rem;
}

.hero .content {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 240px 0px 0px 0px;           /* FREJA: hoejde paa forside-teksten. Du kan aendre det foerste tal, for at rykke teksten laengere ned eller op */
}

.hero::before {
  content: '';
  /* when you have something with position:absolute
  then the parent has to have position:relative.
  therefore .hero is position:relative

  We insert a colored overlay inside .hero
  */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* rgba -> last parameter is alpha value */
  background: rgba(0, 0, 0, 0.1);               /* FREJA: det sidste tal i parenteserne er filteret paa forside-billedet */
}

.navbar.top {
  background: rgba(0, 0, 0, 0.3);               /* FREJA: det sidste tal i parenteserne er filteret paa menu-bjaelken */
}

.text-headline {
  font-family: 'Crimson Pro', serif;
  letter-spacing: .2rem;
  font-size: 1.3rem;                            /* FREJA: tekst-stoerrelse paa overskrifter*/
  font-weight: 500;                             /* FREJA: Du kan aendre hvor bold overskrifterne skal vaere her. proev fx 500 eller 800 */
}

.text-headline-center {
  font-family: 'Crimson Pro', serif;
  letter-spacing: .2rem;
  font-size: 1.0rem;                            /* FREJA: tekst-stoerrelse paa overskrifter paa de 8 videoer */
  font-weight: 600;                             /* FREJA: Du kan aendre hvor bold de 8 video-overskrifter skal vaere her. proev fx 500 eller 800 */
  text-align: center;
}

.white-background {
  background-color: #fff;                       /* FREJA: Her kan du rette den hvide boxes farve */
  padding: 1.5rem;                              /* FREJA: Her kan du rette den hvide boxes margin */
}

.white-background > p {
  font-size: 0.8rem;                            /* FREJA: Her kan du rette den hvide boxes skrift-stoerrelse */
}

body {
  background: #dce3ce;
  color: #132238;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

ul {
  list-style: none;
}

a {
  color: #333;
  text-decoration: none;
}

h1, h2 {
  font-weight: 300;
  line-height: 1.2;
}

p {
  margin: 10px 0;
}

img {
  width: 100%;
}

.navbar a {
  font-size: .6rem;
  letter-spacing: .2rem;
  color: #ffecd8;
  padding: 10px 20px;
  margin: 0 5px;
}

.navbar a:hover {
   border-bottom: 2px solid #ffecd8;
}

.navbar ul {
  display: flex;
}

.navbar .logo a {
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.3rem;
  border-bottom: none;
}

/*  Header */
.hero {
  position: relative;
  color: #fff;
}

.hero-image {
  background: url('../img/All_of_we_frontpage_optimized_02.jpg') no-repeat center center/cover;
  height: 100vh;
}

.hero .content h1 {
  font-size: 10rem;
  letter-spacing: 1rem;
}

.hero .content p {
  font-size: 1.4rem;
  letter-spacing: .2rem;
  max-width: 600px;
  /* 20 top, 0 left right 30 bottom */
  margin: 20px 0 30px;
}

.hero * {
  /* everything inside .hero - come forward in front
  of the overlay */
  z-index: 10;
}

/* Icons */
.icons {
  padding: 30px;
}

.icons h3 {
  font-weight: bold;
  margin: 15px;
}

.icons i {
  background-color: #28a745;
  color: #fff;
  padding: 1rem;
  border-radius: 50%;
  margin-bottom: 15px;
}

/* footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 200px;
}

.footer a {
  color: #ffecd8;
}

.footer a:hover {
  color: #dce3ce;
}

.footer .social > * {
  /* inside the social div set everything to */
  margin-right: 30px;
}

#themovie {
  min-height:100vh;
}

#themoviespacer {
  height:10vh;
}

#themovieyoutubeplayer {
  width: 853px;
  height: 505px;
}

#watchthemovieheadline {
  text-align: center;
}

#themovie-synopsis-headline {
  text-align: center;
  letter-spacing: .8rem;
}




/*  MOBILE */
@media(max-width: 768px) {
  /* For anything tablet or less */

  .navbar {
    flex-direction: column;
    height: 120px;
    padding: 20px;
  }
  .navbar a {
    padding: 10px 10px;
    margin: 0 5px;
  }
  .flex-items {
    flex-direction: column;
  }
  .flex-columns .column, .flex-grid .column {
    flex: 100%;
    max-width: 100%;
  }
  .flex-grid .column img{
    height: unset;
  }

  .flex-text-headline {
    height: 100%;
    width: 100%;
    align-items: top;
    justify-content: center;
  }
}
/* Text colors */
.text-primary {
  color: #ffecd8;
}

.text-secondary {
  color: #132238;
}

.bg-green {
  background-color: #dce3ce;
}

.bg-black {
  background-color: #132238;
}

/* Buttons */
.btn {
  cursor: pointer;
  display: inline-block;
  padding: 10px 30px;
  color: #ffecd8;
  background-color: #132238;
  border:none;
  border-radius: 5px;
}

.btn:hover {
  opacity: 0.9;
}

/* btn.primary is not really necessary because
we have .btn */
.btn-primary, .bg-primary {
   background: #132238;
   color: #ffecd8;
}
.btn-secondary, .bg-secondary {
   background: #0284d0;
   color: #fff;
}
.btn-dark, .bg-dark {
   background: #132238;
   color: #ffecd8;
}
.btn-light, .bg-light {
   background: #ffecd8;
   color: #132238;
}

.btn-outline {
  background: transparent;
  border: 1px solid #ffecd8;
}

.grid-text-empty {

}
.grid-text-headline {
  font-family: 'Poppins', sans-serif;
}
.grid-text-body {

}

.grid-text-notes {
  display: grid;
  align-content: center;
  font-weight: light;
  text-align: left;
}
.grid-text-notes-alignment {
  line-height: 1.6rem;
  border-left: 1px solid black;
  padding-left: 1rem;
}

/* Flex Items */
.flex-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 100px;
}
.flex-align-center {
  width: 100%;
  max-width: 950px;
}

.flex-items {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  text-align: center;
  justify-content: center;
  align-items: flex-start;
}

.flex-text-headline {
  flex-basis: auto;
  height: 100%;
  width: 100%;
}

.flex-text-body {
 flex-grow: 1;

 font-weight: light;
 letter-spacing: .05rem;
 font-size: .8rem;
 text-align: left;
}

.flex-text-infobox {
background-color: #60615f;
}

.flex-text-notes {
  flex-grow: 1;

  font-weight: light;
  letter-spacing: .05rem;
  font-size: .8rem;
  text-align: left;

  background-color: #fff;
}

/* > the direct <div> child of .flex-items  */
.flex-items > div {
  padding: 20px;
}

/* Flex Columns */
.flex-columns.flex-reverse .row {
  flex-direction: row-reverse;
}
.flex-columns .row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.flex-columns .column {
  display: flex;
  flex-direction: column;
  /* so it will take up the entire height */
  /* flex-basis: 100%; */
  flex: 1;
}

.flex-columns .column .column-1,
.flex-columns .column .column-2 {
  height: 100%;
}

.flex-columns img {
  width: 100%;
  height: 100%;
  /* makes sure the image covers the entire space
  but is not stretched. It is cropped and scaled */
  object-fit: cover;
}

.flex-columns .column-2 {
  display: flex;
  flex-direction: column;
  /* its a column so align-items will align horizontal */
  align-items: flex-start;
  justify-content: center;
  padding: 30px;
}

.flex-columns h2 {
  font-size: 40px;
  font-weight: 100;
}

.flex-columns h4 {
  margin: 0px;
}

.flex-columns p {
  margin: 20px 0;
}

/* Section header */
.section-header {
  padding: 30px;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.section-header h2 {
  font-size: 40px;
  margin: 20px 0;
}
.secton-padding {
  padding: 20px 40px 20px;
}

.section-full-width-image {
  width: 100vw;
  height: 100vh;

  background: url('../img/St_Croix_Ed_8_UDEN_undetekster_00_12_17_04_Still095_optimized_01.jpg') no-repeat center center/cover;
}

.section-full-width-image2 {
  width: 100vw;
  height: 100vh;

  background: url('../img/St_Croix_Ed_8_UDEN_undetekster_00_46_09_14_Still049_optimized_01.jpg') no-repeat center center/cover;
}

.section-full-width-image3 {
  width: 100vw;
  height: 100vh;

  background: url('../img/Hands in ritual picture.jpg') no-repeat center center/cover;
}

/* Flex grid */
.flex-grid .row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.flex-grid .column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
  text-align: center;
}

.flex-grid .column img {
  width: 100%;
  height: 50%;
  object-fit: cover;
  /* all the images in the class .column under the parent class .flex-grid: use up maximum 50% of the height of it's parent container, right? And so CSS is forcing all images to limit their size, so they all fit the container? */
}


.font-sofiapro {
  font-family: 'Poppins', sans-serif;
}

.font-minonpro {
  font-family: 'Crimson Pro', serif;
}

