/* Header */

.header {
    position: relative;
    width: 100vw; 
    margin: 0;
}
.header__container {
    position: relative;
    max-width: 1173px;
    margin: 0 auto;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    
}
.header__content{
    min-height: 144px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header__log {
    font-size: 24px;
    font-weight: 900;
    color: rgba(48, 18, 78, 1);
    letter-spacing: 2px;
}
.menu {
    width: 75%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu__list {
    width: 45%;
    display: flex;
    gap: 54px;
}
.menu__link {
    font-weight: 800;
    font-size: 14.4px;
    color: rgba(48, 35, 61, 1);
    letter-spacing: 2px;

}
.menu__contacts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 26%;
}
.menu__text {
    font-weight: 800;
    font-size: 14.4px;
    color: rgba(48, 18, 78, 1);
    letter-spacing: 2px;
}
.menu__burger {
  width: 27px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: transparent; 
}
.menu__line {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(48, 35, 61, 1);
}

.menu__line:last-child {
  width: 70%; 
  align-self: flex-end; 
}

.about {
    position: relative;
    width: 100vw; 
    margin: 0;
    background-size: cover;
    overflow: hidden;
}

.about__container{
    position: relative;
    z-index: 2;
    max-width: 1173px;
    margin: 0 auto;
}

.about__title {
    margin-top: 108px;
    color: rgba(246, 16, 103, 1);
    font-weight: 500;
    font-size: 54px;
}
.about__subtitle {
    margin-top: 30px;
    color: rgba(48, 35, 61, 1);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 4px;
    margin-bottom: 141px;
    text-transform: uppercase;
}


/* Gallery */

.gallery {
}
.gallery__container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 1vw;
    box-sizing: border-box;
    display: grid;
    grid-template-areas:
        "photo1 photo2"
        "photo3 photo3"
        "photo4 photo5";
    grid-template-columns: 1fr 1fr;
    gap: 2vw;
}

.gallery__photo{
    position: relative;
    overflow: hidden;

}

.gallery__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.gallery__photo:nth-child(1) {
    grid-area: photo1;
    margin-right: -15%;
    z-index: 1;
}
.gallery__photo:nth-child(2) {
    grid-area: photo2;
    margin-left: 6%;
    z-index: 2;
}
.gallery__photo:nth-child(3) {
    grid-area: photo3;
    margin-top: -10%;
    z-index: 1;
}
.gallery__photo:nth-child(4) {
    grid-area: photo4;
    margin-right: -11%;
    margin-top: -14%;
    z-index: 2;
}
.gallery__photo:nth-child(5) {
    grid-area: photo5;
    margin-left: -15%;
    margin-top: -5%;
    z-index: 1;
}



.gallery__photo:nth-child(1)::after,.gallery__photo:nth-child(5)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(94, 35, 157, 1);
    mix-blend-mode: multiply;
    z-index: 1;
}

.gallery__photo:nth-child(2)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 91%;
    background: rgba(0, 240, 181, 1);
    mix-blend-mode: multiply;
    z-index: 1;
}

.gallery__photo:nth-child(4)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 240, 181, 1);
    mix-blend-mode: multiply;
    z-index: 1;
}

.gallery__photo:nth-child(3)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(246, 16, 103, 1);
    mix-blend-mode: multiply;
    z-index: 1;
}

.gallery__text {
    position: absolute;
    bottom: 44.5vw;
    left: 17.5vw;
    z-index: 10;
}


.gallery__photo:nth-child(2) .gallery__text {
    left: 9.5vw;
}



.gallery__name {
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: white;
}
.gallery__desc {
    padding-top: 22px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: white;
}


/* Testimonials */

.testimonials {
    position: relative;
    padding: 0 20px;
    margin-top: 180px;
}

.testimonials__container {
    position: relative;
}
.testimonials__bg {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 67px;
}

.bg__main-circle-container {
    position: relative;
    width: 460px;
    height: 460px;
}

.bg__circle {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.bg__quotes {
    position: absolute;
    bottom: -50px; 
    left: 50%;
    transform: translateX(-50%);
    width: 100px; 
    z-index: 1;
}
.bg__circle-1 { 
    position: absolute;
    top: 20%;
    left: 10%;
}

.bg__circle-2 {
    position: absolute;
    top: 50%;
    left: 21%;
}

.bg__circle-3 {
    position: absolute;
    top: 70%;
    left: 5%;
}

.bg__circle-4 {
    position: absolute;
    top: 60%;
    right: 19%;
}

.bg__circle-5 {
    position: absolute;
    top: 77%;
    right: 0%;
}

.bg__circle-6 {
    position: absolute;
    top: 14%;
    right: 0%;
}

.bg__circle-7 {
    position: absolute;
    top: 41%;
    right: 10%;
}

.testimonials__content {
    max-width: 1144px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    z-index: 1;
}

.testimonials__text-container {
    width: 66%;
    text-align: center;
    
    margin-top: 66px;
}
.testimonials__text {
    font-family: "Noticia Text", sans-serif;
    font-style: italic;
    font-size: 36px;
    text-align: center;
    line-height: 1.7;
    margin-bottom: 48px;
}

.testimonials__subtitle {
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 136px;
}

.testimonials__nav {
    border: 2px solid rgba(246, 16, 103, 1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px; 
    height: 36px; 
    padding: 0;
    cursor: pointer;
    background: none;
    position: relative;
}

.testimonials__nav--left {
    background: rgba(246, 16, 103, 1);
}

.testimonials__nav img {
    width: 11px;
    display: block;
}

@media (max-width: 1183px) {
    .header__container {
        padding: 0 20px;
    }
    .menu__text{
        font-size: 11px;
    }
    
    .menu__list {
        gap: 30px;
    }
    
    .menu__contacts {
        width: 30%;
    }

    .about__container{
        padding: 0 30px;
    }



    .bg__main-circle-container {
        width: 380px;
        height: 380px;
    }

    .gallery__text{
        left: 12.5vw;
    }
}


    



@media (max-width: 826px){
    .menu__list{
        gap: 16px;
        width: 38%;
    }
    .menu__link{
        font-size: 13px;
    }
    .menu__contacts{
        width: 32%;
    }
    .menu__text{
        font-size: 11px;
    }

    .bg__main-circle-container{
        width: 300px;
        height: 300px;
    }

    .bg__circle-1 {
        top: -2%;
        left: -5%;
    }

    .bg__circle-2{
        left: 7%;
    }

    .bg__circle-3{
        top: 78%;
        left: 0;
    }

    .bg__circle-6{
        top: 0;
    }

    .bg__circle-7{
        top: 47%;
        right: -4%;
    }

    .bg__circle-4 {
        top: 60%;
        right: 10%;
    }

    .bg__quotes{
        bottom: -32px;
        width: 65px;
    }

    .gallery__text{
        bottom: 41.5vw;
    }

    .gallery__name{
        font-size: 14px;
    }
    .gallery__desc{
        font-size: 12px;
    }
}


@media (max-width: 768px) {
    
    .menu {
        width: 100%;
        flex-direction: column;
        margin-top: 20px;
    }
    
    .menu__list {
        display: none;
    }
    
    .menu__contacts {
        display: none;
    }

    .menu__burger{
        align-self: flex-end; 
    }



    .testimonials__text {
        font-size: 26px;
    }

    .gallery__container{
        min-height: 78vh;
    }
}

@media (max-width:662px) {
      .testimonials__bg{
        margin-bottom: 0;
    }

    .testimonials__text {
        font-size: 19px;
    }

    .testimonials__subtitle{
        margin-bottom: 0;
        font-size: 14px;
    }

    .bg__circle-1, .bg__circle-2, .bg__circle-3, .bg__circle-4, .bg__circle-5, .bg__circle-6, .bg__circle-7{
        display: none;
    }   

    .gallery__name{
        font-size: 12px;

    }

    .gallery__desc{
        font-size: 10px;
    }
        
}

@media (max-width:550px) {

    .about__title{
        font-size: 42px;
    }

    .about__subtitle{
        font-size: 11px;
    }

}

@media (max-width:460px) {
    .gallery__container {
        min-height: 66vh;
    }

        .gallery__text {
        bottom: 29.5vw;
    }
    
}
