:root {
    --font-family: 'Oswald', sans-serif;
    --basic-font-family: 'Mulish', sans-serif;
    --enabled-text-color: #FFFFFF;
    --hover-text-color: #FF3C3C;
    --dark-background-color: #222222;
    --light-background-color: #FFFFFF;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

.header {
    background-color: var(--dark-background-color);
    width: 100%;
    height: 60px;
}

.header-container {
    display: grid;
    place-items: center;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
}

.border {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
}

.header-icon {
    width: 50%;
    height: 100%;
}

.header-icon img {
    margin-left: 20px;
    margin-top: 20px;
}

.burger {
    display: none;
}

.header-nav {
    width: 50%;
}

.header-nav ul{
    display: flex;
    flex-direction: row;
    margin-top: 18px;
    gap: 40px;
    margin-left: auto;
    justify-content: flex-end;
    padding-right: 20px;
}

.header-nav li {
    list-style: none;
}

.header-nav a {
    white-space: nowrap;
    text-decoration: none;
    font-family: var(--font-family);
    text-transform: uppercase;
    color: var(--enabled-text-color);
    font-size: 16px;
}

.header-nav a:hover {
   color: var(--hover-text-color);
   transition: var(--transition);
}

.hero {
    width: 100%;
    height: 862px;
    background: var(--dark-background-color);
}

.hero-container {
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.hero-firstContainer {
    height: 742px;
    max-width: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    gap: 12px;
}

.firstContainer-text, .firstContainer-year {
    white-space: nowrap;
    color: var(--enabled-text-color);
    font-family: var(--basic-font-family);
    font-size: 12px;
    transform: rotate(-90deg);
}

.firstContainer-text {
    margin-bottom: 22px;
}

.firstContainer-year {
    margin-bottom: 22px;
}

.firstContainer-line {
    border-left: 1px solid #FFFFFF;
    width: 1px;
    height: 536px;
    margin-left: 30px;
    margin-bottom: -8px;
}

.hero-secondContainer {
    height: 100%;
    display: flex;
}

.secondContainer-main {
    max-width: 725px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 160px;
}

.mainNumbers {
    height: 86px;
    display: flex;
    flex-direction: row;
    gap: 60px;
}

.photoSessions, .clients {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.photoSessionsNumbers, .clientsNumbers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plus, .numbers {
    color: var(--enabled-text-color);
    font-family: var(--font-family);
    font-size: 48px;
    line-height: 54px;
    font-weight: 300;
}

.photoSessionText, .clientsText {
    color: var(--enabled-text-color);
    font-family: var(--basic-font-family);
    font-size: 16px;
    line-height: 24px;
}

.mainContainer-firstText {
    max-width: 100%;
}

.mainContainer-firstText h1{
    color: var(--enabled-text-color);
    font-family: var(--font-family);
    max-width: 100%;
    font-size: 116px;
    font-weight: 300;
    line-height: 132px;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}

.mainContainer-secondText {
    color: var(--enabled-text-color);
    font-family: var(--font-family);
    font-size: 20px;
    line-height: 28px;
    text-transform: uppercase;
    margin-top: 40px;
}

.mainContainer-scroll {
    margin-top: 120px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    cursor: pointer;
    width: 119px;
}

.hoverdScrollSvg {
    display: none;
}

.mainContainer-scroll:hover .mainContainer-scrollText{
    color: var(--hover-text-color);
    transition: var(--transition);
}

.mainContainer-scroll:hover .mainContainer-scrollSvg {
    display: none;
    transition: var(--transition);
}

.mainContainer-scroll:hover .hoverdScrollSvg {
    display: block;
    transition: var(--transition);
}

.mainContainer-scrollText {
    color: var(--enabled-text-color);
    font-family: var(--basic-font-family);
    font-size: 16px;
    line-height: 24px;
}

.secondContainer-firstImg {
    max-width: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 55px;
}

.outer-container {
    width: 220px;
    height: 220px;
    overflow: hidden;
}

.secondContainer-firstImg img {
    max-width: 220px;
    height: auto;
    margin-top: -35px;
}

.secondImgContainer {
    max-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 40px;
}

.secondContainer-img img{
    margin-top: 60px;
    max-width: 280px;
    height: auto;
}

.secondContainer-text {
    display: flex;
    align-self: flex-end;
    font-family: var(--basic-font-family);
    color: var(--enabled-text-color);
    width: 220px;
    height: 72px;
    text-align: end;
    line-height: 24px;
    margin-bottom: 60px;
}

.about {
    width: 100%;
    height: 748px;
    background: var(--light-background-color);
}

.about-container {
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 0 20px 0 20px;
}

.firstAboutCard, .secondAboutCard, .thirdAboutCard {
    max-width: 440px;
    max-height: 628px;
}

.aboutOverlay {
    width: 440px;
    height: 440px;
    overflow: hidden;
}

.aboutImg img{
    max-width: 440px;
    height: auto;
    margin-top: -75px;
}

.aboutTextTitle h2{
    color: var(--dark-background-color);
    font-family: var(--font-family);
    font-size: 32px;
    line-height: 40px;
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 12px;
    font-weight: 400;
}

.aboutText {
    color: var(--dark-background-color);
    font-family: var(--basic-font-family);
    font-size: 16px;
    line-height: 24px;
}

.secondAboutCard {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: -50px;
}

.thirdAboutCard {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: -125px;
}

.portfolio {
    width: 100%;
    height: 914px;
    background: var(--dark-background-color);
    padding-top: 60px;
}

.portfolio-container {
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.portfolioTitle h2{
    color: var(--enabled-text-color);
    font-family: var(--font-family);
    font-size: 32px;
    line-height: 40px;
    margin-left: 20px;
    text-transform: uppercase;
    font-weight: 400;
}

.portfolioText {
    color: var(--enabled-text-color);
    font-family: var(--basic-font-family);
    font-size: 16px;
    line-height: 24px;
    width: 360px;
    height: 48px;
    margin-left: 20px;
    margin-top: 12px;
}

.portfolioImgs {
    display: flex;
    justify-content: center;
    cursor: default;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.portfolioOverlay {
    width: 1435px;
    height: 654px;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 40px;
    scroll-behavior: smooth;
}

.portfolioOverlay img {
    height: auto;
}

.portfolioImg1 img, .portfolioImg5 img, .portfolioImg7 img, .portfolioImg9 img, .portfolioImg18 img {
    width: 400px;
}

.portfolioImg2 img, .portfolioImg4 img, .portfolioImg8 img, .portfolioImg7 img, .portfolioImg20 img {
    width: 280px;
}

.portfolioImg2 img, .portfolioImg5 img, .portfolioImg8 img, .portfolioImg18 img, .portfolioImg20 img{
    margin-top: 120px;
}

.portfolioImg3 img, .portfolioImg6 img, .portfolioImg19 img, .portfolioSecondOverlay {
    margin-top: 220px;
}

.portfolioImg3 img, .portfolioImg6 img, .portfolioImg19 img {
    max-width: 220px;
    height: auto;
    margin-top: -50px;
}

.portfolioSecondOverlay {
    width: 220px;
    height: 220px;
    overflow: hidden;
}

.portfolioOverlay::-webkit-scrollbar {
    display: none;
}

.portfolioOverlay {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scroll-area {
    position: absolute;
    top: 0;
    height: 100%;
    width: 30%;
    z-index: 10;
    cursor: pointer;
}

.scroll-area.left {
    left: 0;
}

.scroll-area.right {
    right: 0;
}

.price {
    width: 100%;
    height: 736px;
    background: var(--light-background-color);
}

.price-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 60px 20px 60px 20px;
}

.priceTitle h2{
    color: var(--dark-background-color);
    font-family: var(--font-family);
    font-size: 32px;
    line-height: 40px;
    text-transform: uppercase;
    font-weight: 400;
}

.priceText {
    color: var(--dark-background-color);
    font-family: var(--basic-font-family);
    font-size: 16px;
    line-height: 24px;
    margin-top: 12px;
    margin-bottom: 40px;
}

.pricePackages {
    max-width: 1400px;
    max-height: 500px;
    display: flex;
    flex-direction: row;
    gap: 40px;
    flex-wrap: wrap;
    margin: 0 auto;
}

.packageMini, .packageClassic, .packageStory, .packageWedding {
    width: 320px;
    height: 500px;
    border: 1px solid #222222;
    padding: 22px;
    display: flex;
    flex-direction: column;
}

.packageMini:hover, .packageClassic:hover, .packageStory:hover, .packageWedding:hover {
    border: 1px solid var(--hover-text-color);
    transition: var(--transition);
}

.pricePackages ul{
    list-style-type: square;
    padding-left: 16px;
    margin-top: 12px;
    width: 272px;
}

.packageTitle {
    color: var(--dark-background-color);
    font-family: var(--font-family);
    font-size: 20px;
    line-height: 28px;
    text-transform: uppercase;
}

.packageOptions li{
    color: var(--dark-background-color);
    font-family: var(--basic-font-family);
    font-size: 16px;
    line-height: 24px;
    padding-bottom: 4px;
}

.packagePrice {
    color: var(--dark-background-color);
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 24px;
    margin-top: 10px;
}

.packageText {
    color: var(--dark-background-color);
    font-family: var(--basic-font-family);
    font-style: italic;
    font-size: 16px;
    line-height: 20px;
    width: 272px;
    margin-top: auto;
    margin-bottom: 12px;
}

button {
    width: 272px;
    height: 60px;
    background-color: var(--dark-background-color);
    color: var(--enabled-text-color);
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    outline: none;
}

.packageMini:hover button, .packageClassic:hover button, .packageStory:hover button, .packageWedding:hover button{
    color: var(--dark-background-color);
    background-color: var(--hover-text-color);
    border-color: var(--hover-text-color);
}

button:hover {
    color: var(--dark-background-color);
    background-color: var(--hover-text-color);
    border-color: var(--hover-text-color);
    transition: var(--transition);
}

.FAQ {
    width: 100%;
    background: var(--dark-background-color);
    min-height: 724px;
}

.faq-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 40px;
    padding: 60px 20px 60px 20px;
}

.faq-firstContainer, .faq-secondContainer {
    width: 50%;
    height: auto;
}

.questionMinus {
    background-color: var(--light-background-color);
    width: 15.5px;
    height: 1.5px;
    border-radius: 0.5px;
    display: none;
}

.questionMinus:hover {
    background-color: var(--hover-text-color);
}

.faqTitle h2{
    color: var(--enabled-text-color);
    font-family: var(--font-family);
    font-size: 32px;
    line-height: 40px;
    text-transform: uppercase;
    font-weight: 400;
}

.faqText {
    color: var(--enabled-text-color);
    font-family: var(--basic-font-family);
    font-size: 16px;
    line-height: 24px;
    margin-top: 12px;
}

.firstQuestion, .secondQuestion, .thirdQuestion, .fourthQuestion,
.fifthQuestion, .sixthQuestion, .seventhQuestion, .eighthQuestion {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.questionLine {
    width: 680px;
    height: 1px;
    background-color: var(--enabled-text-color);
    margin-top: 16px;
}

.questionTitle {
    color: var(--enabled-text-color);
    font-family: var(--font-family);
    font-size: 20px;
    line-height: 28px;
    text-transform: uppercase;
    margin-top: 16px;
}

.hoverdPlus {
    display: none;
}

.firstQuestion:hover .questionTitle,
.secondQuestion:hover .questionTitle,
.thirdQuestion:hover .questionTitle,
.fourthQuestion:hover .questionTitle,
.fifthQuestion:hover .questionTitle,
.sixthQuestion:hover .questionTitle,
.seventhQuestion:hover .questionTitle,
.eighthQuestion:hover .questionTitle {
    color: var(--hover-text-color);
    cursor: pointer;
    transition: var(--transition);
}

.firstQuestion:not(.open):hover .questionPlus,
.secondQuestion:not(.open):hover .questionPlus,
.thirdQuestion:not(.open):hover .questionPlus,
.fourthQuestion:not(.open):hover .questionPlus,
.fifthQuestion:not(.open):hover .questionPlus,
.sixthQuestion:not(.open):hover .questionPlus,
.seventhQuestion:not(.open):hover .questionPlus,
.eighthQuestion:not(.open):hover .questionPlus {
    display: none;
}

.firstQuestion:not(.open):hover .hoverdPlus,
.secondQuestion:not(.open):hover .hoverdPlus,
.thirdQuestion:not(.open):hover .hoverdPlus,
.fourthQuestion:not(.open):hover .hoverdPlus,
.fifthQuestion:not(.open):hover .hoverdPlus,
.sixthQuestion:not(.open):hover .hoverdPlus,
.seventhQuestion:not(.open):hover .hoverdPlus,
.eighthQuestion:not(.open):hover .hoverdPlus {
    display: block;
}

.firstQuestion.open .questionMinus,
.secondQuestion.open .questionMinus,
.thirdQuestion.open .questionMinus,
.fourthQuestion.open .questionMinus,
.fifthQuestion.open .questionMinus,
.sixthQuestion.open .questionMinus,
.seventhQuestion.open .questionMinus,
.eighthQuestion.open .questionMinus {
    display: block;
}

.firstQuestion.open .questionPlus,
.secondQuestion.open .questionPlus,
.thirdQuestion.open .questionPlus,
.fourthQuestion.open .questionPlus,
.fifthQuestion.open .questionPlus,
.sixthQuestion.open .questionPlus,
.seventhQuestion.open .questionPlus,
.eighthQuestion.open .questionPlus {
    display: none;
}

.firstQuestion.open .hoverdPlus,
.secondQuestion.open .hoverdPlus,
.thirdQuestion.open .hoverdPlus,
.fourthQuestion.open .hoverdPlus,
.fifthQuestion.open .hoverdPlus,
.sixthQuestion.open .hoverdPlus,
.seventhQuestion.open .hoverdPlus,
.eighthQuestion.open .hoverdPlus {
    display: none;
}

.firstQuestion.open:hover .questionMinus,
.secondQuestion.open:hover .questionMinus,
.thirdQuestion.open:hover .questionMinus,
.fourthQuestion.open:hover .questionMinus,
.fifthQuestion.open:hover .questionMinus,
.sixthQuestion.open:hover .questionMinus,
.seventhQuestion.open:hover .questionMinus,
.eighthQuestion.open:hover .questionMinus {
    background-color: var(--hover-text-color);
}

.questionPlus, .hoverdPlus {
    margin-top: 19px;
}

.questionMinus {
    margin-top: 29px;
    margin-right: 5px;
}

.questionText {
    color: var(--enabled-text-color);
    font-family: var(--basic-font-family);
    font-size: 16px;
    line-height: 24px;
    margin-top: 20px;
    display: none;
}

.signupContainer {
    max-width: 1440px;
    height: 168px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding-top: 40px;
    align-items: center;
}

.signupTitle {
    color: var(--dark-background-color);
    font-family: var(--font-family);
    font-size: 20px;
    line-height: 28px;
    text-transform: uppercase;
}

.signupForm {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.signupForm button {
    width: 200px;
    border: none;
    outline: none;
}

input {
    width: 380px;
    height: 60px;
    padding: 20px 10px;
    box-sizing: border-box;
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    border: 1px solid #222222a5;
    outline: none;
}

input:hover {
    border: 1px solid var(--hover-text-color);
    transition: var(--transition);
}

input::placeholder {
    font-family: var(--font-family);
    text-transform: uppercase;
    font-size: 16px;
    line-height: 24px;
    opacity: 0.7;
}

.footer {
    width: 100%;
    height: 100px;
    background: var(--dark-background-color);
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.footer-contacts ul {
    display: flex;
    flex-direction: row;
    margin-top: 40px;
    gap: 40px;
    align-items: center;
}

.footer-contacts li {
    list-style: none;
    font-family: var(--font-family);
    color: var(--enabled-text-color);
    text-transform: uppercase;
    font-size: 16px;
    line-height: 24px;
}

.footer-contacts li:hover {
    cursor: pointer;
    color: var(--hover-text-color);
    transition: var(--transition);
}

.burgerMenu {
    display: none;
}

.mainContainer-scroll a{
    white-space: nowrap;
    text-decoration: none;
    width: 119px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.modalOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #222222ac;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modalMenu {
    position: relative;
    background: white;
    padding: 60px;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modalCross {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.modalCross::before,
.modalCross::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #333;
}

.modalCross::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.modalCross::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modalText {
    font-family: var(--font-family);
    color: var(--dark-background-color);
    margin-bottom: 4px;
    font-size: 20px;
    text-align: center;
    line-height: 28px;
    text-transform: uppercase;
}

.modalMenu input {
    width: 380px;
}

.modalMenu button {
    width: 380px;
}

.no-scroll {
    overflow: hidden !important;
    width: 100%;
}

@media (min-width: 766px) and (max-width: 1420px) {

    .hero {
        height: 758px;
    }

    .hero-container {
        max-width: 100vw;
        overflow-x: hidden;
        gap: 40px;
        width: 100vw;
    }

    .hero-firstContainer {
        height: 638px;
    }

    .firstContainer-line {
        height: 432px;
    }

    .mainContainer-firstText h1{
        font-size: 68px;
        line-height: 80px;
    }
    
    .secondContainer-firstImg {
        display: none;
    }

    .hero-secondContainer {
        width: 100%;
    }

    .secondImgContainer {
        width: 220px;
        margin-right: 20px;
        margin-left: auto;
    }

    .secondContainer-img img{
        width: 220px;
    }

    .secondContainer-text {
        font-size: 16px;
    }

    .about {
        height: 1932px;
    }

    .about-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 60px 20px;
    }

    .firstAboutCard, .secondAboutCard {
        max-width: 728px;
        max-height: 892px;
    }

    .secondAboutCard {
        margin-top: 0;
    }

    .aboutImg img{
        max-width: 728px;
        margin-top: -125px;
    }

    .aboutOverlay {
        width: 728px;
        height: 728px;
    }

    .thirdAboutCard {
        max-width: 728px;
        max-height: 24px;
    }

    .thirdAboutCard {
        margin-top: -40px;
    }

    .thirdAboutCard img{
        display: none;
    }

    .pricePackages {
        max-width: 768px;
        gap: 20px;
    }

    .pricePackages {
        padding: 0 35px 0 35px;
    }

    .pricePackages > div {
        width: calc(50% - 10px);
    }

    .price {
        width: 100%;
        height: 1256px;
    }

    .FAQ {
        min-height: 840px;
    }

    .faq-container {
        flex-direction: column;
    }

    .faq-firstContainer {
        width: 100%;
        height: auto;
    }

    .faq-secondContainer {
        width: 100%;
        height: auto;
    }

    .questionLine {
        width: 100%;
    }

    input {
        width: 256px;
        padding: 20px 10px;
    }

    .scroll-area {
        display: none !important;
    }

    .portfolioOverlay {
        cursor: grab;
    }
}

@media (max-width: 768px) {

    .header-nav {
        display: none;
    }

    .burger {
        width: 50%;
        display: flex;
        justify-content: flex-end;
        position: relative;
    }

    .burgerLines {
        display: flex;
        flex-direction: column;
        gap: 5px;
        height: 60px;
        width: 60px;
        align-items: center;
        justify-content: center;
        padding-right: 20px;
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }

    .firstLine {
        width: 12px;
        height: 2px;
        background-color: #FFFFFF;
        margin-left: auto;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .secondLine {
        width: 20px;
        height: 2px;
        background-color: #FFFFFF;
        margin-left: auto;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .burgerLines.active .firstLine {
        width: 20px;
        transform: rotate(45deg) translate(0, 5px);
    }

    .burgerLines.active .secondLine {
        width: 20px;
        transform: rotate(-45deg) translate(0, -5px);
    }

    .burgerMenu {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 100vw;
        height: 100%;
        background-color: var(--dark-background-color);
        transition: right 0.3s ease;
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .burgerMenu.active {
        right: 0;
    }

    .burgerMenu ul {
        display: flex;
        flex-direction: column;
        gap: 36px;
        align-items: center;
        justify-content: center;
    }

    .burgerMenu li {
        list-style: none;
    }

    .burgerMenu a {
        text-decoration: none;
        font-family: var(--font-family);
        color: var(--enabled-text-color);
        text-transform: uppercase;
        font-size: 16px;
        line-height: 24px;
    }

    .burgerMenu li:hover {
        cursor: pointer;
        color: var(--hover-text-color);
        transition: var(--transition);
    }

    .burgerMenu.closing {
        right: -100%;
        transition: right 0.3s ease;
    }

    .modalMenu {
        padding: 60px 20px 60px 20px;
        margin: 0 40px 0 40px;
    }

    .modalMenu input {
        width: 300px;
    }

    .modalMenu button {
        width: 300px;
    }

    .modalCross {
        top: 20px;
        right: 20px;
        width: 20px;
        height: 20px;
        cursor: auto;
    }

    .scroll-area {
        display: none !important;
    }
    
    .portfolioOverlay {
        cursor: grab;
    }
}

@media (max-width: 767px) {

    .packageMini:hover, .packageClassic:hover, .packageStory:hover, .packageWedding:hover {
        border-color: var(--dark-background-color);
    }

    .packageMini button:hover, .packageClassic button:hover, .packageStory button:hover, .packageWedding button:hover {
        border-color: initial;
        background-color: var(--dark-background-color);
        color: var(--enabled-text-color);
        pointer-events: auto;
    }

    button:hover {
        border-color: initial;
        background-color: var(--dark-background-color);
        color: var(--enabled-text-color);
        pointer-events: auto;
    }

    .firstQuestion:hover .questionTitle,
    .secondQuestion:hover .questionTitle,
    .thirdQuestion:hover .questionTitle,
    .fourthQuestion:hover .questionTitle,
    .fifthQuestion:hover .questionTitle,
    .sixthQuestion:hover .questionTitle,
    .seventhQuestion:hover .questionTitle,
    .eighthQuestion:hover .questionTitle {
        color: var(--enabled-text-color);
        pointer-events: auto;
    }

    .firstQuestion.open:hover .questionMinus,
    .secondQuestion.open:hover .questionMinus,
    .thirdQuestion.open:hover .questionMinus,
    .fourthQuestion.open:hover .questionMinus,
    .fifthQuestion.open:hover .questionMinus,
    .sixthQuestion.open:hover .questionMinus,
    .seventhQuestion.open:hover .questionMinus,
    .eighthQuestion.open:hover .questionMinus {
        background-color: var(--enabled-text-color);
    }

    input:hover {
        border-color: initial;
        transform: none ;
    }

    .header-nav {
        display: none;
    }

    .burger {
        width: 50%;
        display: flex;
        justify-content: flex-end;
    }

    .secondContainer-firstImg {
        display: none;
    }

    .hero {
        height: 888px;
    }

    .hero-container {
        width: 100%;
    }

    .hero-firstContainer{
        display: none;
    }

    .hero-secondContainer {
        width: 100%;
        flex-direction: column;
        gap: 20px;
    }

    .secondContainer-main {
        margin-top: 60px;
    }

    .mainContainer-scroll {
        display: none;
    }

    .secondImgContainer {
        max-width: 340px;
        margin-left: auto;
        padding-right: 20px;
    }

    .secondContainer-img {
        display: flex;
        justify-content: flex-end;
    }

    .secondContainer-img img{
        margin-top: 0;
        max-width: 220px;
    }

    .secondContainer-text {
        margin-top: 60px;
    }

    .mainNumbers {
        justify-content: center;
    }

    .mainContainer-firstText, .mainContainer-secondText {
        display: flex;
        justify-content: center;
    }

    .mainContainer-firstText h1{
        font-size: 56px;
        line-height: 64px;
        width: 340px;
    }

    .mainContainer-secondText {
        margin-left: -30px;
    }

    .about {
        height: 1276px;
    }

    .about-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 60px 20px;
    }

    .firstAboutCard, .secondAboutCard {
        max-width: 340px;
        max-height: 552px;
    }

    .aboutOverlay {
        width: 340px;
        height: 340px;
    }

    .aboutImg img{
        max-width: 340px;
        margin-top: -55px;
    }

    .secondAboutCard {
        margin-top: 0;
    }

    .thirdAboutCard img{
        display: none;
    }

    .thirdAboutCard {
        margin-top: -380px;
    }

    .portfolio {
        height: 938px;
    }

    .portfolioText {
        max-width: 340px;
        height: 72px;
    }

    .portfolioImg4,.portfolioImg3 {
        height: 594px;
    }

    .portfolioOverlay {
        height: 594px;
    }

    .price {
        width: 100%;
        height: 2320px;
    }

    .price-container {
        height: 2320px;
    }

    .pricePackages > div {
        flex: 1 1 100%;
    }

    .pricePackages {
        max-width: 360px;
        padding: 0 10px 0 10px;
        gap: 20px;
    }

    .FAQ {
        min-height: 976px;
    }

    .faq-firstContainer {
        width: 100%;
        height: 140px;
    }

    .faqTitle {
        width: 340px;
    }

    .faq-secondContainer {
        width: 100%;
        min-height: 676px;
    }

    .faq-container {
        flex-direction: column;
    }

    .signupContainer {
        height: 304px;
    }

    .signupForm {
        flex-direction: column;
        gap: 8px;
    }

    .questionLine {
        width: 100%;
    }

    input {
        width: 340px;
        padding: 20px 10px;
    }

    .signupForm button {
        width: 340px;
    }

    .footer {
        height: 340px;
    }

    .footer-contacts ul {
        flex-direction: column;
        gap: 35px;
    }

    .footer-contacts li:hover {
        cursor: none;
        color: var(--enabled-text-color);
    }
}