/* Layout para imagem, texto e vídeo na home */
.home-media-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
}
.home-media-layout .img3 {
    flex: 1 1 33%;
    max-width: 220px;
    height: auto;
}
.home-media-layout .home-text {
    flex: 2 1 34%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
.home-media-layout .home-video {
    flex: 1 1 33%;
    max-width: 250px;
    height: auto;
}

@media (max-width: 1024px) {
    .home-media-layout {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .home-media-layout .img3,
    .home-media-layout .home-video {
        max-width: 100%;
        width: 100%;
    }
    .home-media-layout .home-text {
        width: 100%;
        text-align: center;
        align-items: center;
    }
}
body {
font-family: "Comic Sans MS", "Chalkboard SE", "Marker Felt", sans-serif;
margin: 0;
background-color: #f4f4f4;
}

/* Telemóvel */
@media (max-width: 600px) {
    main {
        max-width: 80%;
        padding: 10px;
        margin: 20px auto;
    }
    .imgheader {
        height: 60px;
        left: 19px;
        top: 25%;
        display: none;
    }
    .imgheader2 {
        height: 60px;
        right: 19px;
        top: 25%;
        display: none;
    }
    .img {
        height: 130px;
        width: 100%;
    }
    .home-container {
        flex-direction: column;
    }
    .topic-container {
        flex-direction: column;
        align-items: center;
    }
    .topic-container .img {
        width: 100%;
        height: auto;
        align-items: center;
        margin-bottom: 22px;
    }
    .topic-container .topic-menu {
        width: 100%;
    }

    .edit {
        position: static;
        left: auto;
        right: auto;
        transform: none;
        text-align: center;
        flex-direction: column;
        width: 100%;
        margin: 10px 0;
    }

    .edit-text {
        position: static;
        left: auto;
        right: auto;
        transform: none;
        text-align: center;
        flex-direction: column;
        width: 100%;
    }

}
/* Tablet */
@media (min-width: 601px) and (max-width: 1024px) {
    main {
        max-width: 85%;
        padding: 10px;
    }
    .imgheader {
        height: 90px;
        left: 15px;
        top: 20%;
    }
    .imgheader2 {
        height: 90px;
        right: 15px;
        top: 20%;
    }
    .img {
        height: 180px;
    }

    .edit {
        position: static;
        left: auto;
        right: auto;
        transform: none;
        text-align: center;
        width: 100%;
        margin: 20px 0;
        height: 100px;
    }

    .edit-text {
        position: static;
        left: auto;
        right: auto;
        transform: none;
        text-align: center;
        width: 100%;
    }
}
/* Computador */
@media (min-width: 1025px) {
    main {
        max-width: 600px;
    }
    .imgheader{
        height: 190px;
        left: 20px;
        top: 17%;
    }
    .imgheader2{
        height: 190px;
        right: 20px;
        top: 17%;
    }
}

header {
background-color: #853042;
color: white;
padding: 26px;
text-align: center;
}

main {
max-width: 90%;
margin: 40px auto;
background-color: #ecb5c1;
padding: 30px;
border-radius: 10px;
}

.button {
background-color: #fff;
border-radius: 10px;
padding: 10px;
box-shadow: 0 4px 10px rgba(0,0,0,0.08);
cursor: pointer;
font-family: "Comic Sans MS", "Chalkboard SE", "Marker Felt", sans-serif;
}

.button a {
text-decoration: none;
color: inherit;
}

.topic-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin: 5px 0;
}

.topic-container .img {
    flex: 0 0 auto;
    bottom: -50px;
    position: relative;


}

.topic-container .topic-menu {
    flex: 1;
    background-color: #f8d3db;
    border-radius: 30px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.topic-container .topic-menu h2 {
    margin: 0 0 10px 0;
}

.topic-container .topic-menu .button {
    display: inline-block;
    margin: 5px 0;
    text-align: center;
    width: auto;
}

.audio-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

#interesses-lista {
    display: none;
    list-style-type: disc;
    padding-left: 20px;
}

#kins-lista {
    display: none;
    list-style-type: disc;
    padding-left: 20px;
}

/* Dropdown menu */
.dropdown {
position: relative;
display: inline-block;
}

.dropdown-content {
display: none;
position: absolute;
min-width: 160px;
border-radius: 10px;
z-index: 5;
}

.dropdown:hover .dropdown-content {
display: block;
}

.imgheader{
    position: absolute;
    height: 190px;
    left: 20px;
    top: 17%;
    border-radius: 10px;
    transform: translateY(-50%);
}

.imgheader2{
    position: absolute;
    height: 190px;
    right: 20px;
    top: 17%;
    border-radius: 10px;
    transform: translateY(-50%);
}

.img{
    border-radius: 10px;
    height: 210px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    }

.img2{
    height: 190px;
}

.img3{
    height: 190px;
    border-radius: 10px;
}

.home-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-text {
    flex: 2;
}

.edit {
    position: absolute;
    height: 60px;
    top: 100%;
    text-align: left;
    transform: translateX(95%);
}

.edit-text {
    position: relative;
    top: -20%;
    right: 190px;
    text-align: left;
    transform: translateX(-12.5%);

}

.contact-container {
    display: flex;
    align-items: center;
    gap: 1px;
}

.contact-text {
    flex: 1;
}

section {
margin-bottom: 30px;
}