@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;500;600;800&family=VT323&display=swap');

/* HOME PAGE */
html,
body
{
  padding: 0;
  margin: 0;
  font-family: "Poppins",sans-serif;
  min-height: 100%;
  scroll-behavior: smooth;

}

main
{
  /* Main grid */
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  min-height: 100%;
}
p {
  padding: 1rem;
}
nav ul
{
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;

}
nav ul li
{
  display: inline-block;
}
nav a:hover
{

  border-bottom: 0.1875rem solid;
}

.panel
{
  /* Secondary grid */
  display: grid;
  /* 1 kolom want we alignen content verticaal */
  grid-template-columns: 1fr;
  background: #eeeee7;


}

.panel.text
{
  margin: 2rem;
  text-align: center;
}


/* Intro Panel */
.panel.intro
{
  background: #085f63;
  padding: 1.875rem 3.75rem;
  grid-template-rows: 1fr 2fr 1fr;
  padding-top: 0;
  overflow: hidden;
  

}

.panel.intro header nav
{
  position: fixed;
  background: #085f63;
  z-index: 1;
  padding: 2rem;
  box-sizing: border-box;
  width: 37.5%;
  margin-left: -3.75rem;
  border-bottom: #eeeee7 solid;
}

.panel.intro nav a
{
  color: #a8a8a8;
  text-decoration: none;
  margin-right: 1.25rem;
}
.text img {
  margin: auto;
  display: block;
}



.panel.intro p
{
  color: #a8a8a8;
  /* max-width voor p in panel te houden */
  max-width: 540px;
  line-height: 2em;
}



.panel.intro footer
{
  /* this will align the footer to the end */
  align-self: end;
  position: fixed;
  background: #085f63;
  width: 37.5%;
  box-sizing: border-box;
  bottom: 0;
  z-index: 1000;
  padding-left: 2rem;
  margin-left: -3.75rem;
  border-top: #eeeee7 solid;
  text-align: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
footer a
{
  transition: border-bottom 0.1s ease-in-out;
  color: #a8a8a8;
  text-decoration: none;

}




/* About Panel */
.panel.about
{
  /* upper row is 3xlower row */
  grid-template-rows: 2fr 1fr;
  overflow: hidden;

}

.panel.about img
{
  /*Min zorgt ervoor dat jou image nooit buiten jouw container gaat & nooit kleiner is dan je container*/
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 60%;

}

.panel.picture
{
  grid-template-rows: 1fr 2fr;
  overflow: hidden;
}

.panel.picture img
{
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 1440px)
{
  main
  {
    grid-template-columns: 1fr 1fr;
    min-height: 100%;
  }

  .panel.intro header nav
  {
    position: fixed;
    background: #03292b;
    z-index: 1;
    padding: 2rem;
    box-sizing: border-box;
    margin-left: -3.75rem;
    width: 100%;


  }

  .panel.intro footer
  {
    /* this will align the footer to the end */
    align-self: end;
    position: fixed;
    background: #03292b;
    padding: 1rem 2rem 0 2rem;
    box-sizing: border-box;
    bottom: 0;
    z-index: 1000;
    width: 100%;
    margin-left: -3.75rem;
    border-top: #eeeee7 solid;
  }

  .panel.picture img
  {
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


  .panel.about img
  {
    /*Min zorgt ervoor dat jou image nooit buiten jou container gaat & nooit kleiner is dan je container*/
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;

  }

  .panel.picture
  {
    grid-column: span 2;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }

  .panel.text
  {
    margin: 0%;
  }
  
}
@media screen and (max-width: 960px)
{
  main
  {
    grid-template-columns: 100%;
    grid-template-rows: auto;
    min-height: 100%;

  }

  .panel.about 
  {
    grid-row: 2;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }
  .panel.text 
  {
    align-self: start;
  }
  .panel img 
  {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .text img {
    width: auto;
    height: auto;
  }
  .panel.intro p{
    margin: auto;
  }

  
}
@media screen and (max-width: 680px) 
{
  main 
  {
    grid-template-rows: auto
  }

  .panel.about,.panel.picture 
  {
    grid-template-columns: 1fr;
    grid-column: span 1;
    grid-template-rows: 1fr 1fr;
    border-bottom: 1px solid #42423f;
  }
}




