@import url(./header.css);
@import url(./footer.css);
body {
    background: url("./img/Sprinkle.svg");
}

main {
    display: flex;
    justify-content: center;
    align-items: left;
    flex-direction: column;
    background-color: white;
    height: 100%;
    margin: 125px 20% 0 20%;
}

.about-btn {
    border-radius: 25px 25px 0 0;
    border-color: #ffc107;
    border-style: solid;
    border-width: 2px 2px 0 2px;
}

.about-con {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0px 20px 10px 0px rgba(0, 0, 0, 0.75);
    margin-bottom: 5%;
    border-radius: 0px 0px 25px 25px;
    border: #ffc107 2px solid;
}

.about-btn button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 20px 20px 0 0;
    cursor: pointer;
}

.aboutUs {
    border: none;
    color: white;
    background-color: #ffc107;
    transition: 0.3s;
}

#map iframe {
    border-bottom-left-radius: 25px;
}

.contacts {
    border: none;
    background-color: white;
    transition: 0.3s;
    color: #ffc107;
}

.aboutUs:hover,
.contacts:hover {
    background-color: #ffc107;
    color: white;
}

.text-field {
    margin: 10% 25%;
}

#map {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#map img {
    height: 200px;
    width: 200px;
}

.contacts-con {
    width: 100%;
    height: 500px;
    display: none;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.contacts-list {
    background: #ffc107;
    width: 50%;
    height: 100%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

ul {
    padding: 0;
}

.items {
    font-size: 16px;
    padding: 10px 0 10px 0;
    border-bottom: 1px solid white;
}

li,
a {
    color: white;
    text-decoration: none;
    list-style: none;
}

a {
    cursor: pointer;
}

.btn-active {
    border: none;
    background: #ffc107;
    color: white;
}

.btn-not-active {
    border: none;
    color: #ffc107;
    background: white;
}

.active {
    display: flex;
}

.not-active {
    display: none;
}

@media (max-width: 1024px) {
    .contacts-con {
        flex-direction: column;
    }
    main {
        margin-left: 12.5%;
        margin-right: 12.5%;
    }
    #map {
        width: 100%;
    }
    .contacts-list {
        width: 100%;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }
    #map iframe {
        width: 100%;
        border-bottom-left-radius: 0;
    }
}

@media (max-width: 768px) {
    main {
        margin-left: 7.5%;
        margin-right: 7.5%;
    }
    .about-con {
        box-shadow: 0px 7.5px 7.5px 0px rgb(0 0 0 / 75%);
    }
    .text-field {
        margin: 7.5% 20%;
    }
    .text-field p {
        font-size: 0.825rem;
    }
}

@media (max-width: 425px) {
    .text-field {
        margin: 5% 10%;
    }
    .text-field p {
        font-size: 0.75rem;
    }
}