@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Montserrat+Alternates:wght@500&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Dela+Gothic+One&family=Montserrat+Alternates:wght@500&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    color: #DEDEDE;
}

body {
    background-color: #040404;
}

header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 80%;
    margin: 0 auto;
}
.logo{
    width: auto;
}
header ul {
    display: flex;
    gap: 75px;
    align-items: center;
    list-style: none;
}

header li {
    transition: 0.2s;
    text-align: center;
}

header a {
    text-decoration: none;
    text-transform: uppercase;
    color: #DEDEDE;
    font-size: 14px;
}

#burger {
    background: none;
    border: none;
    margin-right: 15px;

}

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 21px;
    width: 30px;
    z-index: 50;
    cursor: pointer;
}

.burger span {
    height: 3px;
    width: 100%;
    background: rgb(255, 255, 255);
    border-radius: 5px;
}

footer {
    margin: 2% 7%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.img-footer {
    width: 30%;
}

.img-footer img {
    width: 100%;
}

.link-cntr {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.links-cntr1,
.links-cntr2 {
    display: inline-flex;
    flex-direction: column;
    gap: 20px;
}

footer a,
footer p {
    color: #a7a7a7;
}

.icons-links {
    display: flex;
    align-items: center;
    gap: 50px;
}

header li:hover {
    transform: scale(1.05);
}

.link-cntr a {
    transition: 0.2s;
}

.link-cntr a:hover {
    transform: scale(1.05);
}

.tlt {
    font-family: 'Montserrat Alternates';
    font-weight: 500;
    font-size: 40px;
    text-transform: uppercase;
    color: #DEDEDE;
    text-align: center;
}

.caption {
    font-family: 'Cormorant Garamond';
    font-weight: 300;
    font-size: 64px;
    color: #CBC2AD;
}

.inf-txt,
.styles li {
    font-weight: 500;
    font-size: 20px;
    color: #8D8D8D;
    padding: 20px 0;
}

.styles {
    list-style: none;
}

.type-s,
.type-t {
    margin: 7%;
}

.type-f {
    margin: 1% 7%;
}

.footnote {
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    color: #4E4E4E;
}
.type-f img, .type-s img, .type-t img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.container-type-f {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    grid-auto-flow: row;
    grid-template-areas:
        "i1 i2"
        "i1 i3";
}

.i2 {
    grid-area: i2;
}

.i1 {
    grid-area: i1;
    justify-items: stretch
}

.i3 {
    grid-area: i3;
    justify-items: stretch
}

.cntr {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
}

.container-type-s {
    margin: 50px 0;
    display: grid;
    grid-template-columns: 2fr 3fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px 20px;
    grid-auto-flow: row;
    grid-template-areas:
        "img1 img2"
        "img1 img3";
}

.img2 {
    grid-area: img2;
}

.img1 {
    grid-area: img1;
}

.img3 {
    grid-area: img3;
}

.balet-text {
    display: flex;
    gap: 50px;
    justify-content: space-evenly;
}

.balet-text ul {
    width: 100%;
}

.container-type-t {
    display: grid;
    grid-template-columns: 2fr 3fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    grid-auto-flow: row;
    justify-items: end;
    grid-template-areas:
        "imge2 imge1"
        "imge3 imge1";
}

.imge2 {
    grid-area: imge2;
    justify-self: stretch;
}

.imge1 {
    grid-area: imge1;
    justify-self: stretch;
}

.imge3 {
    grid-area: imge3;
    justify-self: stretch;
}

.cntr3 {
    margin-top: 50px;
    display: flex;
    gap: 50px;
}

.type-f::after {
    content: url(Vector.svg);
    position: absolute;
    z-index: -1;
    right: 0;
    top: 70%;
    transform: rotate(-180deg);
}

.type-t::before {
    content: url(Vector.svg);
    position: absolute;
    z-index: -1;
    left: -10%;
    bottom: -260%;
    transform: rotate(-100deg);
    scale: 1.1;
}


@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .links {
        display: none;
    }

    header {
        justify-content: space-between;
    }

    .links {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        background-color: black;
        justify-content: center;
        align-items: flex-start;
        gap: 10px;
        z-index: 5;
        transition: .1s all linear;
        transform: translateX(-120%);

    }

    .links.open {
        transform: translateX(0%);
    }

    .links.open li {
        padding: 20px 100px;
    }

    footer a,
    footer p {
        font-size: 12px;
    }

    footer {
        gap: 10px;
    }
    .tlt{
        font-size: 30px ;
    }
    .caption{
        font-size: 48px;
    }
    .inf-txt, .styles li{
        font-size: 16px;
    }
    .cntr, .balet-text{
        flex-direction: column-reverse;
        gap: 0;
    }
    .cntr3{
        flex-direction: column;
    }
    .type-t::before, .type-f::after{
        scale: 0.7;
    }
    .container-type-f{
        margin-bottom: 50px;
    }
    .container-type-f {
        grid-template-columns: 2fr 3fr;
        grid-template-rows: .5fr .5fr;
    }
    .container-type-t {
        grid-template-columns: 3fr 2fr;
    }
}

@media (max-width:426px){
    .links{
        font-size: 14px;
    }
    .logo{
        width: 150px;
    }
    header a{
        font-size: 12px;
    }
    .links.open li {
        padding: 20px 50px;
    }
    footer a,
    footer p {
        font-size: 10px;
    }
    .img-footer{
        scale: 0;
    }
    .icons-links img{
        width: 30px;
    }
    footer{
        margin: 7%;
    }
    .type-t::before, .type-f::after{
        scale: 0;
    }
    .cntr, .cntr3{
        margin-top: 20px;
    }
    .container-type-f{
        margin-bottom: 20px;
    }
    .container-type-s{
        margin: 20px 0;
    }
    .cntr3{
        gap: 20px;
    }
    .tlt{
        font-size: 24px ;
    }
    .caption{
        font-size: 32px;
    }
    .inf-txt, .styles li{
        font-size: 14px;
        padding: 5px 0;
    }
}