/* Author:      Ward Truyen
 * Version:     1.0.0
 */
html{
  scroll-behavior: smooth !important;
}

html,
body {
  margin: 0px;
  padding: 0px;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.theme-button {
  float: right;
  margin: 0.5em;
}

.card {
  padding: 10px;
  border: 1px solid darkblue;
  background-color: #ddddddcc;
  border-radius: 0.5em;
  box-shadow: 3px 3px 3px #30303090;
  margin: 1em 0.5em;
  display: inline-block;
}

.card>h1 {
  font-size: 2em;
}

html {
  background-image: linear-gradient(-30deg, #C0E0FF6F 70%, #FFE0C04F);
}

.flex {
  display: flex;
  flex-direction: column;
}

.content {
  /* display: inline-block; */
  margin: auto;
  /* margin-top: 1em; */
  min-width: 80%;
  /* min-height: 40%; */
  padding-right: 8px;
}

.block-photo {
  padding: 10px;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  /* border: 1px solid darkblue; */
  background-image: url('../img/sunnyclouds.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
  box-shadow: inset 0px 0px 6px #30303090;
  margin-top: 1em;
  margin-bottom: 1em;
}

.block-darker {
  padding: 10px;
  /* border: 1px solid darkblue; */
  /* background-color: #80808040; */
  background-image: linear-gradient(#00000000, #d0e08030, #d0e08030, #00000000);
  /* box-shadow: 3px 3px 3px #30303090; */
  /* border-radius: 4px; */
  margin-top: 1em;
  margin-bottom: 1em;
}

.block-alert {
  display: inline-block;
  padding: 10px;
  border: 1px solid darkblue;
  background-color: #ffaaaadd;
  box-shadow: 3px 3px 3px #30303090;
  border-radius: 4px;
  margin-top: 1em;
  margin-bottom: 1em;
}

.block-white {
  padding: 10px;
  border: 1px solid darkblue;
  background-color: #ffffffcc;
  box-shadow: 3px 3px 3px #30303090;
  margin-top: 1em;
  margin-bottom: 1em;
}

.content>h1 {
  font-family: "Raleway", sans-serif;
  font-size: 3em;
  margin-top: 0px;
  margin-bottom: 8px;
  text-decoration: underline;
  text-shadow: 0px 0px 4px white, 2px 2px 6px;
}

.content>p {
  margin-left: 1em;
}

.content>h2 {
  margin-left: 0.2em;
}

.content>h2 {
  margin-top: 1.5em;
}

.content>h2 {
  margin-top: 0.2em;
}

.content>h3 {
  margin-left: 0.8em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;

}

/* img { */
/*   display: inline-block; */
/*   margin: 0 auto; */
/*   max-width: 100%; */
/* } */
ul {
  margin: .5em 0;
}

ul.dashed {
  list-style-type: '- ';
}

.text-red {
  color: red;
}

html.theme-dark {
  color-scheme: dark;
  background-image: linear-gradient(-10deg, #1010206F 60%, #5050506F);
  color: white;
}

.theme-dark>body>main>.block-white {
  border: 1px solid darkgray;
  background-color: black;
  box-shadow: 3px 3px 5px #101010C0;
}

.theme-dark>body>main>.content>h1 {
  text-shadow: 0px 0px 3px blue, 2px 2px 6px;
}

.theme-dark>body>main>.content>.block-alert {
  background: none;
  border-color: red;
  color: red;
}

.splide__slide img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

#image-carousel {
  width: 50rem;
  margin: 0 auto;
}

@media only screen and (max-width: 800px){
  #image-carousel {
    width: 40rem;
  }
}
@media only screen and (max-height: 800px){
  #image-carousel {
    width: 40rem;
  }
}

@media only screen and (max-width: 600px){
  #image-carousel {
    width: 25rem;
  }
}
@media only screen and (max-height: 600px){
  #image-carousel {
    width: 25rem;
  }
}
  
@media(orientation: portrait) {
  main {
    margin-top: 0;
  }
}
