/* latin-ext */
@font-face {
    font-family: 'Kaushan Script';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/kaushanscript/v16/vm8vdRfvXFLG3OLnsO15WYS5DG72wNJHMw.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
    font-family: 'Kaushan Script';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/kaushanscript/v16/vm8vdRfvXFLG3OLnsO15WYS5DG74wNI.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

* {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: white;
}

/* ---------HEADER---------- */

#large-header {
    display: flex;
    height: var(--header-height);
    background-color: var(--orange);
    align-items: center;
    justify-content: space-around;
    padding: 1rem;
}

#small-header {
    display: none;
}

#header-logo {
    height: 100%;
    width: 100%;
}

.link-logo {
    height: 100%;
}


nav {
    display: flex;
    gap: 2rem;
}

nav a {
    font-size: 1.25rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    background-color: inherit;
}
nav a:hover {
  color: lightgrey;
  background-color: inherit;
}

button {
    all: unset;
}

.icon {
    width: 2.5rem;
}



/* --------MAIN-------- */

main {
    background-color: white;
}

#top-image {
    width: 100%;
    /* height: 500px; */
    object-fit: cover;
    object-position: center 33%;
}

.content {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.content .padded {
/*    padding: 0 15rem;*/
}

main h1 {
    font-family: 'Kaushan Script', handwriting;
    font-size: 5rem;
    margin: 0;
    text-align: center;
    text-shadow: 2px 2px 10px rgba(255,196,32,1);
    letter-spacing: 5px;
}

main h2 {
    font-family: 'Kaushan Script', handwriting;
    margin: 0;
    font-size: 3rem;
}

main h3 {
    margin: 0;
    font-size: 2rem;
}

main p {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: -0.25px;
    font-weight: 400;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
}

.double-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 1rem 0.5rem;
    justify-content: space-around;
    width: 100%;
     align-items: center;
}

.double-flex img {
    max-width: 100%;
}

.double-flex .text-content {
    /*background-color: #f1efe8;*/
    padding: 2rem 1rem;
    border-radius: 20px;
    max-width: 600px;
    min-width: 400px;
}

.double-flex .text-content p {
    margin: 1rem 0 0 0;
}

.double-flex .text-contour {
  padding: 20px;
  border-image: url("contour.png");
  max-width: 600px;
  min-width: 400px;
}

.image-container {
  position: relative;
  border-radius: 10rem;
}

.image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}



.double-flex .img-content {
  max-width: 600px;
  min-width: 400px;
  margin: 1rem 0 0 0;
}

.main-description {
    padding-top: 3rem;
}

.main-event {
    padding: 0 1rem;
    padding-bottom: 3rem;
    margin: 0 1rem;
    border-radius: 20px;
    max-width: 1000px;
}

.main-event-images {
    margin-bottom: 3rem;
}

.side-events-container {
    padding: 3rem 1rem;
}

.side-events {
    gap: 2rem;
    padding: 0 1rem;
    align-items: center;
}

.side-events .img-content {
    flex: 0.33;
    margin: 1rem;
}

.side-events .text-content {
    padding: 0;
}

p.centre {
    text-align: center;
}

p.right {
    text-align: right;
    padding-top: 1rem;
}

.text-content p {
  text-align: justify;
  text-indent: 4rem;
}

main a {
    background-color: #27a584;
    padding: 0.5rem;
    border-radius: 0.3rem;
    color: white;
    text-decoration: none;
    text-decoration-thickness: 3px;
    font-weight: 600;
    letter-spacing: 0.6px;
    font-style: italic;
}
main a:hover{
  background-color: #20856a;
}

.logo {
  background-color: inherit;
  padding: 0;
}
.logo:hover{
  background-color: inherit;
  color:white;
}

/* --------FOOTER-------- */

footer {
    display: flex;
    justify-content: space-around;
    position: relative;
}

footer a {
    text-decoration: none;
    font-weight: 400;
}


footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: black;
    opacity: 0.5;
}

/* --------BANNER-------- */

#banner-pic {
    width: 100%;
    position: relative;
}

#main-banner {
    position: relative;
    width: 100%;
}

#main-banner::after {
    content: url("../assets/ui/waves-cropped.svg");
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    height: 50%;
}



@media screen and (max-width: 800px) {
    #large-header {
        display: none;
    }

    #small-header {
        display: flex;
        height: var(--header-height);
        background-color: grey;
        align-items: center;
        justify-content: space-between;
        padding: 1rem;
    }

    .link-logo {
        height: 50%;
    }

    .small-header-icon {
        margin-right: 0.5rem;
        filter: invert();
    }
    #mobile-menu .backblur {
        content: "";
        position: absolute;
        top: -50%;
        left: -100%;
        width: 200%;
        height: 200%;
        /* background-color: red; */
        backdrop-filter: blur(2px);
        display: none;
        z-index: -2;text-content
    }

    #mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin-left: 100%;
        transition: margin-left 150ms ease-in;
        display: flex;
        flex-direction: column;
        z-index: 100;
        padding-right: 25%;
    }



    #mobile-menu.visible-menu .backblur {
        display: block;
    }

    #mobile-menu.visible-menu {
        margin-left: 25%;
        opacity: 1;
        transition: margin-left 150ms ease-in;
    }

    #mobile-menu-header {
        padding: 1em;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: var(--header-height);
        background-color: darkgrey;
        opacity: 0;
        transition: opacity 250ms;
        flex-shrink: 0;
    }

    #mobile-menu.visible-menu #mobile-menu-header {
        opacity: 1;
        transition: opacity 250ms;
        transition-delay: 100ms;
    }

    #mobile-menu-header #header-logo {
        visibility: hidden;
      }

    #mobile-menu-nav {
        background-color: teal;
        width: 100%;
        height: 100%;
    }

    #mobile-menu-nav nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 1.5rem 0;
        gap: 1.5rem;
    }

    #mobile-menu-nav nav a {
        position: relative;
        width: 100%;
        text-align: center;
        font-size: 1.5rem;
    }

    #mobile-menu-nav nav a::after {
        content: "";
        position: absolute;
        bottom: -0.75rem;
        left: 0;
        height: 2px;
        width: 100%;
        background-color: white;
    }

    #mobile-menu-nav nav a:first-of-type:before {
        content: "";
        position: absolute;
        top: -0.75rem;
        left: 0;
        height: 2px;
        width: 100%;
        background-color: white;
    }

    main h1 {
        font-size: 3rem;
    }

}
