
body{
overflow-x: hidden;
}

@import url(./menu.css);
/* HEADER */

.link {
    position: relative;
}

.link::after {
    position: absolute;
    display: block;
    content: '';
    left: 50%;
    bottom: -4px;
    height: 2px;
    background: #403F3D;
    transform: translateX(-50%);
    width: 0;
    transition: 0.4s;
}
.header-container {
    margin: 20px 40px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-menu {
    display: flex;
    align-items: flex-start;
}

.header-menu img {
    margin-left: 8px;
}

.header-menu p {
    font-size: 16px;
    color: #403F3D;
}

.header-down {
    border-radius: 40px;
    position: relative;
}
video{
    position: absolute;
    width: 100%;
    border-radius: 40px;
    z-index: -1;
    height: 644px;
    object-fit: cover;
}
.header-icon{
    z-index: 2;
}

 .header-icon p {
    font-size: 8px;
    margin-top: 10px;
    margin-left: 16px;
    white-space: nowrap;
}

.ellipse {
    position: absolute;
    margin-left: 31px;
    margin-top: 5px;
    z-index: -1;
}

.resource {
    margin-left: 3px;
    margin-top: 13px;
}

.nav {
    margin-left: 40px;
    z-index: 1;
}
.nav-list a{
    margin-left: 37px;
}

.header-burger{
    width: 44px;
    height: 44px;
    border-radius: 100px;
    border: 1px solid #665F55;
    background-color: #E1D4C9;
    position: relative;
    display: none;
    z-index: 2;
}

.header-burger span {
    position: absolute;
    width: 18px;
    height: 1.5px;
    background-color: #403F3D;
    left: 12px;
    transition: transform .5s;
}

.header-burger span:nth-child(1) {
    transform: translateY(-4px);
}

.header-burger span:nth-child(2) {
    transform: translateY(4px);
}

.header-down {
    margin-top: 22px;
}
nav{
    display: grid;
    grid-template-columns: 11.65fr 1fr;
    
}


.header-top.open .header-burger span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.header-top.open .header-burger span:nth-child(2) {
    transform: translateY(0) rotate(-45deg);
}

.header-top.open .header-down {
    margin-top: 22px;
}

.header-content {
    margin-left: 100px;
}

.header-title {
    width: 530px;
    overflow-y: hidden;
    color: #E1D4C9;
    padding-top: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 72px;
    font-style: normal;
    font-weight: 600;
    line-height: 105%;
}

.header-title span {
    color: #B0907A;
    font-style: italic;
}

.header-subtitle {
    font-family: 'Inter';
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    width: 530px;
    color: #E1D4C9;
    padding-top: 40px;
}

.header-button {
    cursor: pointer;
    width: 200px;
    height: 64px;
    border-radius: 100px;
    background-color: #E1D4C9;
    color: #403F3D;
    font-size: 16px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.header-button div {
    display: none;
}
.header-content a {
    display: block;
    padding-bottom: 100px;
}

/* FAVORITE-COFFEE */
.main-menu-arrow {
    width: 60px;
    height: 60px;
    background-image: url(./img/main/button-icon-dark-left.svg);
    transition: background-image .6s ease;
}
.main-menu-arrow-right {
    width: 60px;
    height: 60px;
    background-image: url(./img/main/button-icon-dark.svg);
    transition: background-image .6s ease;
}

.main-container, .footer-container {
    margin: 100px 40px;
}

.title-section, h2, h1 {
    font-size: 60px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    color: #403F3D;
}

#favorite-coffee h2 span {
    font-style: italic;
    line-height: 125%;
    color: #B0907A;
}

#favorite-coffee {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0;
    width: 99.5%;
    text-align: center;
}

.main-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    display: none;
    transition: all .7s;
}
.main-slider.active-image{
    display: flex;
    transition: all .7s;
}
.slider-line{
    display: flex;
    align-items: center;
}

.title-coffee, h2, h1 {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    color: #403F3D;
}

.main-slider img {
    margin-bottom: 20px;
}

.subtitle-coffee {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 16px 0;
    text-align: center;
    color: #403F3D;
    max-width: 480px;
}

.pagination div:not(.pag-active) {
    width: 40px;
    height: 4px;
    border-radius: 100px;
}

.pag {
    background-color: #C1B6AD;
    margin-right: 12px;
    transition: all 5s ease;
}
.pag-active{
    height: 4px;
    border-radius: 100px;
    z-index: 4;
    background-color: #665F55;
    width: 0px;
    transition: all .5s;
}
.pag-active.active{
    z-index: 4;
    background-color: #665F55;
    width: 100%;
    transition: all 5s;
}

.pagination {
    display: flex;
    margin-left: 12px;
    cursor: pointer;
}

/* ABOUT */
#about h2 span {
    font-style: italic;
    line-height: 125%;
    color: #B0907A;
}

#about .title-section {
    width: 100.1%;
}

.img-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

.img-about img {
    border-radius: 20px;
    cursor: pointer;
    scale: 1.1;
    transition: scale 0.9s ease;
}
.di {
    border-radius: 20px;
    overflow: hidden;
}

#about {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 100px;
}

#about-2, #about-3 {
    height: 430px;
}

.about-4 {
    margin-top: -160px;
}

/* MOBILE APP */
#mobile-app h2 span {
    font-style: italic;
    line-height: 125%;
    color: #B0907A;
}

#mobile-app h2 {
    max-width: 620px;
}

#mobile-app {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 100px 0;
}

.mobile-app-left p {
    text-align: start;
    transition: color .6s ease;
    max-width: 620px;
}

.mobile-app-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.mobile-app-left .subtitle-coffee {
    margin: 0;
}

.mobile-app-buttons {
    display: flex;
    gap: 20px;
}
.apple {
    width: 36px;
    height: 36px;
    background-image: url(./img/icon-apple.svg);
    transition: background-image .6s ease;
}

.google {
    width: 36px;
    height: 36px;
    background-image: url(./img/main/icon-google.png);
    transition: background-image .6s ease;
}

.button {
    width: 200px;
    height: 64px;
    border-radius: 100px;
    border: 1px solid #665F55;
    background-color: #E1D4C9;
    padding: 14px 20px;
    gap: 10px;
    display: flex;
    cursor: pointer;
}


.name-button {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    color: #403F3D;
    margin-top: 2px;
}

.subname-button {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    color: #403F3D;
    margin-top: -2px;
}

/* CONTACT-US */
#contact-us {
    background-color: #665F55;
    border-radius: 40px;
}

.information a {
    max-width: max-content;
}

.contact-container {
    display: flex;
    padding: 100px;
    margin: 0 auto;
    justify-content: start;
    gap: 100px;
    align-items: center;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.social-media {
    display: flex;
    gap: 12px;
    cursor: pointer;
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.link-footer {
    display: flex;
    align-items: start;
    position: relative;
}

.link-footer::after {
    position: absolute;
    display: block;
    content: '';
    left: 50%;
    bottom: -4px;
    height: 2px;
    background: #E1D4C9;
    transform: translateX(-50%);
    width: 0;
    transition: 0.4s;
}
.information {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.title-contact {
    font-family: 'Inter', sans-serif;
    font-size: 60px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    color: #E1D4C9;
    max-width: 530px;
}

.title-contact span {
    font-style: italic;
    color: #B0907A;
}

.title-contact-right {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    color: #E1D4C9;
}

.information p, .information a {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    color: #E1D4C9;
}

.information p {
    padding-left: 10px;
}

.social-media div {
    width: 60px;
    height: 60px;
    transition: .8s ease;
}

.twitter {
    background-image: url(./img/main/button-icon-light-twitter.png);
}
.insta {
    background-image: url(./img/main/button-icon-light-insta.png);
}

.facebook {
    background-image: url(./img/main/button-icon-light-facebook.png);
}
.di img:nth-child(1) {
    margin-top: -35px;
}

/* MEDIA */
@media (max-width: 1355px) {
    .img-about {
        display: flex;
        flex-direction: column;
    }

    .img-about img {
        width: 688px;
        scale: 1.05;
        margin-top: -50px;
    }

    .img-about .di {
        height: 590px;
    }

    #about-2, #about-3 {
        display: none;
    }

    .about-4 {
        margin-top: 0;
    }

    .di img:nth-child(1) {
        margin-top: -50px;
    }
}

@media (max-width: 1200px) {
    #mobile-app {
        flex-direction: column;
    }

    .header-down {
        background-position: center;
        background-size: cover;
    }

    .contact-container {
        flex-direction: column;
        align-items: start;
        margin-left: -40px;
        gap: 102px;
    }

    .contact-right {
        gap: 38px;
        margin-bottom: 5px;
    }

    .header-content {
        margin-left: 60px;
    }

    .header-button div {
        display: block;
    }

    .main-menu {
        width: 100%;
    }
}

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

    .header-menu p{
        padding-top: 5px;
font-size: 2rem;
    }
    .header-menu img{
        width: 40px;
        height: 40px;
        margin-top: 8px;
    }
    .header-menu{
        display: flex;
        justify-content: center;
        margin-top: -20px;
        padding-bottom: 20px;
    }

    .nav {
        position: absolute;
        top: 0;
        right: -100%;
        width: 100%;
        background-color: #E1D4C9;
        margin-left: 0;
        padding-top: 105px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        transition: transform .5s ease;
        padding-bottom: 100px;
    }
    nav{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .nav a {
        display: block;
        margin: 53px 0;
        font-size: 2rem;
    }

    .nav-list {
        display: block;
    }
    .header-top.open{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 20px 40px;
    padding-bottom: 0;
    }
    .header-top.open .header-menu{
        padding-bottom: 40px;
    }

    .header-top.open .nav {
        transform: translateX(-100%);
    }
    .header-top.open .header-burger{
        border: 1px solid #403F3D;
    }
    .header-top .header-burger{
        border: 1px solid #403F3D;
    }
}

@media (max-width: 900px) {
  
    * {
        cursor: default;
    }

    #favorite-coffee .title-section {
        text-align: center;
    }

    .title-mobile-app {
        min-width: 660px;
    }
    #mobile-app {
        align-items: start;
    }

    #mobile-app img {
        align-self: center;
        margin-top: 100px;
    }

    .header-down h1 {
        overflow-y: hidden;
    }
}

@media(max-width: 700px) {
    .main-menu {
        display: block;
    }

    .header-container {
        margin: 20px 16px;
    }

    .header-content {
        margin-left: 16px;
        width: 316px;
    }

    .header-title {
        width: 316px;
        font-size: 2.625rem;
        padding-top: 60px;
        line-height: 112%;
    }

    .header-subtitle {
        font-size: 1rem;
        width: 316px;
    }

    .header-content a {
        padding-bottom: 60px;
    }

    h1 {
        font-size: 2.625rem;
    }

    .main-container {
        margin: 105px 16px;
        margin-bottom: 200px;
    }

    .title-section {
        font-size: 2rem;
        width: 110%;
    }

    .main-slider img {
        width: 348px;
        height: 348px;
    }

    .main-menu-arrow, .main-menu-arrow-right {
        display: none;
    }

    .di img:nth-child(1) {
        margin-top: 120px;
    }

    .img-about img {
        scale: 2.1;
    }

    #mobile-app h2 {
        max-width: 348px;
    }

    .mobile-app-buttons {
        flex-direction: column;
    }

    .mobile-app-buttons .button, .mobile-app-buttons .button .button-text {
        overflow-y: hidden;
    }

    #mobile-app img {
        margin-top: 40px;
    }

    .footer-container {
        margin: 0px 16px;
    }

    .title-contact {
        font-size: 2rem;
        margin-top: 5px;
        width: 316px;
    }

    .contact-container {
        padding: 56px;
        gap: 40px;
    }

    footer {
        bottom: 165px;
    }

    .title-mobile-app {
        min-width: 365px;
    }

}
@media (max-width:500px){
    video {
        max-height: 552px;
    }
}
@media(hover:hover){
    .twitter:hover {
        background-image: url(./img/twitter-hover.png);
        transition: .8s ease;
    }
    .insta:hover {
        background-image: url(./img/inst-hover.png);
        transition: .8s ease;
    }
    .facebook:hover {
        background-image: url(./img/facebook-hover.png);
        transition: .8s ease;
    }
    .link:hover::after {
        width: 100%;
        transition: .4s;
    }
    .header-button:hover div {
        display: block;
    }
    .main-menu-arrow:hover {
        background-image: url(./img/arrow-left-hover.png);
        transition: background-image .6s ease;
    }
    
    .main-menu-arrow-right:hover {
        background-image: url(./img/arrow-right-hover.svg);
        transition: background-image .6s ease;
    }
    .di:hover img {
        scale: 1;
        transition: scale 0.9s ease;
    }
    .mobile-app-buttons .button:hover {
        background-color: #665F55;
        transition: background-color .6s ease;
    
    }
    
    .mobile-app-buttons .button:hover p {
        color: #E1D4C9;
        transition: color .6s ease;
    }
    
    .mobile-app-buttons .button:hover .apple {
        background-image: url(./img/icon-hover-apple.png);
        transition: background-image .6s ease;
    }
    
    .mobile-app-buttons .button:hover .google {
        background-image: url(./img/icon-hover-google.png);
        transition: background-image .6s ease;
    }
    .link-footer:hover::after {
        width: 100%;
        transition: .4s;
    }
    
}