@font-face {
    font-family: 'TBC Contractica';
    src: url('Fonts/TBCContractica-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TBC Contractica-Medium';
    src: url('Fonts/TBCContractica-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TBC Contractica-Bold';
    src: url('Fonts/TBCContractica-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TBC Contractica Caps-Bold';
    src: url('Fonts/TBCContracticaCAPS-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #FFF7F5;

}

.gallery {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    margin-left: 60px;
}

.track {
    display: flex;
    width: 500%;
    height: 100%;
    transition: transform 0.3s ease;
}

.slide {
    width: 20%;
    height: 100%;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: rgba(255, 255, 255, 0);
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-prev {
    left: 8px;
}

.nav-next {
    right: 8px;
}

.dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.5);
}

.dot.active {
    background: #fff;
}

.gallery:hover .nav-btn {
    background: rgba(255, 255, 255, 0.5);
}



main {
    border-top: solid black;
    display: flex;
    padding: 42px 80px 0px 80px;
    background-color: #FFF7F5;
    flex-wrap: wrap;

}

main.g {
    padding-bottom: 230px;
    flex-wrap: wrap;
}





header {
    display: flex;
    justify-content: space-between;
    padding: 42px 80px;
    background-color: #FFF7F5;
    position: relative;
    z-index: 2;
}



header nav {
    display: flex;
    align-self: center;
    gap: 40px;
}

header a {
    font-family: TBC Contractica-Medium;
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    text-decoration: none;
    color: #000000;

}

header a img {
    vertical-align: middle;
}

header a:hover {
    color: #E42237;

}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-link {
    font-family: TBC Contractica-Medium;
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);

    width: 172px;
    background: #f5efef;
    border: 2px solid #555;
    border-radius: 11px;
    overflow: hidden;

    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: 18px 5px;
    text-align: center;
    text-decoration: none;
    font-family: TBC Contractica;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
    border-bottom: 1px solid #777;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}


footer {
    background-color: #353339;
    display: flex;
    margin-top: 50px;
}

footer img {
    margin: 44px 0px 67px 126px;
}

h3 {
    display: inline-block;
    font-family: TBC Contractica-Medium;
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #FFF7F5;
    margin-bottom: 40px;


}

footer a {

    color: #FFF7F599;
    font-family: TBC Contractica;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;

}

div.flex-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

div.nav {
    margin: 40px 0px 0px 223px;

}

div.socials-foot {
    display: flex;
}

div.socials-links {
    display: flex;
    height: 5px;
    align-content: center;
    gap: 10px;

}

.socials-links a {
    width: 40px;
}


div.fasade-text {
    max-width: 60%;
    flex-shrink: 0;
}

div.fasade-text-light {
    max-width: 51%;
}



h1 {
    font-family: TBC Contractica-Medium;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0%;
    margin-bottom: 20px;

}

p {
    font-family: TBC Contractica;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;
    margin-top: 20px;

}

h2 {
    font-family: TBC Contractica-Medium;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;
    margin-top: 20px;

}

h3.gsurt {
    font-family: TBC Contractica-Medium;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #000000;
    margin-top: 20px;

}

p.gsurt {
    font-family: TBC Contractica-Medium;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;
    margin-top: -20px;

}

p.last {
    margin-top: -20px;
}

p.chiri {
    font-family: TBC Contractica-Medium;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;

}


div.fasade-gallery {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    flex-basis: 500px;
    max-width: 500px;
    align-items: center;
}

div.gallery-contacts {
    display: flex;
    gap: 22px;
}

div.gallery-contacts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.gallery-contacts-list a {
    text-decoration: none;
    font-family: TBC Contractica;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #000000;

}

.gallery-contacts-list a.mail {
    font-family: TBC Contractica;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 0%;
    text-decoration-skip-ink: auto;

    color: #000000;

}

p.dagvi {
    font-family: TBC Contractica-Medium;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;

}

h1.print {
    font-family: TBC Contractica-Medium;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0%;

}

h2.print {
    font-family: TBC Contractica-Medium;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0%;

}

h3.print {
    font-family: TBC Contractica-Medium;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #000000;
    margin: 10px 0px 0px 0px;

}

p.variants {
    font-family: TBC Contractica-Medium;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;
    padding: 10px;
    border: black solid 1px;
    border-radius: 11px;

}

div.variants {
    display: flex;
    justify-content: space-between;
    gap: 21.8px;
}