@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@600&display=swap');

@font-face {
    font-family: 'Segoe UI';
    src: url('fonts/SegoeUI.woff2') format('woff2'),
    url('fonts/SegoeUI.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Segoe UI Semibold';
    src: url('fonts/SegoeUISemibold.woff2') format('woff2'),
    url('fonts/SegoeUISemibold.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

/* Colors:
#2e313e - Salute
#f2f2f2 - Bleached Silk
#747474 - Gray
*/

body, h1, h2, h3, h4, h5, h6 {
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    margin: auto 0;
    padding: 0;
}

/* header */
header {
    background-color: #191919;
    box-shadow: 1px 10px 10px -1px rgba(193, 193, 193, 1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-family: 'Segoe UI Semibold', 'Segoe UI', Arial, sans-serif;
    padding-top: 0.2%;
    padding-bottom: 0.2%;
    position: fixed;
    z-index: 100;
    /* height: 25px; */
    width: 100%;
}

header img {
    cursor: pointer;
    height: auto;
    width: 188px;
}

a {
    text-decoration: none;
    color: inherit;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-item::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 20px;
    background-color: #ffffff;
    margin-left: 15px;
    margin-right: 15px;
}

.nav-item:last-child::after {
    display: none;
}

.nav-item a::after {
    content: '';
    display: block;
    margin-top: 3px;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width .3s;
}

.nav-item a:hover::after {
    width: 100%;
}

.switch {
    display: flex;
    align-items: center;
    margin-left: 20px;
    padding: 5px 0;
}

.switch a {
    display: block;
    padding: 5px 10px;
    text-transform: uppercase;
}

.switch a:hover {
    background-color: #e0e0e0;
    color: #2e313e;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

/* Container */
.main-container {
    height: 100%;
    margin: 0 auto;
    padding-top: 70px;
}

/* contact */
.contact {
    display: flex;
    height: 100%;
}

.contact-info {
    background-color: #f2f2f2;
    border-radius: 25px;
    box-shadow: 1px 10px 10px -1px rgba(193, 193, 193, 1);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    width: 40%;
}

.contact-about,
.contact-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.contact-about {
    background-color: #f2f2f2;
    border-radius: 25px;
    box-shadow: 1px 10px 10px -1px rgba(193, 193, 193, 1);
    padding: 15px;
    position: relative;
    width: 40%;
}

.contact-about img {
    position: absolute;
    top: -2%;
    right: 10%;
    max-width: 50px;
}

.contact-info h2, h3 {
    font-size: 20px;
    margin: 7px 7px 0 !important;
}

.contact-info img {
    max-height: 180px;
    height: auto;
    width: 160px;
}

.text-info,
.contact-about {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.text-info h2 {
    font-size: 20px;
    white-space: nowrap;
}

.text-info h3 {
    font-size: 20px;
}

.contact-about h2,
.contact-about h3 {
    font-size: 20px;
    margin: 5px 0;
    white-space: nowrap;
}

.contact-info h2,
.contact-about h2 {
    border-bottom: 1px solid;
    color: #000;
    font-weight: 600;
}

.contact-info h3,
.contact-about h3 {
    border-bottom: 1px solid;
    color: #1c1c1c;
    font-weight: 200;
}

.contact-link {
    background-color: transparent;
    box-sizing: border-box;
    display: flex;
    height: max-content;
    margin-left: 10px;
    margin-right: 10px;
    padding: 3px;
    width: 20%;
}

.contact-link-item {
    background-color: #f2f2f2;
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: 1px 10px 10px -1px rgba(193, 193, 193, 1);
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 5px 10px;
    height: 52px;
    width: 100%;
}

.contact-link-item img {
    width: 44px;
    height: 44px;
    margin-right: 15px;
    margin-left: 8px;
}

.contact-link-item:last-child img {
    width: 40px;
    height: 40px;
    margin-left: 12px;
}

.contact-link-item span {
    color: #000;
    font-size: 20px;
    font-weight: 300;
}

.contact-link-item:last-of-type {
    margin-bottom: 0;
}

.contact-link-item:hover {
    background-color: #e0e0e0;
    color: #2e313e;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.contact-link-item:hover span {
    color: #2e313e;
}

/* nav-bar */
.nav-bar {
    background-color: #f2f2f2;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 15px;
    box-sizing: border-box;
    box-shadow: 1px 10px 10px -1px rgba(193, 193, 193, 1);
    display: inline-flex;
    flex-grow: 1;
    margin-top: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    height: 90px;
}

.bar-item {
    border-left: 2px solid #ccc;
    display: flex;
    flex-grow: 1;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    margin: 0 8px;
    padding: 10px 0 10px 16px;
    min-width: 140px;
}

.bar-item:first-child {
    border: none;
    margin-left: 0;
    padding-left: 16px;
    min-width: 220px;
}

.bar-item:last-child {
    margin-right: 0;
    padding-right: 16px;
    min-width: 225px;
}

.bar-item a {
    border-radius: 5px;
    color: black;
    display: block;
    align-self: center;
    font-size: 14px;
    font-weight: 400;
    min-width: 70px;
    margin-left: 10px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.bar-item img {
    align-self: center;
    max-width: 28px;
    max-height: 28px;
}

/* .bar-item:hover {
    background-color: #e0e0e0; 
    color: #2e313e; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    border-radius: 5px; 
} */

.partners,
.delivery,
.payments,
.about,
.connection {
    margin-top: 30px;
}

.partners > h2,
.delivery > h2,
.payments .payments-info > h2,
.about > h2,
.connection > h2 {
    color: #a6a6a6;
    font-family: 'Segoe UI', sans-serif;
    font-size: 24px;
    margin-bottom: 25px;
    padding-left: 40px;
    text-transform: uppercase;
}


/*Partners */
.partners {
    background-color: #ffffff;
    box-sizing: border-box;
    width: 100%;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
}

.partner-item {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 1px 10px 10px -1px rgba(193, 193, 193, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 200px;
    max-height: 60px;
    height: auto;
    width: 100%;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.partner-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.partner-item a {
    width: 100%;
    height: auto;
}

.partner-item img {
    min-width: 100px;
    max-width: 100%;
    width: 100%;
    height: auto;
}


/* delivery */
.delivery {
    box-sizing: border-box;
    background-color: #ffffff;
}

.delivery-content {
    display: flex;
    width: 100%;
}

.delivery-info {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.delivery-item {
    background-color: #f2f2f2;
    border-radius: 10px;
    box-shadow: 1px 10px 10px -1px rgba(193, 193, 193, 1);
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    max-height: 100px;
    min-height: 68px;
    padding: 20px;
    position: relative;
    width: 110%;
}

.delivery-item:last-child {
    margin-bottom: 0;
}

.delivery-item img {
    width: 40px;
    height: 40px;
    margin-right: 20px;
}

.delivery-title {
    align-items: center;
    display: flex;
}

.delivery-text {
    align-items: center;
    display: flex;
    width: 100%;
}

.delivery-item .service-name {
    color: #000;
    font-size: 24px;
    min-width: 180px;
    margin-bottom: 0;
    text-transform: uppercase;
}

.delivery-item p {
    margin: 0;
    color: #747474;
    font-size: 16px;
    line-height: 1.6;
    padding-left: 30px;
}

.delivery-item .free {
    color: green;
    font-weight: 500;
}

.delivery-item .black {
    color: #000;
    font-weight: 500;
}

.delivery-item span {
    color: #000;
}

.delivery-image {
    width: 40%;
    margin-top: -35px;
    padding-left: 100px;
    text-align: center;
}

.delivery-image img {
    position: relative;
    max-width: 300px;
    height: auto;
}


/* Payments */
.payments {
    background-color: #ffffff;
    box-sizing: border-box;
}

.payments-content {
    display: flex;
    width: 100%;
}

.payments-image {
    align-self: center;
    margin-top: 50px;
    padding-right: 15px;
    text-align: center;
    width: 30%;
}

.payments-image img {
    position: relative;
    max-width: 300px;
    height: auto;
    width: 100%;
}

.payments-info {
    width: 70%;
}

.payment-item {
    background-color: #f2f2f2;
    border-radius: 10px;
    box-shadow: 1px 10px 10px -1px rgba(193, 193, 193, 1);
    align-items: center; /* Only if you want it vertically center-aligned as well */
    display: flex;
    height: 117px;
    margin-bottom: 30px;
    max-height: 117px;
    min-height: 68px;
    padding: 20px;
}

.payment-item:last-child {
    margin-bottom: 0;
}

.payment-item h2 {
    color: #000;
    font-size: 24px;
    margin: 0;
    text-transform: uppercase;
}

.payment-item strong {
    display: flex;
    align-items: center;
}

.payment-item p {
    color: #747474;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.payment-item .free {
    color: green;
    font-weight: 500;
}

.payment-item .black {
    color: #000;
}

.payments-info img {
    max-height: 45px;
    max-width: 45px;
    margin-right: 10px;
}


/* About us */
.about {
    background-color: #ffffff;
    box-sizing: border-box;
}

.about-info {
    background-color: #f2f2f2;
    border-radius: 30px;
    box-shadow: 1px 10px 10px -1px rgba(193, 193, 193, 1);
    padding: 20px;
}

.about-info p {
    color: #000;
    font-size: 20px;
    margin: 10px 0;
}

.about-info p strong {
    color: #000;
    font-weight: 500;
}

.about-info img {
    max-width: 50px;
    vertical-align: middle;
}

/* connection */
.connection {
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 15px;
    margin-top: 30px;
}

.connection-container {
    display: flex;
    justify-content: space-between;
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 1px 10px 10px -1px rgba(193, 193, 193, 1);
}

.connection-form-column {
    width: 48%;
}

.connection-form-column input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

.connection-form-column input[type="text"]::placeholder {
    color: #999;
}

.connection-form-column input[name="fcomments"] {
    height: 70%;
    position: relative;
    padding-bottom: 110px; /* Adjust this value to make space for the placeholder */
    padding-left: -1px; /* Adjust as needed for left padding */
}

.connection-form-column input[name="fcomments"]::placeholder {
    position: absolute;
    top: 10%;
    left: 2%;
    pointer-events: none; /* Prevents clicking on the placeholder */
    color: #888; /* Adjust the color as needed */
    font-size: 12px; /* Adjust the size as needed */
}

.connection-form-column input[type="submit"] {
    background-color: #191919;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    margin-top: 10px;
    padding: 10px;
    width: 100%;
    text-transform: uppercase;
}

.connection-form-column input[type="submit"]:hover {
    background-color: #1d1f25;
}

.stars {
    display: flex;
    justify-content: space-between;
    width: 100px;
    margin: 10px 0;
}

.star {
    font-size: 20px;
    cursor: pointer;
}

.star:hover,
.star.active {
    color: gold;
}

/* logo-instrument */
.logo-instrument {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    width: 100%;
}

.logo-instrument img {
    object-fit: cover;
    border-radius: 10px;
    margin-top: 40px;
    margin-bottom: 30px;
    max-height: 100%;
    width: 100%;
}

/* Footer */
footer {
    background-color: #191919;
    color: white;
    padding: 20px 0;
    position: absolute;
    width: 100%;
}

.mobile {
    display: none;
}


/* Media Queries */
@media (max-width: 1024px) {
    * {
        max-width: 1170px;
    }

    i {
        position: absolute;
        padding-right: 10%;
        left: 50%
    }

    i:hover {
        color: black;
        cursor: pointer;
    }

    header {
        width: 100%;
        min-height: 5%;
        z-index: 100;
        flex-wrap: wrap;
        align-items: center;
    }

    header img {
        margin-right: 20%;
        margin-top: 2%;
        width: 30%;
    }

    .mobile {
        display: flex;
        justify-content: center;
        flex-grow: 1;
        flex-basis: 100%;
    }

    .nav-item::after {
        display: none !important;
    }

    .nav-menu {
        display: none;
    }

    .nav-item {
        display: block;
        justify-self: center;
        text-align: center;
        margin: 10px 0;
    }

    .nav-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .bar-item {
        border: none;
        flex-direction: column;
        min-width: 50% !important;
        max-width: initial;
        margin: 0;
        padding: 10px;
    }

    .bar-item a {
        margin: 0;
    }

    .contact {
        display: block;
    }

    .contact-info img {
        max-height: 50px;
        max-width: 40px;
    }

    .contact-about {
        position: relative;
        margin-bottom: 20px;
    }

    .contact-about img {
        position: absolute;
        top: -2%;
        max-width: 40px;
    }

    .contact-link {
        margin: 0 auto;
        width: 192px;
    }

    .logo-instrument img {
        width: 90%;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .delivery-content,
    .payments-content {
        flex-direction: column;
    }

    .delivery-info,
    .payments-info {
        width: 100%;
    }

    .delivery-image,
    .payments-image {
        display: none;
    }

    .delivery-item {
        flex-direction: column;
    }

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

    .connection-form-column {
        width: 100%;
    }

    .contact-about img {
        max-width: 35px;
    }

    .contact-info img {
        display: none;
    }

    .contact-info img {
        display: none;
    }

    header img {
        width: 25%;
    }

    .contact-info img {
        display: none;
    }

    .nav-item a::after {
        height: 1px;
    }

    .contact-info {
        margin-bottom: 20px;
        width: 100%;
    }

    .contact-about {
        margin-top: 20px;
        width: 100%;
    }

    .delivery-item,
    .payment-item {
        height: auto;
        max-height: 300px;
        width: 100%;
    }

    .delivery-item p,
    .payment-item p {
        padding: 10px 0 0;
    }

    .delivery-item img {
        width: 30px;
        height: 30px;
    }

    .payment-item img {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 330px) {
    .bar-item:first-child {
        justify-content: left;
        margin-left: 0;
    }

    .nav-bar {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
}
.rating:not(:checked) > input {
  position: absolute; 
  float: left;
  appearance: none;
}

.rating:not(:checked) > label {
  float: right;
  cursor: pointer;
  font-size: 30px;
  fill: #666;
}

.rating:not(:checked) > label > svg {
  fill: #666; /* Set default color for SVG */
  transition: fill 0.3s ease; /* Add a transition effect */
}

.rating > input:checked + label:hover,
.rating > input:checked + label:hover ~ label,
.rating > input:checked ~ label:hover,
.rating > input:checked ~ label:hover ~ label,
.rating > label:hover ~ input:checked ~ label {
  fill: #e58e09;
}

.rating:not(:checked) > label:hover,
.rating:not(:checked) > label:hover ~ label {
  fill: #ff9e0b;
}

.rating > input:checked ~ label > svg {
  fill: #ffa723; /* Set color for selected stars */
}
