@import url('https://fonts.googleapis.com/css2?family=IM+Fell+French+Canon&family=Lato:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    /* headlines on a white background */
    --headline-color-on-white: #023e8a;
    
    /* headlines on a colored background */  
    --headline-color-on-color: #ff7b00;

    /* paragraph text on a white background */
    --paragraph-color-on-white: #023e8a;
    
    /* paragraph text on a colored background */ 
    --paragraph-color-on-color: #fffafa;

    /* paragraph background color */ 
    --paragraph-background-color: #023e8a;

    /* navigation link color */ 
    --nav-link-color: #fffafa;

    /* navigation background color */ 
    --nav-background-color: #023e8a;

    /* navigation hover link color */ 
    --nav-hover-link-color: #fc8211;

    /* navigation hover background color */ 
    --nav-hover-background-color: #0096c7;

    --nav-button-color: #2a398f;

    --nav-background-gradient: linear-gradient(to right, #023e8a, #023e8a, #09e1f3);

    --body-gradient: linear-gradient(to right, rgba(255, 255, 255, 0.7), #00eaff, rgba(255, 255, 255, 0.7));

    --box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.7);
    --box-shadow-hover: 8px 8px 15px rgba(0, 0, 0, 0.5);
    --box-shadow-active: 3px 3px 8px rgba(0, 0, 0, 0.7);

    --border-color: #00eaff;
  
    /* Fonts */
    --heading-font: "IM Fell French Canon";
    --paragraph-font: Lato, Helvetica, sans-serif;
  
  }

  html {
    width: 100%;
    background-color: var(--nav-button-color);
    background-image: url("../images/creation-background.jpg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top right;
}
  body {
    width: 100%;
    padding: 0;
    margin: 0;
    margin-top: 100px;
}
#content{
    max-width: 1600px;
    margin: 0 auto;
}
#navbar {
    position: fixed;
    overflow: wrap;
    text-align: center;
    justify-content: center;
    background-image: var(--nav-background-gradient);
    width: 100%;
    max-width: 1600px;
    display: flex;
    margin-top: -100px;
    padding: 10px;
    
}
#navbar a {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: var(--nav-link-color);
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s; 
}
.nav-links{
    display: flex;
    margin: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
}
ul li{
margin-left: 40px;
margin-right: 40px;
}
.home-page-beads-background p {
    color: var(--paragraph-color-on-color);
    background-color:var(--paragraph-background-color);
    padding: 25px;
    border-radius: 25px;
    box-shadow: var(--box-shadow);
    margin: 25px auto;
    text-align: center;
}
.home-page-beads-image {
    width: 80%;
}
.home-page-knots-image {
    width: 100%;

}
.logo {
    width: 200px;
}
.button {
    padding: 15px;
    text-align: center;
    font: bold 0.8em var(--heading-font);
    border: 3px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    background-color: var(--nav-button-color);
    box-shadow: var(--box-shadow);
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s; 
}
#navbar a:hover,
#navbar a:focus {
    background: var(--nav-hover-link-color);
    color: var(--border-color);
    transform: scale(1.1);
    box-shadow: var(--box-shadow-hover);
}
#navbar a:active {
    background: var(--nav-hover-background-color);
    color: var(--nav-button-color);
    transform: scale(.9);
    box-shadow: var(--box-shadow-active);
}
.sticky {
    position: fixed;
    display: flex;
    width: 100%;
    max-width: 1600px;
    z-index: 10;
  }
  #navbar.scroll-bg {
    background: var(--body-gradient);
}
body {
    font-family: var(--paragraph-font);
    font-size: 25px;
}
main{
    padding: 40px
}
#dropdown {
    height: 125px;
    overflow: hidden;
    transition: height 0.6s ease-in-out
}
.arrow {
    display: inline-block;
    margin-left: 15px;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.rotate180 {
    transform: rotate(180deg);
}
#dropdown-toggle {
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
    transition: transform 0.3s, box-shadow 0.3s;
}
#dropdown-toggle:hover {
    box-shadow: var(--box-shadow-hover);
    cursor: pointer;
    transform: scale(1.1);
}
#dropdown-toggle:active {
    box-shadow: var(--box-shadow-active);
    cursor: pointer;
    transform: scale(.9);
}
#home-page-box, #knots-page-box, #beads-page-box{
    grid-column: 1/12;
    grid-row: 1/8;
    z-index: -1;
}

#home-page-img, #knots-page-img, #beads-page-img {
    width: 100%;
    margin-top: -25px;
}
.home-page-title, .knots-page-title, .beads-page-title {
    color: var(--headline-color-on-color);
    font-size: 1.5em;
    grid-column-start: 1;
    grid-column-end: 11;
    border-radius: 25px;
    margin-bottom: 25px;
}
.home-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}
.knots-page-grid, .beads-page-grid, .contact-grid {
    display: block;
}
.home-page-background, .knots-page-msg, .beads-page-msg, .contact-msg {
    background-image: var(--body-gradient);
    padding: 20px;
    grid-column-start: 1;
    grid-column-end: 11;
    border-radius: 25px;
    margin-bottom: 25px;

}
.home-page-background p, .knots-page-msg p, .beads-page-msg p, .contact-msg p{
    color: var(--paragraph-color-on-color);
    background-color:var(--paragraph-background-color);
    padding: 25px;
    border-radius: 25px;
    box-shadow: var(--box-shadow);
    margin: 25px auto;
    text-align: center;

}
h1 {
    font-size: 2rem;
    background-color:var(--paragraph-background-color);
    color: var(--headline-color-on-color);
    border-radius: 25px;
    padding: 20px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.home-page-background h2, .knots-page-msg h2, .beads-page-msg h2, .contact-msg h2{
    background-color:var(--paragraph-background-color);
    color: var(--headline-color-on-color);
    border-radius: 25px;
    padding: 20px;
    width: 50%;
    margin: 25px auto;
    box-shadow: var(--box-shadow);
    text-align: center;
    
} 
.home-page-knots-background {
    background-image: var(--body-gradient);
    padding: 20px;
    grid-column: 1/6;
    margin: 50px;
    margin-right: 25px;
    border-radius: 25px;
}
.home-page-knots-background h2 {
    background-color:var(--paragraph-background-color);
    color: var(--headline-color-on-color);
    border-radius: 25px;
    padding: 20px;
    width: 50%;
    box-shadow: var(--box-shadow);
    margin: 25px auto;
    text-align: center;
}
.home-page-knots-background p {
    color:var(--paragraph-color-on-color);
    background-color:var(--paragraph-background-color);
    padding: 25px;
    border-radius: 25px;
    box-shadow: var(--box-shadow);
    margin: 25px auto;
    text-align: center;
}
.home-page-beads-background {
    background-image: var(--body-gradient);
    padding: 20px;
    grid-column: 6/11;
    margin: 50px;
    margin-left: 25px;
    border-radius: 25px;
}
.home-page-beads-background h2 {
    background-color:var(--paragraph-background-color);
    color: var(--headline-color-on-color);
    border-radius: 25px;
    padding: 20px;
    width: 50%;
    box-shadow: var(--box-shadow);
    margin: 25px auto;
    text-align: center;
}
form {
    margin: auto;
    width: auto;
    text-align: center;
    background-color: var(--paragraph-background-color);
    padding: 35px;
    box-shadow: var(--box-shadow);
    border-radius: 25px;
}
    
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
    
form li + li {
    margin-top: 1em;
}
    
label {
    display:inline-block;
    width: 90px;
    text-align: right;
    font: 1em var(--paragraph-font);
    color: var(--headline-color-on-color);
}
    
input,
textarea {
    font: 1em var(--paragraph-font);
    width: 20%;
    border-radius: 5px;
    width: 300px;
    box-sizing: border-box;
    border: 2px solid var(--headline-color-on-color);
}
    
input:focus,
textarea:focus {
    border-color: var(--nav-hover-link-color);
}
    
textarea {
    vertical-align: top;
    height: 5em;
}
form button,
input,
select,
textarea {
      font-family: inherit;
      font-size: 100%;
      box-shadow: var(--box-shadow);
}
form button:after {
        content: " >>>";
}
form button,
form button {
    padding: 5px;
    border: 3px solid var(--border-color);
    border-radius: 5px;
    background: var(--nav-button-color);
    color: var(--nav-link-color);
    font-size: 1.1em;
    transform: rotate(-1.5deg);
    transition: transform 0.5s, box-shadow 0.5s, background-color 0.5s;
}
form button:hover,
form button:focus {
      outline: none;
      background: var(--nav-background-color);
      color: var(--nav-link-color);
      transform: rotate(1.7deg) scale(1.1);
      box-shadow: var(--box-shadow-hover);
      background-color: var(--nav-hover-link-color);
      color: var(--border-color);
}

#feedback {
        background-color: #fe9f00;
        color: #001794;
        box-shadow: 5px 5px 10px #1e272f;
        font: bold 0.8em "IM Fell French Canon", Lato;
        padding: 20px;
        margin: 40px;
        border-radius: 25px;
        display: none;      
}
.moveDown {
        margin-top: 3em;
}
footer {
    background-image: linear-gradient(to right, #023e8a, #023e8a, #09e1f3);
    color: white;
    padding: 5px;
    margin-top: 50px; 
    display: flex;
    justify-content: space-around;
    align-items: center;
}
footer .social img   {
    padding-top: 15px;
}
footer h3 {
    color: #001794;
}
footer a {
    color: white;
    text-decoration: none;
}
footer a:hover {
    color:#fe9f00
}
footer p a:hover {
    font-size: 1.2em;
    text-decoration: underline;
}
.double-columns {
    height: inherit;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.column1, .column2 {
    height: inherit;
}
.pictureframe {
    height: 650px;
}
/* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container1, .slideshow-container2, .slideshow-container3,  .slideshow-container4, .slideshow-container5, .slideshow-container6 {
    max-width: 100%;
    height: min-content;
    position: relative;
    background-image: linear-gradient(to right, rgba(196, 224, 247, .7), #09e1f3, rgba(196, 224, 247, .7));
    padding: 25px;
    border-radius: 25px;
    margin: 50px;
}

.slideshow-container1 h2, .slideshow-container2 h2, .slideshow-container3 h2,  .slideshow-container4 h2, .slideshow-container5 h2, .slideshow-container6 h2 {
    color: #fe9f00;
    font-size: 1cm;
    background-color:#023e8a;
    padding: 25px;
    border-radius: 25px;
    box-shadow: 5px 5px 10px #1e272f;
    margin: 25px auto;
    text-align: center;
}

/* Hide the images by default */
.mySlides1, .mySlides2, .mySlides3, .mySlides4, .mySlides5, .mySlides6, .mySlides7, .mySlides8, .mySlides9, .mySlides10, .mySlides11  {
  display: none;
}
.active-slide {
    display:block;
}
/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 5px;
  margin-left: -26px;
  color: #001794;
  font-weight: bold;
  font-size: 35px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: #fe9f00;
	color: #023e8a;
}
/* Caption text */
.text {
  color: #023e8a;
  font-weight: bold;
  font-size: 30px;
  padding: 20px 20px;
  bottom: 20px;
  width: 100%;
  text-align: center;
}
/* Number text (1/3 etc) */
.numbertext {
  color: #023e8a;
  font-size: 30px;
  padding: 15px 15px;
}
/* The dots/bullets/indicators */
.dot1, .dot2, .dot3, .dot4, .dot5, .dot6 {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin-bottom: -50px;
  background-color:#001794;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active, .dot1:hover, .dot2:hover, .dot3:hover, .dot4:hover, .dot5:hover, .dot6:hover {
  background-color:#fe9f00;
}
/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}
label{
    font-size: 20px;
}
.slideshow {
    background-image: var(--body-gradient);
    border-radius: 25px;
    width: 90%;
    margin: auto;
    overflow: hidden;
    grid-column-start: 1;
    grid-column-end: 11;
    text-align: center;
    justify-content: center;
    padding: 15px;
}
.slideshow h2 {
    font-size: 2rem;
    background-color:var(--paragraph-background-color);
    color: var(--headline-color-on-color);
    border-radius: 25px;
    padding: 20px;
    box-shadow: var(--box-shadow);
    text-align: center;
}
.slideshow h3 {
    font-size: 1.5rem;
    background-color:var(--paragraph-background-color);
    color: var(--headline-color-on-color);
    border-radius: 25px;
    padding: 20px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.slideshow p {
    font-size: 1rem;
    color:var(--paragraph-color-on-color);
    background-color:var(--paragraph-background-color);
    padding: 25px;
    border-radius: 25px;
    box-shadow: var(--box-shadow);
    margin: 25px auto;
    text-align: center;
}

.slideshow-container {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}
.slideshow-container img{
    width: 250px;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
}
.slideshow-container a{
    text-decoration: none;
}
@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


/* smaller screens */
@media only screen and (max-width: 900px) {
    .prev, .next, .text {
        font-size: 11px
    }
    .home-page-grid, .double-columns {
        display: block;
        height: auto;
    }   
    #navbar{
        position: relative;
    }
    .slideshow {
        margin-left: 15px;
        margin-right: 15px;
        width: 85%;
    }
    .sticky {
        position:relative;
        display:list-item;
        width: 100%;
    }
    #navbar.scroll-bg {
        background: linear-gradient(to right, rgba(2, 62, 138, 1), rgba(2, 62, 138, 1), rgba(9, 225, 243, 1));
    }
    #navbar, footer, ul{
        flex-direction: column;
        font-size: 15px;
    }
    #navbar ul li {
        display: block;
        padding: 15px;
        width: 200px;
    }
    main{
        padding: 0px
    }
    h1{
        margin: 20px;
    }
    #home-page-title-msg {
        margin-top: 0;
    }
    #home-page-title-msg h4 {
        display: none;
    }
    .home-page-title {
        font-size: 25px;
    }
    .home-page-background {
        width: auto;
        display: block;
        margin: 0 auto;
    }
    .home-page-knots-background, .home-page-beads-background {
        width: auto;
        display: block;
        margin: 15px;
        margin-bottom: 20px;
    }
    footer {
        margin-top: 25px;
    }
    .text {
        color: #023e8a;
        font-weight: normal;
        font-size: 15px;
        padding: 5px;
    }
    .slideshow-container1 h2, .slideshow-container2 h2, .slideshow-container3 h2,  .slideshow-container4 h2, .slideshow-container5 h2, .slideshow-container6 h2, .slideshow-container h2{
        font-size: 17px;
        padding: 15px;
        margin-bottom: -15px;
    }
    .numbertext {
        margin-top: -10px;
        margin-bottom: 20px;
        font-size: 10px;
        ;
    }
    .dot1, .dot2, .dot3, .dot4, .dot5, .dot6 {
        height: 5px;
        width: 5px;
        margin-bottom: -35px;
    }
    .pictureframe {
        height: 700px;
        margin-top: 10px;
    }
    .slideshow-container1, .slideshow-container2, .slideshow-container3,  .slideshow-container4, .slideshow-container5, .slideshow-container6 {
        padding: 15px;
        margin: 15px;
        height: 480px;
    }
    .prev {
        margin-left: -15px;
    }
    .home-page-background, .knots-page-msg, .beads-page-msg, .contact-msg {
        padding: 15px;
        margin: 15px;
        margin-top: 20px;
        margin-bottom: 20px;

    }
    .home-page-background p, .knots-page-msg p, .beads-page-msg p, .contact-msg p{
        margin: 20px;
        text-align: center;
        font-size: 15px;

    }
    .home-page-background h2, .knots-page-msg h2, .beads-page-msg h2, .contact-msg h2{
        padding: 15px;
        width: 75%;
        margin: 25px auto;
        font-size: 20px;
    } 
    .home-page-knots-background h1{
        font-size: 20px;
    }
    .home-page-knots-background p{
        font-size: 15px;
    }
    .home-page-beads-background h1{
        font-size: 20px;
    }
    .home-page-beads-background p{
        font-size: 15px;
    }
    .unhidden {
        height: 750px;
    }
    #name{
        width: 150px;
        font-size: 15px;
    }
    #name{
        width: 150px;
        font-size: 15px;
    }
    #mail{
        width: 150px;
        font-size: 15px;
    }
    #msg{
        width: 150px;
        font-size: 15px;
    }
    .button{
        font-size: 20px;
    }
    .button:hover,
    .button:focus{
        font-size: 25px;
    }
    .button:active{
        color: #fe9f00;
        background: #001794;
        font-size: 25px;
    }
    button{
        font-size: 8px;
    }
    button:hover, button:focus{
        font-size: 10px;
    }
    #feedback{
        font-size: 8px;
        padding: 10px;
        margin: 10px;
    }
    .logo {
        margin: 0px;
    }
    label{
        font-size: 15px;
    }
    #dropdown {
        height: 100px;
        overflow: hidden;
        transition: height 0.6s ease-in-out
    }
    html {
        background-attachment: fixed;
        height: auto;
    }
}