/* Colours */
:root {
  --lightgreen: #C9DABF;
  --green: #78866b;
  --darkgreen: #4d5d53;
  --textcolor: #333;
}

/* Fonts */
@font-face {
  font-family: "bodyfont";
  src: url("/assets/fonts/RadioCanadaBig-VariableFont_wght.ttf") format("truetype");
}

/* Master text styling */
h1, h2, h3, p, li {
  font-family: "bodyfont";
  padding-bottom: .5rem;
}

p {
  padding-bottom:1rem;
}

p, li {
  font-size:18px;
}

h1 {
  font-size:3rem;
}

.oneline {
  text-wrap: nowrap;
  white-space: nowrap;
}

::-webkit-scrollbar {
  width: 15px;
}
::-webkit-scrollbar-track {
  background-color: transparent;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(120,134,107,1) 0%, rgba(77,93,83,1) 42%, rgba(51,51,51,1) 100%);;
  border-radius: 20px;
  border: 3px solid transparent;
  background-clip: content-box;
  cursor:pointer;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(120,134,107,1) 0%, rgba(77,93,83,1) 42%, rgba(51,51,51,1) 100%);;
  border-radius: 20px;
  border: 4px solid transparent;
  background-clip: content-box;
  }

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

* {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: underline;
  color:#4d5d53;
  font-weight: bold;
}

.buttonlink {
  text-decoration:none !important;
}

.button {
  max-width:160px;
  text-align: center;
  border-radius: 50px;
  padding: 20px 20px;
  font-weight: bold;
  background: #78866b;
  color: white;
  border: 3px solid #78866b;
  transition: 0.5s;
  cursor: pointer;
}

.button:hover {
  background: white;
  color: #78866b;
}

body {
  color:#333;
  margin:0px;
}

#navcontainer {
  text-align: right;
}

#logo {
  max-width:200px;
  margin-bottom:-10px;
  padding-left:5%;
}

.navitems {
  padding-right:5%;
}

.navitems li {
  display:inline;
  padding-left:20px;
}

.navitems li a {
  color:#333;
  position: relative;
  font-weight:bold;
  /*font-size:120%;*/
  font-size:19.2px;
  text-decoration: none;
}
.navitems li a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  bottom: -1px;
  left: 0;
  background-color: #333;
  transform-origin: top left;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navitems li a:hover::before {
  transform: scaleX(1);
}

.activelink {
  color:#4d5d53 !important;
}

.activelink::before {
  transform: scaleX(1) !important;
  background-color: #4d5d53 !important;
}

#header {
  z-index: 99999;
  padding-top:20px;
  padding-bottom:20px;
  display: flex;
  background-color: #78866b;
  align-items: center;
  width:100%;
  position: sticky;
  top: 0px;
}

#header div:nth-child(1) {
width:30%;
}

#header div:nth-child(2) {
  width:70%;
}

ul {
  padding-left:20px;
}

section {
  padding:10%;
}

.twocolumn {
  display:flex;
  gap:5%;
}

.twocolumn div {
  width:50%;
}

.imgdropshadow {
  filter: drop-shadow(-10px 10px 0px #4d5d53);
}

/* Memories styles */
#memoriesstory img {
  width:100%;
  max-width:800px;
}

/* Mobile menu styles */
@media only screen and (max-width: 600px) {

  h1 {
    font-size:1.7rem;
  }

  h2 {
    font-size:1.4rem;
  }

  .navitems li {
    display:inline;
    padding-left:10px;
  }

  .columnsonmob {
    flex-direction:column;
  }

  .fullwidthonmob {
    max-width:100% !important;
    width:100% !important;
    margin-left:0px !important;
  }

  #logocontainer {
    display: flex;
    justify-content: center;
  }

  #logo {
    padding-left:0px;
    margin: auto;
    margin-bottom:5px;
  }

  #firstnavitem {
    padding-left:0px;
  }

  .navitems li a {
    /*font-size:100%;*/
    font-size:16px;
  }

  #header {
      flex-direction: column;
      padding-top:10px;
      padding-bottom: 10px;;
  }

  #navcontainer {
    padding-right:0px;
  }

  .navitems {
    text-align: center;
    padding-right:0px;
  }

  #header div:nth-child(1) {
    width:100%;
    }
    
  #header div:nth-child(2) {
    width:100%;
  }

  .twocolumn {
    flex-direction:column;
  }

  .twocolumn div {
    width:100%;
  }

  .flexfliponmob div:first-child {
    order:2;
    margin-top:20px;
  }

  .noflip div:first-child {
    margin-bottom:20px;
  }

  #footer h1 {
    font-size:1.5rem;
  }
  
}

/* Tablet menu styles */
@media only screen and (max-width: 1000px) {
  h1 {
    font-size: 2rem;
  }
}