/* Base and common styles for all pages */

html, body {
    margin: 0;
    padding: 0;
    overflow-x:hidden;/* Prevent horizontal scroll */
}

* {
    margin: 0px;
    padding: 0px;
    text-decoration: none;
    border: none;
    font-family: Tahoma, "Tahoma Fallback";
    color: black;
}

body {
    background-color: white;
}

/* header */

#header {
    display: flex;
    width: auto;
    flex-direction: row;
    padding: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
    align-items: center;
    justify-content: space-evenly;
    background: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

/* nav links in the header */

#links a {
    padding: 20px 10px;
    font-size: 1em;
}

#links a:hover {
    text-decoration: underline;
}

/* contact button in the header */

#headerContact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

#headerContact a {
    padding: 30px;
    border-radius: 12px;
    background-color: #3f4b76;
    color: white;
    font-weight: bolder;
}

/* common buttons and links */

button, a {
    cursor: pointer;
}

/* footer */

#footer {
    background-color: black;
    color: white;
    text-align: center;
    font-size: 1.5rem;
    margin-top: 70px;
    padding-bottom: 70px;
}

#footer p,
#footer h2 {
    color: white;
}

#reviews {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 50px;
    justify-self: center;
}

#reviews p {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 18px;
}

.circle {
    width: 15px;
    height: 15px;
    border: 2.5px solid white;
    border-radius: 100%;
    background-color: transparent;
}

.filled {
    background-color: white;
}

#contactInfo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 50px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 30px;
}

#contactInfo div {
    display: flex;
    flex-direction: column;
    min-width: 250px;
}

.footerItem {
    font-weight: bold;
    font-size: 0.75em;
}

#contactInfo img {
    height: 200px;
    margin-top: 20px;
}

#socials {
    display: flex;
    flex-direction: row;
}

/* Responsive for common layout */

@media (max-width: 768px) {
    #header {
        flex-direction: column;
        gap: 15px;
    }

    #links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    #headerContact a {
        padding: 15px 20px;
        font-size: 0.9rem;
    }
}
