@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@100..700&family=Lexend:wght@100..900&display=swap');

@font-face {
    font-family: "Clarity City";
    src: url('https://devel.sultorreira.pt/wp-content/themes/sul_torreira_26/assets/fonts/ClarityCity-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Clarity City";
    src: url('https://devel.sultorreira.pt/wp-content/themes/sul_torreira_26/assets/fonts/ClarityCity-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Clarity City";
    src: url('https://devel.sultorreira.pt/wp-content/themes/sul_torreira_26/assets/fonts/ClarityCity-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

* {
    padding: 0;
    margin: 0;
    font-family: "Clarity City", sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.button {
    text-transform: uppercase;
    padding: 15px 25px 15px 25px;
    border-radius: 50px;
    border: 1px solid;

    font-size: calc(12px + 0.5vw)
}

/* Header */
header {
    width: 100%;
    display: flex;
    justify-content: center;

    color: #F0EBE4;
    text-transform: uppercase;

    position: absolute;
    top: 0;
    z-index: 2;
}

header nav {
    width: calc(100% - 4vw);
    margin-top: 20px;
    display: flex;
    flex-flow: row;
}

header nav ul {
    display: flex;
    flex-flow: row;
    margin-left: auto;
    gap: 40px;
    align-items: center;

    font-weight: 300;
    letter-spacing: 25%;
    font-size: calc(11px + 0.2vw);
}

/* Hamburguer button — escondido por defeito */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #F0EBE4;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Estado aberto do botão (X) */
.hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* Animação: começa fora do ecrã à direita */
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.77, 0, 0.18, 1);
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu__close {
    position: absolute;
    top: 24px;
    right: 6vw;
    background: none;
    border: none;
    font-size: 24px;
    color: #1a2e4a; /* azul */
    cursor: pointer;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
	align-items:center;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li a {
    color: #1a2e4a; /* azul */
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: opacity 0.2s;
}

.mobile-menu ul li a:hover {
    opacity: 0.6;
}

/* Footer */

footer {
    background-color: #323D65;
    color: #F0EBE4;
    padding: 60px 0 0;

    font-weight: 300;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    padding: 0 80px 60px;
    gap: 80px;
}

.footer-brand h2 {
    font-size: calc(40px + 1vw);
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;

    font-family: 'Antonio', sans-serif;
}

.footer-brand span {
    font-size: calc(12px + 0.3vw);
    display: block;
    margin-top: 10px;
}

.footer-info {
    display: flex;
    gap: 120px;
    flex: 1;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-info .footer-column:first-of-type>h4:last-of-type {
    margin-top: 20px;
}

.footer-column h4 {
    font-size: calc(10px + 0.2vw);
    font-weight: 300;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
    opacity: 0.5;
}

.footer-column a,
.footer-column p {
    font-size: calc(12px + 0.3vw);
    color: #FFFFFF;
    text-decoration: underline;
    margin: 0;
    line-height: 20px;
}

.footer-column p {
    text-decoration: none;
}

.footer-logos {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
}

.footer-logos img {
    height: 55px;
    width: auto;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: calc(11px + 0.2vw);
}

.footer-bottom a {
    color: #FFFFFF;
    text-decoration: none;
    margin-left: 40px;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-main {
        flex-direction: column;
        padding: 0 40px 40px;
    }

    .footer-info {
        flex-direction: column;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 30px 40px;
    }

    .footer-bottom a {
        margin-left: 0;
    }
}

.overlay {
    background-color: #323D65;
    color: #F0EBE4;
    position: fixed;
    top: 0;
    z-index: 2;

    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    text-transform: uppercase;

    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: space-between;

    background: radial-gradient(circle at center, transparent 26%, #323D65 26%);
}

.overlay img{
margin-top: 20px;
width:130px;
height:auto;
}

.overlay >div{
display: flex;
justify-content: center;
}

.overlay a {
    cursor: pointer;
}

.overlay.expand {
    animation: expandCircle 2s ease-out forwards;
}

.overlay h1,
.overlay h2 {
    font-family: 'Antonio', sans-serif;
    text-align: center;
    letter-spacing: 10%;
}

.overlay h1 {
    font-size: calc(35px + 2vw);
    margin-top: 10px;
    font-weight: 400;
}

.overlay h2 {
    font-weight: 100;
    font-size: calc(16px + 0.5vw);
}


.overlay>div:nth-of-type(2) {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 7.5px;
    margin-bottom: 60px;
}

.overlay>div:nth-of-type(2)>span {
    opacity: 0.5;
    font-size: calc(10px + 0.3vw);
}

.overlay>div:nth-of-type(2)>div {
    display: flex;
    flex-flow: row;
    gap: 5px;
    justify-content: space-between;
    font-size: calc(16px + 0.5vw);
    font-weight: 700;
}

@keyframes expandCircle {
    0% {
        scale: 1;
        visibility: visible;
    }

    100% {
        scale: 5;
        visibility: none;
    }
}

/*Transição entre páginas */
.transition-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 0 200vmax #323D65;
    transition: width 1.5s cubic-bezier(0.85, 0, 0.15, 1),
        height 1.5s cubic-bezier(0.85, 0, 0.15, 1);
}

.transition-overlay.is-open {
    width: 200vmax;
    height: 200vmax;
}

/* Homepage */
.hp {
    width: 100vw;
    height: 100%;

    display: flex;
    flex-flow: column;

    background-color: #F5F5F5;
    overflow-x: hidden;
}

.hp main {

    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
	align-items:center;
    flex-flow: column;
    gap: 100px;

    background-color: #F5F5F5;
    overflow-x: hidden;

}

.hero {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100vh;
    height: 100svh;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.hero .button {
    z-index: 1;
    position: relative;
    color: #F0EBE4;
    margin-bottom: 75px;

}

.section-1 {
    position: relative;
    background-color: #FFFFFF;
    width: 100%;
    min-height: 100vh;
    display:flex;

    overflow: hidden;
}

.section-1>div {
    width: 100%;
    flex:1;

    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;

    gap: 75px;
}

.glr-cont {
    width: 45%;
    height: 100%;

    position: relative;
}

.glr-cont img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.glr-cont img.active {
    opacity: 1;
}

.dots {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7.5px;
    margin-bottom: 20px;
}

.dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    opacity: 0.5;
    border-radius: 50%;
    background-color: #F0EBE4;
    cursor: pointer;
    transition: opacity 0.3s;
}

.dot.active {
    opacity: 1;
}

.txt-cont {
    height: 100%;
    width: 55%;
    color: #323D65;

    display: flex;
    flex-flow: column;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
}

.section-2 h4,
.section-2 h2,
.txt-cont h4,
.txt-cont h2,
.section-3 h4,
.section-3>div:nth-of-type(2)>div:first-of-type span,
.section-4 h4,
.section-4 h2,
.t-el,
.section-5 h2,
main.ct h1,
main.menu>div:first-of-type>div:nth-of-type(2) h1 {
    text-transform: uppercase;
}

.txt-cont h4,
.section-2 h4,
.section-3 h4,
.section-4 h4,
.t-el div span:first-of-type,
.rev-it>div:nth-of-type(3)>span:first-of-type {
    font-size: calc(8px + 0.5vw);
    font-weight: 300;
    letter-spacing: 25%;
}

.txt-cont h2,
.section-2 h2,
.section-4 h2,
.section-5 h2,
main.ct>div:nth-of-type(1) h1,
main.menu>div:first-of-type>div:nth-of-type(2) h1 {
    font-weight: 700;
    font-size: calc(25px + 1vw);
    margin-bottom: 15px;
}

.txt-cont span,
.section-2 span,
.section-3>div:nth-of-type(2)>div:nth-of-type(2) span,
.rev-it>div:nth-of-type(2)>span,
main.menu>div:first-of-type>div:nth-of-type(2) span {
    font-size: calc(10px + 0.390625vw);
    font-weight: 300;
    line-height: 160%;
    width: 70%;
}

.section-2 {
    width: 100%;
    min-height: 100vh;

    position: relative;

    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: space-between;

    color: #323D65;
    transition: all 0.3s ease;
}

.section-2>div {
	position:absolute;
	top:75px;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
}

.section-2 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: circle(20% at 50% 50%);
}

.section-2 span {
	position:absolute;
	bottom:75px;
    text-align: center;
    width: 50%;
}

.section-3 {
    width: 100%;
    min-height: 100vh;

    display: flex;
    flex-flow: column;
    align-items: center;

    color: #323D65;
}

.section-3>div {
    width: 100%;
    flex:7;
    position: relative;
}

.section-3>div img {
    position: absolute;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-3>div img.active {
    opacity: 1;
}

.section-3>div:nth-of-type(2) {
   	flex:3;
    width: 90%;

    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
}

.section-3>div:nth-of-type(2) div {
    width: 50%;
}

.section-3>div:nth-of-type(2)>div:nth-of-type(2) {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-3>div:nth-of-type(2)>div:nth-of-type(2) span {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s;
    width: 100%;
}

.section-3>div:nth-of-type(2)>div:nth-of-type(2) span div {
    width: 100%;
}

.section-3>div:nth-of-type(2)>div:nth-of-type(2) span.active {
    opacity: 1;
}

.section-3>div:nth-of-type(2)>div:first-of-type {
    display: flex;
    flex-flow: column;
    gap: 15px;
}

.section-3>div:nth-of-type(2)>div:first-of-type>div {
    display: flex;
    flex-flow: column;
    gap: 5px;
}

.section-3>div:nth-of-type(2)>div:first-of-type span {
    display: flex;
    flex-flow: column;
    font-weight: 700;

    font-size: calc(16px + 1vw);
    color: hsla(227, 34%, 30%, 0.300);

    cursor: pointer;
    transition: color 0.3s;
}

.active {
    color: #323D65 !important;
}

.section-4 {
    width: 100%;
    min-height: 100vh;

    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 25px;

    background-color: #FFFFFF;
    color: #323D65;

    text-align: center;

    overflow-x: hidden;
}

.section-4>div {
    margin-top: 50px;
    display: flex;
    flex-flow: column;
    align-self: center;
    justify-content: center;
    gap: 20px;
}

.t-cont {
    width: 100%;
    overflow: hidden;
}

.t-slide {
    width: 100%;
    display: flex;
    flex-flow: row;
    /* align-items: center;
    justify-content: center; */
    gap: 50px;

    transition: transform 0.5s ease;
}

.t-el {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-shrink: 0;
}

.t-el div {
    display: flex;
    flex-flow: column;
    align-items: center;
}

.t-el div span:first-of-type {
    font-size: calc(6px + 0.390625vw);
}

.t-el div span:nth-of-type(2) {
    font-size: calc(21px + 0.390625vw);
    font-weight: 700;
    line-height: 160%;
}

.t-el img {
    border-radius: 50%;
    aspect-ratio: 1/1;
    width: 60%;
    object-fit: cover;
    object-position: center;

    transition: width 0.5s ease;
}

.selected img {
    width: 100%;
}

.section-5 {
    background-color: #323D65;
    color: #F0EBE4;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    gap: 100px;
    position: relative;
}

.rev-cont {
    width: 75%;
    /* LIMITAR A LARGURA */
    overflow: hidden;
    position: relative;
}

.rev-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 50px;
}

.rev-it {
    flex: 0 0 calc((100% - 100px) / 3);
    /* 100px = 2 gaps de 50px */
    display: flex;
    flex-flow: column;
    gap: 50px;
}

.rev-it>div:first-of-type {
    display: flex;
    flex-flow: row;
    gap: 5px;
}

.cr-rev {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(240, 235, 228, 0.5);
}

.cr-rev.active {
    background-color: rgba(240, 235, 228, 1);
}

.rev-it>div:nth-of-type(3) {
    display: flex;
    flex-flow: column;
    gap: 5px;
}

.rev-it>div:nth-of-type(3)>span:nth-of-type(2) {
    font-size: calc(20px + 0.5vw);
    font-weight: 300;
}

.section-6 {
    width: 100%;
    min-height: 90vh;
    overflow: hidden;
    margin-bottom: 100px;
    position: relative
}

.section-6>div {
    width: 100%;
    height: 100%;
    display: flex;
    display: flex;
    flex-flow: row;
    gap: 20px;
}

.section-6 img {
    width: 65%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
}

/* Contactos */

.f-hd {
    color: #323D65;
    position: static;
}

.f-hd .hamburger span{
	background-color: #323D65;
}

main.ct {
    margin-top: 100px;
    width: calc(100% - 4vw);
    min-height: 100vh;

    display: flex;
    flex-flow: row;
    align-items: flex-start;
    justify-content: center;

    align-self: center;

    color: #323D65;
}

main.ct span {
    font-size: calc(16px + 0.390625vw);
    font-weight: 300;
    line-height: 160%;
    width: 100%;
}

main.ct>div:first-of-type,
main.ct>div:nth-of-type(2) {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

main.ct>div:nth-of-type(1) {
    display: flex;
    flex-flow: column;
    gap: 20px;

    align-items: flex-start;
    justify-content: space-between;
}

main.ct h1 {
    margin-bottom: 0px !important;
}

main.ct>div:first-of-type>div:first-of-type {
    display: flex;
    flex-flow: column;
    gap: 0px;
}

main.ct>div:nth-of-type(2) img {
    aspect-ratio: 1/1;
    border-radius: 50%;
    width: 90%;
    object-fit: cover;
}

main.ct>div:first-of-type>div:first-of-type {
    display: flex;
    flex-flow: column;
    gap: 0px;
}

main.ct>div:first-of-type>div:nth-of-type(2)>form {
    width: 100%;
    display: flex;
    flex-flow: column;
    gap: 20px;
}

main.ct>div:first-of-type>div:nth-of-type(2)>form>div:first-of-type,
main.ct>div:first-of-type>div:nth-of-type(2)>form>div:first-of-type>p {
    display: flex;
    flex-flow: row;
    gap: 20px;
    justify-content: space-between;
}

main.ct>div:first-of-type>div:nth-of-type(2)>form>div:first-of-type input {
    width: 100%;
}

main.ct input,
main.ct textarea {
    width: 100%;

    background-color: transparent;
    border: none;
    border-bottom: solid 1px #323D65;
    color: #323D65;
    padding-bottom: 10px;

    font-size: calc(10px + 0.3vw);
    resize: vertical;
    outline: none;
}

main.ct input:focus,
main.ct textarea:focus {
    outline: none;
    border-bottom: solid 2px #323D65;
}

main.ct .sub-button {
    width: auto;
    background-color: transparent;
    border: none;
    border-bottom: solid 1px #323D65;
    align-self: flex-end !important;
    padding-bottom: 0;
    color: #323D65;
    font-weight: 300;

    font-size: calc(14px + 0.3vw);

}

fieldset {
    border: none;
}

.wpcf7-form-control-wrap {
    display: contents;
}

main.ct>div:first-of-type>div:nth-of-type(3) {
    width: 100%;
    display: flex;
    flex-flow: row;
    margin-top: 100px;
    justify-content: space-between;
    gap: 20px;
}

main.ct>div:first-of-type>div:nth-of-type(3) a {
    width: calc(100% - 20px);
    font-size: calc(12px + 0.3vw);
    text-align: center;
    cursor: pointer;
}

main.ct>div:first-of-type>div:nth-of-type(3) a:last-of-type {
    background-color: #323D65;
    color: #F0EBE4;
}

/* Menu */

#vinhos,
#esplanada {
    display: none;
}

main.menu {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-flow: column;
    gap: 100px;
    align-items: center;
    justify-content: center;
    color: #323D65;
    margin-top: 25px;

}

main.menu>div:first-of-type {
    width: 100%;
    height: 85vh;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

main.menu>div:first-of-type>div:first-of-type {
    height: 80%;
    width: 100%;
    overflow: hidden;
}

main.menu>div:first-of-type>div:first-of-type img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

main.menu>div:first-of-type>div:nth-of-type(2) {
    margin-top: 50px;
    height: 20%;
    width: 90%;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: flex-start;
}

main.menu>div:nth-of-type(2) {
    width: 100%;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 200px;
}

main.menu>div:first-of-type>div:nth-of-type(2) span,
main.menu>div:first-of-type>div:nth-of-type(2) h1 {
    width: 50%;

}

main.menu>div:nth-of-type(2)>ul {
    width: 90%;
    display: flex;
    flex-flow: row;
    gap: 15px;

    text-transform: uppercase;
    padding-bottom: 25px;
    border-bottom: solid 1px #323D65;
}

main.menu>div:nth-of-type(2)>ul li {
    opacity: 0.5;
    letter-spacing: 25%;
    font-weight: 700;

    font-size: calc(16px + 0.3vw);
    cursor: pointer;
    transition: opacity 0.3s;
}

main.menu>div:nth-of-type(2)>ul li.active,
main.menu>div:nth-of-type(2)>ul li:hover {
    opacity: 1;
}

.it-cont {
    width: 90%;
    display: flex;
    flex-flow: column;
}

.it-bx {
    width: 100%;
    display: flex;
    flex-flow: row;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 0 20px 0;
    border-bottom: solid 1px #323D65;
}

.it-bx>div:first-of-type {
    width: 40%;
}

.it-bx h3 {
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 25%;
    font-size: calc(13px + 0.3vw);
}

.it-lt {
    width: 60%;
    display: flex;
    flex-flow: column;
    gap: 20px;
}

.it-lt-rp {
    width: 100%;
    display: flex;
    flex-flow: row;
    gap: 10px;
    justify-content: space-between;
}

.it-lt-rp>div:first-of-type {
    width: 100%;
    display: flex;
    flex-flow: column;
    gap: 5px;
}

.it-lt-rp>div:first-of-type>span:first-of-type,
.it-lt-rp>div:nth-of-type(2)>span {
    font-weight: 700;
}


/* Responsivo */


@media (max-width: 651px) {
    
    header nav ul {
        display: none; /* esconde o menu normal */
    }

    .hamburger {
        display: flex;
    }

    .hp main {
        gap: 50px;
    }

    .hero .button {
        margin-bottom: 100px;
    }

    .section-1 {
        min-height: 100vh;
        height: 100vh;
    }

    .section-1>div {
        flex-flow: column;
        height: 100vh;
        gap: 50px;
        align-items: center;
        justify-content: flex-start;
    }

    .glr-cont {
        height: 25%;
        width: 100%;
        overflow: hidden;
        position: relative;
        flex-shrink: 0;
    }

    .glr-cont img {
        position: absolute;
        top: 0;
        left: 0;
    }

    .section-3 {
        justify-content: flex-start;
        gap: 50px;
        height: 125vh;
  		min-height: 100vh;
        max-height:125vh;
    }

    .section-3>div:nth-of-type(1) {
       	flex: 6;
    }

    .section-3>div:nth-of-type(2) {
        flex:4;
        width: 90%;
        display: flex;
        flex-flow: row;
        align-items: flex-start;
    }

    .section-3>div:nth-of-type(2)>div:nth-of-type(2) {
        align-items: flex-start;
    }

    main.menu>div:first-of-type>div:nth-of-type(2) {
        margin-top: 75px;
    }

    .txt-cont {
        height: 60%;
        width: 90%;
        flex-shrink: 0;
    }

    .txt-cont span {
        width: 100%;
    }

    .t-el {
        width: 100%;
    }

    .selected {
        display: flex;
    }

    .selected img {
        width: 80%;
    }

    .section-5 h2 {
        text-align: center;
    }

    .section-6 {
        height: 50vh;
        margin-bottom: 100px;
    }

    .section-6>div {
        height: 100%;
    }
    
    .section-6 img{
    width:100%;
	}

    main.ct>div:first-of-type>div:nth-of-type(3) {
        width: 100%;
        display: flex;
        flex-flow: column;
        margin-top: 75px;
        gap: 20px;
    }

    main.ct>div:first-of-type>div:nth-of-type(3) a {
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    main.menu>div:nth-of-type(2) {
        margin-top: 50px;
        margin-bottom: 100px;
    }
}

@media (max-width: 750px) {

    main.ct>div:nth-of-type(2) {
        display: none;
    }

    main.ct>div:first-of-type {
        width: 90%;
    }

    main.ct>div:first-of-type>div:nth-of-type(3) a {
        padding: 7.5px 2px 7.5px 2px;
        font-size: calc(10px + 0.5vw);
    }

    .overlay {
        justify-content: space-evenly;
        gap: 450px;
    }

    main.menu>div:nth-of-type(2)>ul {
        flex-flow: column;
    }

    .section-2 {
        height: 75vh;
    }

    .section-4 {
        height: 75vh;
    }

    .section-4>div {
        margin-top: 25px;
    }
}

@media screen and (max-width: 768px) {

    .t-slide {
        gap: 0;
    }

    .t-el {
        width: 100vw;
    }


    .section-5 {
        gap: 50px;
    }

    .rev-cont {
        width: 80%;
    }

    .rev-wrapper {
        gap: 20px;
    }

    .rev-it {
        flex: 0 0 100%;
    }

    .cr-rev {
        width: 12px;
        height: 12px;
    }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
    .rev-cont {
        width: 80%;
    }

    .rev-wrapper {
        gap: 30px;
    }

    .rev-it {
        flex: 0 0 calc((100% - 30px) / 2);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .t-slide {
        gap: 20px;
    }

    .t-el {
        width: calc((100vw - 20px) / 2);
    }
}


@media (min-width: 1025px) {
    .t-el {
        width: calc((100vw - 100px) / 3);
    }
}



/* Som */
.sound-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(50, 61, 101, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    cursor: pointer;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.sound-toggle:hover {
    background: rgba(50, 61, 101, 1);
    transform: scale(1.1);
}

.sound-toggle svg {
    width: 24px;
    height: 24px;
}

.sound-toggle .sound-off {
    display: none;
}

.sound-toggle.muted .sound-on {
    display: none;
}

.sound-toggle.muted .sound-off {
    display: block;
}

.sound-toggle:not(.muted)::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: soundPulse 2s infinite;
}

@keyframes soundPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}