

/* For mobile devices */
@media only screen and (max-width: 400px) {
  #canoe-img, #photo-area, article {
    width: 100%;
  }
  nav {
    width: 100%;
  }
  h1, nav a, .close-button {
    font-size: 4vw;
    padding: 1vw 0;
  }
  h2, article, h3 {
    font-size: 3vw;
    padding: 1vw 0;
  }

}

/* For tablets */
@media only screen and (min-width: 401px) {
  #canoe-img, #photo-area, article, textarea {
    width: 100%;
  }
  nav {
    width: 25vw;
    height: 100%;
  }
  h1, nav a, .close-button {
    font-size: 4vw;
    padding: 1vw 0;
  }
  h2, article, h3 {
    font-size: 3vw;
    padding: 1vw 0;
  }
}

/* For desktops */
@media only screen and (min-width: 1000px) and (min-height: 562px) {
  #canoe-img, #photo-area, article {
    width: 1000px;
  }
  nav {
    width: 250px;
    height: 100%;
  }
  h1, nav a, .close-button {
    font-size: 40px;
    padding: 10px 0;
  }
  h2, article, h3 {
    font-size: 30px;
    padding: 10px 0;
  }
}

body {
  background-color: black;
  color: white;
  font-family: Helvetica, Verdana, sans-serif;
}

#mrcanoehead {
  position:absolute;
  display: none; 
  /* z-index: 2; */
}

header {
  display: flex;
  position: fixed;
  align-items: center;
  justify-content:space-between;
  width: 100%;
  height: 50px;
  background-color: red;
  margin: 0px auto;
  z-index: 2;
}

nav {
  position:fixed;
  background-color: red;  
  overflow:hidden;
  white-space:nowrap;
  color: white;
  padding: 5px;
}

nav li {
  list-style-type: none;
}

nav a, .modal-content a {
  color: white;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

article, #photo-area {
  position: relative;
  top: 50px;
  display: block;margin-left: auto;
  margin-right: auto;
}

article {
  text-align: justify; 
}

#photo-area {
  z-index: 0;
}

.loren p, h2{
  padding: 3px 0;
}

.adventure {
  padding: 2px 0;
}

.adventure h2 {
  text-decoration: underline;
}

#hamburger:hover, #paddle:hover {
  background-color: black;
}

/* bubble style from https://codepen.io/alvaromontoro/pen/zYqzgoy */
#bubble-tail {
  display: flex;
  position: absolute;
  background: #ffd0;
  
  border-radius: 100%;
  clip-path: polygon(50% 50%, 150% 50%, 150% 150%, 50% 150%); 
  z-index: 4;
} 

#bubble {
  position: absolute;
  box-sizing: border-box;
  color: black;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #ffd;
  font-family: "Comic Sans", "Comic Neue", sans-serif;
  z-index: 3;
}

/* form controls */

label {
  display: inline-block;
  width: 30%;
  text-align: right;
}

input, select, option, textarea, .modal-button {
  width: 60%;
  text-align: center;
}


label, input, select, option, textarea, .modal button, .modal h3, .modal-content {
  font-size: 4vmin;
  padding: 0.5vmin;
  margin: 0.5vmin;
}

.modal{
  display:flex;
  z-index:100;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition: .3s opacity ease-in-out;
  /* padding: 1vw; */
  position: fixed;
  top: 15vh;
  left: 15vw;
  width: 70vw;
  height: 70vh;
  background: radial-gradient(rgba(255,0,0,1) 50%, rgba(255,0,0,0.5));
  pointer-events: none;  
}

.modal:target{
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

.close-button {
  color: white;
  position: absolute; 
  top: 0;
  right: 0;
  transform: rotate(45deg);
  text-decoration: none;
  padding-right: 0.5em;
}

.close-button:hover {
  color: black;
}

.modal-button {
  margin-left: auto;
  margin-right: auto;
}

