@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400&display=swap');

body {
    font-family: 'Poppins', sans-serif;

}

.container-consultas {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    position: relative;
    width: 100%;
}

@media screen and (min-width: 200px) and (max-width:600px) {
    .container-consultas .busca-area h2 {
        font-size: 15px;
    }

    .container-consultas .busca-area .search-box {
        width: 50%;
        font-size: 10px;
    }

    .container-consultas .card h3 {
        font-size: 9px;
        line-height: 10px;
    }

    .container-consultas .card p {
        font-size: 8px;
    }

    .container-consultas .card span {
        font-size: 10px;
    }

    .container-consultas .card a {
        font-size: 10px;
    }

    .container-consultas .card h4 {
        font-size: 9px;
        text-align: center;
    }

    .container-consultas .pedido {
        margin-right: 3%;
    }

    .container-consultas .pedido h2 {
        font-size: 10px;
        text-align: center;
    }

    .container-consultas .pedido .picture {
        width: 100%;
        height: 30%;
        font-size: 10px;
        text-align: center;
    }

    .container-consultas .pedido button {
        width: 80%;
        font-size: 10px;
    }

}

@media screen and (min-width: 601px) and (max-width:768px) {
    .container-consultas .busca-area h2 {
        font-size: 18px;
    }

    .container-consultas .busca-area .search-box {
        width: 40%;
        font-size: 10px;
    }

    .container-consultas .card h3 {
        font-size: 12px;
        line-height: 13px;
    }

    .container-consultas .card p {
        font-size: 10px;
    }

    .container-consultas .card span {
        font-size: 12px;
    }

    .container-consultas .card a {
        font-size: 12px;
    }

    .container-consultas .card h4 {
        font-size: 10px;
        text-align: center;
    }

    .container-consultas .pedido {
        margin-right: 3%;
    }
}

@media screen and (min-width: 769px) and (max-width:1024px) {
    .container-consultas .busca-area h2 {
        font-size: 21px;
    }

    .container-consultas .busca-area .search-box {
        width: 40%;
        font-size: 13px;
    }

    .container-consultas .card h3 {
        font-size: 14px;
    }

    .container-consultas .card p {
        font-size: 12px;
    }

    .container-consultas .card span {
        font-size: 14px;
    }

    .container-consultas .card a {
        font-size: 14px;
    }

    .container-consultas .card h4 {
        font-size: 11px;
        text-align: center;
    }

    .container-consultas .pedido {
        margin-right: 3%;
    }
}

@media screen and (min-width: 1025px) and (max-width:1222px) {

    .container-consultas .pedido {
        margin-right: 3%;

    }
}


.submenu_item {
    gap: -10px;
}

.banner-consultas {
    width: 100%;
    min-height: 100px;
}

.banner-consultas img {
    width: 100%;
    height: 20%;
    border-radius: 0;
}

.busca-area {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px;
    width: 100%;
}

.busca-area h2 {
    color: #1284a1;
    font-weight: 600;
}

.search-box {
    background-color: rgb(223, 218, 212);
    width: 20%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 30px;
    padding: 10px;
}

input:focus-visible {
    outline: none
}

.search-box input {
    border: none;
    background-color: rgb(223, 218, 212);
    width: 100%;
    height: 100%;
}

.search-box a {
    color: var(--color-light-50);
}

.especialidades {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 5%;
    gap: 20px;
    flex-wrap: wrap;
}

.especialidades .card {
    width: 20%;
    height: 50%;
    border: 0.5px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 3%;
}

.card img {
    width: 100%;
    height: 20%;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.card h3 {
    color: #1284a1;
    font-size: 18px;
    margin-left: 2%;
}

.card p {
    font-size: 11px;
    margin-top: 4%;
    margin-left: 2%;
    text-align: left;
}

.card span {
    font-size: 13px;
    margin-left: 2%;
    margin-bottom: 2%;
}

.card a {
    text-decoration: underline;
    margin-left: 2%;
    margin-bottom: 2%;
    color: rgb(215, 80, 80);
    transition: 0.5s;
}

.card a:hover {
    text-decoration: none;
}

.card h4 {
    background-color: rgb(215, 80, 80);
    width: 80%;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10%;
    margin-bottom: 3%;
    border-radius: 10px;
    color: #e9e9e9;
    font-weight: bold;
    transition: 0.4s;
    border: 2px solid;
    font-size: 14px;
    cursor: pointer;
}

.card h4:hover {
    background-color: #e9e9e9;
    border: 2px solid rgb(215, 80, 80);
    color: rgb(215, 80, 80);
}

.pedido h2 {
    color: #1284a1;
    font-weight: 400;
}

.pedido button {
    width: 25%;
    background-color: #1284a1;
    border-radius: 5px;
    border: none;
    padding: 3px;
    font-weight: bold;
    color: #ddd;
    cursor: pointer;
}

#picture-input {
    display: none;
}

.pedido .picture {
    width: 200px;
    aspect-ratio: 16/9;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    border: 2px dashed currentColor;
    cursor: pointer;
    font-family: sans-serif;
    transition: color 300ms ease-in-out, background 300ms ease-in-out, box-shadow 300ms ease-in-out;
}

.picture:hover {
    color: #777;
    background: #ccc;
    box-shadow: 0 0 10px #777;
}

.picture:active {
    border-color: #1284a1;
    color: #1284a1;
    background: #ddd;
}

.picture-img {
    max-width: 100%;
}

.container-consultas .pedido {
    position: fixed;
    z-index: 100;
    margin-left: 60%;
    margin-top: 12%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    padding: 30px 40px;
    border-radius: 8px;
    gap: 1px;
    box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.336);
    height: fit-content;
    opacity: 0;
    animation: fadeInOut 15s ease-in infinite;
}

.pedido #form-pedido {
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.container-consultas .pedido.paused {
    animation-play-state: paused;
}