body {
    font-family: "Hind Madurai", sans-serif;
    max-width: 1200px;
    margin: auto;
    position: relative;


}

nav.nav {
    position: absolute;
    width: 100%;
    top: 20px;
    left: 0;
    z-index: 1;

}



.nav li:hover ul {
    display: block;
    text-align: left;
    position: absolute;

}

.nav li ul {
    display: none;
    height: auto;
    margin: 0;
    padding: 0;
}

header {
    text-align: right;
}

header,
section,
footer {
    overflow: hidden;
}



#logo img {
    width: 23%;
    float: left;
    padding-left: 20px;
    padding-top: 15px;
    /*filter: drop-shadow(5px 5px 5px white);*/
}

.menu-btn {
    display: none;
}

#menu img {
    width: 12px;
}

ul#menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 10px;
    padding-right: 30px;


}

ul.submenu {
    position: absolute;
}


ul#menu li {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    padding: 15px;
    position: relative;
}

ul.submenu li {
    padding: 10px 0 !important;
    width: auto;
}

ul#menu a:hover {
    color: #FECC00;
    cursor: pointer;
}


a {
    text-decoration: none;

}

#year {
    text-align: left;
    font-weight: 700;
    padding-bottom: 20px;
}

#contacto a,
#eventos a {
    color: black;
}

#contacto a:hover {
    color: #e40327;

}

#eventos a:hover {
    color: #42a03f
}

ul#menu li a {
    color: white;
}

/*
header p {
    font-family: "Montserrat", sans-serif;
    padding-top: 400px;
    color: white;
    text-align: left;
    padding-left: 10%;
    padding-right: 40%;
    padding-bottom: 10px;
    font-size: 23px;
    line-height: 1.7;

}*/

strong {
    font-weight: 700;
}

.bold {
    font-weight: 700;

}

small {
    font-size: 80%;
}

#solido {
    padding-top: 20px;
}

h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    font-weight: bold;
    padding-top: 30px;
    padding-bottom: 30px;
    color: white;

}

h2 {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    padding-top: 30px;
    font-size: 22px;
    padding-bottom: 40px;
    font-weight: bold;
}



#brincar h2,
#projetopoema h2,
#projetofamilia h2 {
    color: #0e3d8a;
}

#competencias h2,
#projetoarvore h2 {
    color: #e40327;

}

#equipa h2,
#projetoinstrumento h2 {
    color: #42a03f;

}

.pres {
    max-width: 70%;
    margin-left: 15%;
    padding-bottom: 30px;
    line-height: 1.5;
}

#eventos {
    text-align: center;
}

#preseventos {
    font-size: 110%;
    margin-left: 15%;
    margin-right: 15%;
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: left;

}

#preseventos a {
    text-decoration: underline;
    text-decoration-color: #42a03f;

}

.dates {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    padding-bottom: 30px;
}

#listedates {
    display: inline-flex;
    flex-direction: column;
}

.titre img {
    width: 150px;
}


.dates img {
    width: 60px;
}

.titre {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background-color: #FECC00;
}

.grid {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: calc(50% - 10px) calc(50% - 10px);
    margin-left: 15%;
    margin-right: 15%;
    padding-bottom: 30px;
    line-height: 1.5;

}

#photogaleria img {
    width: 300px;
}

#photogaleria {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding-top: 8px;
    padding-bottom: 8px;

}


#mailchimp {
    margin-left: 25%;
    padding-top: 30px;


}

#mailchimp h2 {
    font-family: "Hind Madurai", sans-serif;
    text-align: center;
    padding: 10px 0 10px !important;
    font-size: 18px !important;
}

#mailchimp .button {
    background-color: #e40327 !important;
}

#mailchimp img {
    width: 95%;

}

#myBtn,
#dots {
    display: none;
}




@media (min-width:950px) {

    #navmobile {
        display: none;
    }

    .liste {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
        margin-left: 15%;
        margin-right: 15%;
        padding-bottom: 30px;

    }


    .text {
        color: white;
        font-family: "Hind Madeira", sans-serif;
        position: absolute;
        bottom: 100px;
        text-align: left;
        padding-left: 10%;
        padding-right: 40%;
        padding-bottom: 10px;
        font-size: 23px;
        line-height: 1.7;


    }

    #text2 {
        font-size: 20px;
    }

    #margarida {
        max-width: 70%;
        margin-left: 15%;

    }




}


.sublist {
    flex-grow: 1;
}

.note {
    width: 10px;
    padding-right: 5px;
}



#equipa {
    padding-bottom: 30px;

}

.photo {
    width: 100%;
}




#equipa p {
    line-height: 1.5;
    padding-bottom: 15px;

}


#bio {
    padding-top: 20px;
}

.youtube {
    text-align: center;
    padding: 30px 0 30px;
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    margin-left: 15%;
    margin-right: 15%;
}



.youtube iframe,
.youtube object,
.youtube embed {
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



#contacto {
    padding-bottom: 30px;
}

#contacto ul {
    display: inline-flex;
    flex-direction: column;
    margin: auto;
}

#coord {
    display: flex;
    padding-top: 30px;
    line-height: 1.8;
}

.icon {
    width: 20px;
    padding-right: 8px;
    vertical-align: auto;
}


footer {
    background-color: #FECC00;
    padding: 20px;
    font-size: 10px;
}




/* Slideshow container */
.slideshow-container {
    position: relative;
    margin: auto;
    max-height: 100vh;
    overflow: hidden;
    min-height: 700px;

}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    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;
}

.prev {
    left: 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}



/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}






@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}


@media (max-width: 950px) {

    #navdesktop {
        display: none;
        padding-bottom: 10px;
    }

    nav.nav {
        position: static;
    }

    #logo img {
        width: 40%;
    }

    header ul a {
        display: block;
        padding-right: 10px;

    }

    .slideshow-container {
        min-height: 0;
    }

    header {
        min-height: 300px;
        padding: 0;
    }

    #menu {
        clear: both;
        max-height: 0;
        overflow: hidden;
        transition: max-height .2s ease-out;
    }

    ul.submenu li {
        display: none;
    }

    ul#menu {
        flex-direction: column;
        background-color: #FECC00;


    }

    ul#menu li {
        font-size: 15px;
        padding: 0;
        opacity: 100%;
    }

    ul#menu li:first-child {
        padding-top: 20px;
    }

    ul#menu li:last-child {
        padding-bottom: 20px;
    }


    ul#menu a:hover {
        color: black;

    }

    .menu-icon {
        padding: 35px 20px;
        position: absolute;
        cursor: pointer;
        z-index: 2;
        right: 0;

    }

    .menu-icon .nav-icon {
        background: black;
        display: block;
        height: 2px;
        width: 35px;
        position: relative;
        transition: background .2s ease-out;
    }

    .menu-icon .nav-icon:before {
        background: black;
        content: "";
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        transition: all .2s ease-out;
        top: 8px;

    }

    .menu-icon .nav-icon:after {
        background: black;
        content: "";
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        transition: all .2s ease-out;
        top: -8px;

    }

    .menu-btn {
        display: none;
    }

    .menu-btn:checked~.nav #menu {
        max-height: 240px;
    }

    .menu-btn:checked~.menu-icon .nav-icon {
        background: transparent;
    }

    .menu-btn:checked~.menu-icon .nav-icon:before {
        transform: rotate(-45deg);
        top: 0;

    }

    .menu-btn:checked~.menu-icon .nav-icon:after {
        transform: rotate(45deg);
        top: 0;

    }

    #logo img {
        padding-top: 0;
    }





    .text {
        font-family: "Hind Madeira", sans-serif;
        font-size: 16px;
        bottom: 10px;
        line-height: 1.7;
        padding: 10px 30px;
        text-align: left;


    }

    strong {
        color: #FECC00;
    }




    #menu img {
        display: none;
    }

    .pres {
        max-width: 100%;
        padding: 10px 30px;
        margin: 0;
    }

    h1 {
        font-size: 25px;
    }

    h2 {
        max-width: 80%;
        margin-left: 10%;
        font-size: 18px;
    }

    .grid {
        display: flex;
        flex-direction: column;
        margin: 5% 10%;
        padding-bottom: 10px;
    }



    #bio {
        padding: 10px 30px 0 30px;

    }

    #equipa img {
        width: 100%;
    }

    #photogaleria img {

        width: 100%;
    }

    #photogaleria {
        flex-direction: column;
        gap: 0;
    }







    /*
    .photo {
        display: none;

    }

   
  

    #bio {
        width: 40%;
        text-align: right;
        margin-left: 55%;
        padding-right: 5px;
        padding-top: 15px;

    }

    /*
    #patricia {
        background-image: url(images/PatriciaM.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        min-height: 600px;
    }*/

    .youtube {
        margin-left: 0;
        margin-right: 0;
    }

    #mc_embed_signup {
        width: 100% !important;
    }

    #more {
        display: none;
    }

    #dots,
    #myBtn {
        display: initial;
    }

    #myBtn {
        text-decoration: underline;
        text-decoration-color: #FECC00;
        padding-left: 15px;
        cursor: pointer;
    }

    #coord a {
        text-decoration: underline;
        text-decoration-color: #e40327;
    }

    #mailchimp {
        margin-left: 0;
    }

    .prev,
    .next {
        top: 25%;

    }












}