@import 'main.css';

#first-section {
    height: 100vh;
}

#logo {
    background-image: url('../images/logo.png');
    height: 200px;
    background-size: cover;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
}

#logo img {
    height: 100%;
    visibility: hidden;
}

#floating-pasta {
    position: absolute;
    height: 80vh;
    width: 80vh;
    border-radius: 50%;
    top: -140px;
    left: -140px;
    transform: translate(-100px);
    background-image: url('../images/pasta-1.jpg');
    background-position: center;
    box-shadow: 0 0 130px #a5a1a161;
    z-index: 99998;
}

#floating-phone {
    position: absolute;
    top: 40px;
    right: 200px;
    font-size: 37px;
    display: flex;
    align-items: center;
}

#floating-phone img {
    height: 37px;
    margin-right: 10px;
}

@media screen and (min-width: 1440px) {
    #floating-pasta {
        height: 75vh;
        width: 75vh;
    }
}

#first-section-right {
    text-align: right;
    padding: 0 200px;
}

#first-section-content {
    position: absolute;
    top: 300px;
    right: 0;
    left: 0;
    z-index: 99999;
}

#first-section-pasta-icon img {
    height: 88px;
    text-align: right;
}

#first-section-main-text {
    margin-top: 10px;
    font-weight: bold;
    font-size: 49px
}

#first-section-secondary-text {
    font-size: 25px;
    color: #777777
}

#first-section-btn {
    background-color: #0f0f0f;
    color: #fff;
    text-decoration: none;
    width: 420px;
    display: block;
    font-size: 34px;
    font-weight: bold;
    text-align: center;
    border-radius: 10px;
    padding: 20px 0;
    margin-top: 70px;
    box-shadow: 8px 8px 10px #00000015;
}

#tomato {
    height: 140px;
    margin-top: 80px;
    margin-right: -20px;
}

#contact-form, #contact-form-2 {
    border-radius: 10px;
    margin-top: 100px;
    box-shadow: 0 0 70px #00000010;
    text-align: right;
    padding: 30px 48px;
}

#contact-form-2 {
    width: 50%;
    margin: auto;
    box-shadow: none;
    margin-top: 40px;
}

#first-section-left {
    padding: 0 200px;
}

#contact-form-title {
    font-size: 46px;
    text-align: center;
    font-weight: bold;
}

#contact-form-sec-text {
    font-size: 21px;
    color: #7d7d7d;
    text-align: center;
    margin-top: -7px;
}

.contact-form-label {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-form-input {
    width: 100%;
    background-color: #dcdcdca8;
    padding: 17px;
    border: none;
    border-radius: 10px;
    margin-bottom: 30px;
    font-size: 27px;
    text-align: right;
}

#contact-form-submit, #contact-form-submit-2 {
    background-color: #0f0f0f;
    color: #fff;
    text-decoration: none;
    width: 100%;
    display: block;
    font-size: 34px;
    font-weight: bold;
    text-align: center;
    border-radius: 10px;
    padding: 20px 0;
    box-shadow: 8px 8px 10px #00000015;
    border: none;
}

#jump-to-sec-section {
    font-weight: bold;
    text-align: center;
    position: absolute;
    bottom: 40px;
    left: 50%;
    font-weight: bold;
    font-size: 27px;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 999999;
}

#jump-to-sec-section img {
    margin: auto;
    margin-bottom: 30px;
    height: 124px;
    display: block;
}

#sec-section {
    min-height: 100vh;
}

#pasta-items {
    padding: 0 200px;
}

.pasta-item {
    text-align: center;
    outline: none;
}

.pasta-item h5 {
    margin-top: 10px;
    font-weight: bold;
    font-size: 34px;
}

#our-products-title, #dhffr {
    margin-top: 60px;
    margin-bottom: 30px;
    font-size: 50px;
    font-weight: bold;
    text-align: center;
}

#costumers-title {
    height: 150px;
    margin: auto;
    margin-top: 80px;
    display: block;
}

#customers-slider {
    padding: 0 200px;
    margin: 90px 0;
    height: 151px
}

#customers-slider img {
    margin-right: 20px;
  	height: 100%;
}

#customers-counter {
    text-align: center;
    font-weight: bold;
}

#customers-counter .text {
    font-size: 49px;
    line-height: 49px;
    margin-top: -20px;
}

#customers-counter .number {
    font-size: 163px;
    line-height: 163px;
}

#pasta-items-hr {
    width: 40%;
    margin: 100px auto;
    border-top: 1px solid rgb(0 0 0 / 5%);
}

.customers-slider-item {
    outline: none;
}

footer {
    position: relative;
    background-color: #dadada;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    margin-top: 60px;
    flex-direction: row-reverse;
}

#bdz {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    /* position: absolute; */
    right: 200px;
    bottom: 20px;
}

#bdz .logo img {
    height: 40px;
    margin-left: 20px;
}

#copyright {
    /* position: absolute; */
    left: 200px;
    bottom: 20px;
}

/* Advantages */
.section-title-description {
    padding-bottom: 40px;
    text-align: center;
}

#advantages-wrap {
    margin-top: 10px;
}

.adventage-item {
    padding: 12px 15px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 15px #4848484d;
    width: 100%;
    height: 100%;
    display: flex;
    transition: 0.3s ease-in-out;
    margin-bottom: 10px;
}

.advantages-row {
    margin-bottom: 20px;
}

.adventage-item:hover {
    /* transform: scale(1.1); */
    box-shadow: 0 0 7px #4848484d;
}

.adventage-item .icon {
    width: 48px;
}

.adventage-item .icon img {
    height: 48px;
    width: 48px;
}

.adventage-item .textual {
    width: calc(100% - 48px);
    text-align: right;
    padding: 0 10px;
    padding-right: 32px;
}

.adventage-item .title {
    color: #000;
    position: relative;
    font-size: 1.3em;
}

.adventage-item .title:after {
    content: "";
    height: 5px;
    width: 25px;
    background-color: #748d51;
    position: absolute;
    bottom: -10px;
    right: 0;
}

.adventage-item .description {
    color: #939393;
    margin-top: 20px;
}

@media screen and (max-width: 1440px) {
    #bdz {
        right: 70px;
    }

    #copyright {
        left: 70px;
    }

    #first-section-right {
        padding: 0 70px;
    }
    
    #first-section-left {
        padding: 0 70px;
    }

    #logo {
        height: 130px;
    }

    #floating-phone {
        font-size: 20px;
        right: 70px;
    }

    #floating-phone img {
        height: 20px;
    }

    #first-section-content {
        top: 170px;
    }

    #first-section-pasta-icon img {
        height: 40px;
    }

    #first-section-main-text {
        font-size: 32px;
    }

    #first-section-secondary-text {
        font-size: 18px;
    }

    #first-section-btn {
        font-size: 20px;
        margin-top: 40px;
        padding: 10px 0;
        width: 320px;
    }

    #tomato {
        height: 80px
    }

    #contact-form {
        padding: 20px 38px;
    }

    #contact-form-title {
        font-size: 26px;
    }

    #contact-form-sec-text {
        font-size: 14px;
    }

    .contact-form-label {
        font-size: 18px;
    }

    .contact-form-input {
        font-size: 18px;
        padding: 10px;
    }

    #contact-form-submit, #contact-form-submit-2 {
        font-size: 20px;
        margin-top: 10px;
        padding: 10px 0;
    }

    #jump-to-sec-section img {
        height: 70px;
        margin-bottom: 10px;
    }

    #jump-to-sec-section {
        font-size: 17px;
    }

    #first-section-left {
        padding-right: 200px;
    }

    #floating-pasta {
        top: -100px;
        left: -40px;
    }

    #pasta-items {
        padding: 0 70px;
    }

    #costumers-title {
        height: 80px;
    }

    #customers-counter .number {
        font-size: 100px;
    }

    #customers-counter .text {
        font-size: 32px;
        margin-top: -50px;
    }

    #customers-slider {
        margin: 40px 0 20px 0;
        padding: 0 70px;
      	height: 151px;
    }

    .pasta-item h5 {
        font-size: 20px
    }

    .pasta-item img {
        width: calc(100% - 10px);
    }

    #customers-slider img {
        height: 100%;
    }
}

@media screen and (max-width: 768px) {
    .adventage-item {
        box-shadow: 0 0 12px #48484821;
    }

    .adventage-item:first-child {
        margin-bottom: 20px;
    }

    #contact-form-2 {
        width: 100%;
        padding: 0 20px;
    }

    footer {
        margin-top: 20px;
        flex-direction: column;
        justify-content: center;
    }

    #copyright {
        left: 0;
        bottom: 20px;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    #copyright a {
        display: block;
    }

    #bdz {
        left: 0;
        bottom: 50px;
        width: 100%;
        justify-content: center;
        flex-direction: column;
    }

    #bdz img {
        margin-bottom: 10px;
    }

    #floating-pasta {
        /*border-radius: 0;
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
        background-size: cover;
        transform: translate(0);*/
        display: none;
    }

    #floating-phone span {
        display: none;
    }

    #first-section-right, #first-section-left {
        padding: 0 10px;
    }

    #first-section-btn {
        width: 100%
    }

    #jump-to-sec-section {
        display: none;
    }

    #tomato {
        height: 60px;
        text-align: center;
        display: block;
        margin: auto;
        margin-top: 40px;
    }

    #contact-form {
        margin-top: 20px;
        padding: 20px;
    }

    #first-section {
        height: auto;
    }

    #first-section-content {
        position: relative;
    }

    body {
        background-size: cover;
    }

    #pasta-items-hr {
        width: 70%;
    }

    #our-products-title, #dhffr {
        margin-top: 200px;
        font-size: 30px;
    }

    #pasta-items {
        padding: 0 20px;
    }

    #floating-phone {
        right: 30px;
        position: absolute;
    }

    #customers-slider {
        margin: 0;
        padding: 0;
        margin-top: 30px;
        height: 151px;
    }

    #customers-slider img {
        margin-right: 0;
        margin: auto;
      	height: 100%;
    }

    .pasta-item img {
        width: 100%;
    }

    .slick-dots {
        right: 0;
    }
}