/*
from: https://www.yellowsubmarine.com/wp-content/themes/yellowsub/style.css?ver=4.9.22
*/
@font-face {
    font-family: 'Nunito';
    src: url('/assets/fonts/nunito-regular.woff2') format('woff2'),
	 url('/assets/fonts/nunito-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'yellowsubmarineregular';
    src: url('../fonts/beatles_3-webfont.woff2') format('woff2'),
         url('../fonts/beatles_3-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@charset "UTF-8";

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Arimo, "Liberation Sans", "Segoe UI Emoji",
    "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}

main {
  margin-top: 41px;
  margin-bottom: 0;
}

#MoveDownAPage {
top: calc(100vh + 51px);
}
.left_panel {
  width: 200px;
  border-top: solid 2px grey;
  border-bottom: solid 5px grey;
  padding-bottom: 40px;
  padding-left: 4px;
  /*border-radius:16px;*/
}

.left_panel > ul,
.left_panel > ol {
  margin-left: -16px;
}

.left_panel > ul > li {
  margin-left: -16px;
  list-style-type: none;
  border-top: solid thin grey;
}

.left_panel > ul > li > p {
  display: inline-block;
  margin-top: 0px;
  margin-bottom: 0px;
  vertical-align: top;
}

.left_panel > ul > li > a {
  display: inline-block;
  vertical-align: top;
}

/* Full screen media query */
@media all and (min-width: 801px) {
  main {
    margin-left: 215px;
    }
    nav.navBack > a::before {
      content: "Back to ";
    }
    nav.navBack > a {
      color: white;
    }
    nav.navBack > a {
      display: inline-block;
      position: fixed;
      top: 2px;
      left: 2px;
      z-index: 2;
      margin: 0;
      padding: 4px;
      border: solid 2px darkred;
      border-radius: 16px;
      background-color: darkred;
      color: white;
    }
  footer {
    /*margin-left: 215px;*/
    margin-bottom: 50px;
  }
  .left_panel {
    position: absolute;
    top: 51px;
    left: 2px;
  }
}

h1 > span {
  float: right;
}

h3 {
margin-bottom: 0;
}

h4 {
margin-top: 0.25em;
margin-bottom: 0;
margin-left: 0.75em;
}

ul {
margin-top: 0;
}

ul:has(+ h4) {
margin-bottom: 0;
}

nav.navBack > a {
  display: inline-block;
  position: fixed;
  top: 2px;
  left: 2px;
  z-index: 2;
  margin: 0;
  padding: 4px;
  border: solid 2px darkred;
  border-radius: 16px;
  background-color: darkred;
  color: white;
  font-size: 20px;
  text-decoration: none;
}

nav.navBack > a::before {
  content: "Back to ";
}

body ::-webkit-scrollbar {
-webkit-appearance: none;
width: 10px
height: 10px
}

body ::-webkit-scrollbar-thumb {
cursor: pointer;
border-radius: 5px;
background: var(--scrollbar-thumb-clr);
transition: color 0.2s ease;
}

body ::-webkit-scrollbar-track {
border-radius: 2px;
background: var(--scrollbar-track-clr);
}
.bach {
width:3%;
transition: .5s;
}
.bach > p > em {
font-size: 0.5vw;
transition: font-size .5s;
}

.bach:hover {
width: 80%;
}
.bach:hover > p > em {
font-size: 5vw;
}

.button {
background: var(--foreground);
color: var(--background);
border-radius: 5px;
cursor: pointer;
display: inline-block;
text-align: center;
}

.submarine {
font-family: 'yellowsubmarineregular';
color: #ffdf00;
}

/* Note block styles */
div.note-block {
background: var(--note-block-bg-clr);
border-left: 5px solid #e74c3c;
margin: 1.5em 10px;
padding: 0.5em 10px;
}
div.note-block strong{
color: #e74c3c;
}

/*New landing page styles*/

div.firstpage {
margin: -8px -8px 49px -8px;
height: 100vh;
background: #04a7d7;
}

div.positive {
  height: 50%;
  width: 100%;
  display: flex;
}
div.secondquadrant, div.firstquadrant {
  position: relative;
  flex:1;
  height: 100%;
  width: 50%;
}

div.secondquadrant > div.links{
position: absolute;
bottom: 0;
right: 0;
text-align: right;
display: block;
}

div.secondquadrant > div.links > h1 > a {
  text-decoration: none;
  box-shadow: inset 0 0 0 0 #ffdf00;
  color: #ffdf00;
  margin: 0 .25rem;
  padding: 0 .25rem;
  transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
}
div.secondquadrant > div.links > h1 > a:hover {
  box-shadow: inset -200px 0 0 0 #ffdf00;
/*color: var(--background);*/
color: #04a7d7;
}

div#sub {
position: absolute;
bottom: 0;
left: 0;
}

div.sub {
    animation: float 2s ease-in-out infinite alternate;
    position: absolute;
    font-family: 'yellowsubmarineregular';
    font-size: 65px;
    }

.sub:before {
    background: url(/assets/images/prop1.png);
    position: absolute;
    content: '';
    bottom: 41px;
    left: 42px;
    height: 23px;
    width: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    animation: rotate-prop .2s linear infinite alternate;
}

@keyframes rotate-prop {
    from { }
    to { transform: rotateX(90deg)}
}

@keyframes float {
    0% {bottom:10px;}
    100% {bottom:-5px;}
}
