:root {
  --corava-orange: #f1511b;
  --corava-grey: #7b7e87;
  --corava-ext-link: #4b4d57;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #7b7e87; /* default supported fallback style */
  color: var(--corava-grey); /* will not be used by any browser that doesn't support it (like < IE 11, and will default to the previous fallback */
  font-family: 'Open Sans', sans-serif;
}

p {
  padding-top: 15px;
  padding-bottom: 15px;
}

h1 {
  padding-top: 15px;
  color: #f1511b; /* default supported fallback style */
  color: var(--corava-orange); /* will not be used by any browser that doesn't support it (like < IE 11, and will default to the previous fallback */
  font-family: 'Nunito', sans-serif;
}

h1 sup {
  color: #f1511b; /* default supported fallback style */
  color: var(--corava-orange); /* will not be used by any browser that doesn't support it (like < IE 11, and will default to the previous fallback */
}

h2 {
  color: #f1511b; /* default supported fallback style */
  color: var(--corava-orange); /* will not be used by any browser that doesn't support it (like < IE 11, and will default to the previous fallback */
  font-family: 'Nunito', sans-serif;
}

h3 {
  color: #f1511b; /* default supported fallback style */
  color: var(--corava-orange); /* will not be used by any browser that doesn't support it (like < IE 11, and will default to the previous fallback */
  font-family: 'Nunito', sans-serif;
}

body {
  color: #7b7e87; /* default supported fallback style */
  color: var(--corava-grey); /* will not be used by any browser that doesn't support it (like < IE 11, and will default to the previous fallback */
  display: flex;
  flex-direction: column;
  font-family: 'Open Sans', sans-serif;
}

body main {
  margin-bottom: 40px;
}

figure {
  margin-bottom: 20px;
  display: block;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: white;
  color: white;
  text-align: center;
}

coa-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  display: table;
  height: 64px;
  padding: 10px;
  z-index: 1;
  background-color: white;
}

header .logo {
  width: 150px;
  padding-top: 5px;
  padding-left: 10px;
  padding-bottom: 5px;
  cursor: pointer;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

hr { 
  color: #f1511b; /* default supported fallback style */
  color: var(--corava-orange); /* will not be used by any browser that doesn't support it (like < IE 11, and will default to the previous fallback */
  width: 100%; 
}

.sidebar a {
  display: block;
  color: #f1511b; /* default supported fallback style */
  color: var(--corava-orange); /* will not be used by any browser that doesn't support it (like < IE 11, and will default to the previous fallback */
  padding: 14px 30px;
  text-decoration: none;
}

li {
  float: left;
}

li a {
  display: block;
  color: #f1511b; /* default supported fallback style */
  color: var(--corava-orange); /* will not be used by any browser that doesn't support it (like < IE 11, and will default to the previous fallback */
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Change the link color to #111 (black) on hover */
li a:hover {
  color: #7b7e87; /* default supported fallback style */
  color: var(--corava-grey); /* will not be used by any browser that doesn't support it (like < IE 11, and will default to the previous fallback */
  cursor: pointer; 
}

.language-selector {
  position: fixed;
  top: 0; 
  right: 0;
  height: 100vh;
  width: 250px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.language-selector a {
  width: 100%;
  display: block;
  color: #f1511b; /* default supported fallback style */
  color: var(--corava-orange); /* will not be used by any browser that doesn't support it (like < IE 11, and will default to the previous fallback */
  padding: 14px 30px;
  text-decoration: none;
}

a.active {
  color: #7b7e87; /* default supported fallback style */
  color: var(--corava-grey); /* will not be used by any browser that doesn't support it (like < IE 11, and will default to the previous fallback */
  cursor: pointer; 
}

nav {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	grid-column-gap: 20px;
}

nav a {
	text-decoration: none;
	display: inline-block;
	padding: 10px 15px;
	transition: background-color 0.3s, color 0.3s;
}

nav a:hover,
nav a.active {
  color: #7b7e87; /* default supported fallback style */
  color: var(--corava-grey); /* will not be used by any browser that doesn't support it (like < IE 11, and will default to the previous fallback */
  cursor: pointer; 
}

.row {
  width: 100%;
  text-align: center;
}

.block {
  width: 100px;
  display: inline-block;
}​

.selected {
  color: #7b7e87; /* default supported fallback style */
  color: var(--corava-grey); /* will not be used by any browser that doesn't support it (like < IE 11, and will default to the previous fallback */
}

.float-right {
  margin-top: 5px;
  margin-bottom: 5px;
  float: right;
}

.sidebar{
  position: fixed;
  top: 0; 
  left: 0;
  height: 100vh;
  width: 250px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
}

.sidebar li:hover {
  cursor: pointer;
  font-weight: bold;
}

.sidebar li {
  width: 100%;
}

.sidebar a {
  width: 100%;
}

.spacer {
  color: #7b7e87; /* default supported fallback style */
  color: var(--corava-grey); /* will not be used by any browser that doesn't support it (like < IE 11, and will default to the previous fallback */
}

.flex-container {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: left;
  margin-top:20px;
  margin-left: 170px;
  margin-right: 170px;
}

.flex-container div {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  box-flex: 1;
  -webkit-flex: 1 1 auto;
  flex: 1 1 auto; 
}

.grid-container {
  flex: 1; /* fills the remaining part of the viewport below header */
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  grid-gap: 25px;
}

.image-circle {
  max-width: 200px;
  border-radius: 300px;
  -moz-border-radius: 300px;
  -webkit-border-radius: 300px;
  border: 1px solid;
}

.image-rounded-corners {
  max-width: 90%;
  border-radius: 18px;
  border: 1px solid;
}

.element{
  padding-left: 105px;
}

.fixed-header {
  padding-top: 15px;
}

iframe {
  display: block;
  border-style:none;
  border-radius: 18px;
}

.embed-container {
  position: relative; 
  padding-bottom: 56.25%; /* ratio 16x9 */
  height: 0; 
  overflow: hidden; 
  width: 100%;
  height: auto;
}

.embed-container iframe {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  border-radius: 18px

}

/* ratio 4x3 */
.embed-container.ratio4x3 {
  padding-bottom: 75%;
}

.solid-border {
  border: 1px solid;
  border-radius: 18px;
  padding: 20px;
}

.internal-link {
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  text-decoration: underline;
  color: #f1511b; /* default supported fallback style */
  color: var(--corava-orange); /* will not be used by any browser that doesn't support it (like < IE 11, and will default to the previous fallback */
  cursor: pointer;
}

.internal-link:hover {
  color: #7b7e87;
}

.external-link {
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  color: #4b4d57; /* default supported fallback style */
  color: var(--corava-ext-link); /* will not be used by any browser that doesn't support it (like < IE 11, and will default to the previous fallback */
  text-decoration: underline;
  cursor: pointer;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.dropdown {
  float: left;
  overflow: hidden;
}

#bigScreen {
  display: block;
}

#smallScreen {
  display: none;
}

@media only screen and (max-width: 1200px) {
  .flex-container {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
    margin-left: 15px;
    margin-right: 15px;
  }

  .grid-container {
    flex: 1; /* fills the remaining part of the viewport below header */
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-gap: 5px;
  }
  
  iframe {
    width: auto;
    height: 300px;
  }

  header .logo {
    width: 150px;
    padding-top: 5px;
    padding-left: 10px;
    padding-bottom: 5px;
    cursor: pointer;
  }
}


@media only screen and (max-width: 1024px) {
  #bigScreen {
    display: none;
  }
  
  #smallScreen {
    display: block;
  }

  header .menu {
    width:20px;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translate(-50%, -50%);
  }

  header .logo {
    width: 100px;
    margin: auto;
    padding: 10px;
  }

  header .language-menu {
    width:20px;
    margin: 0;
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translate(-50%, -50%);
  }
}
