
.rubik-heading {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

body {
    margin: 0;
    padding: 0;
}

header {
    background-image: url(images/pattern-bg-desktop.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    gap: 30px;
    color: white;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px 100px;
}

#search-bar {
    display: flex;
    justify-content: center;
}

#search-btn {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: black;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border: none;
}

#search-inp{
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background-color: white;
    width: 500px;
    height: 50px;
    cursor: text;
    border: none;
    padding: 0 20px;
    outline: none;
    font-size: 16px;
}

.info-panel {
    display: flex;
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);

    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 100;
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
}

.info-item {
    flex: 1;
    padding: 0 2rem;
    border-right: 1px solid #e0e0e0;
}

.info-item:last-child {
  border-right: none;
}

.label {
    color: #959595;
    font-weight: 500;
    font-size: 12px;
}

.data {
    color: black;
    font-weight: 500;
    font-size: 24px;
    margin: 0;
}

#map {
    width: 100%;
    z-index: 1;
    height: calc(100vh - 300px);
    margin: 0;
    padding: 0;
    display: block;
}

.container {
    background: transparent;
    margin-bottom: -75px;
    position: relative;
}

@media (max-width: 768px)
{
    header {
        background-image: url(images/pattern-bg-mobile.png);
        padding: 20px 15px 80px;
    }

    header h1 {
        font-size: 24px;
        margin: 10px 0;
    }

    #search-inp {
        width: 250px;
        height: 45px;
        font-size: 14px;
        padding: 0 15px;
    }

    #search-btn {
        width: 45px;
        height: 45px;
    }

    .info-panel {
        flex-direction: column;
        padding: 1.5rem;
        top: 170px;
        width: 85%;
        gap: 20px;
    }

    .info-item {
        padding: 0;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 20px;
        text-align: center;
    }

    .info-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .label {
        font-size: 10px;
    }

    .data {
        font-size: 18px;
    }

    #map {
        height: calc(100vh - 300px);
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    #search-inp {
        width: 200px;
    }

    .data {
        font-size: 16px;
    }
}