body {
    text-align: center;
    background-color: darkslategray;
}

section {
    padding: 5px;
    height: auto;
}


img {
    height: 90%;
    width: 90%;
    object-fit: fill;
    margin: 0 auto;
    border: 2px solid silver;
    border-radius: 10px;
    margin-right: 25px;
}

.img-container {
    font-size: 0;
    line-height: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.img-container img {
    display: inline-block;
    vertical-align: top;
    margin: 0 0px 0px 0;
}

.img-container img:nth-child(2) {
    margin-right: 0;
}

button {
    padding: 10px;
    border-radius: 10px;
    height: 100px;
    width: 200px;
}

main {
    text-align: center;
}


.footer {
    border: 2px solid silver;
    border-radius: 10px;
    height: 700px;
    width: 100%;
}

.contact-info {
    border: 2px solid silver;
    border-radius: 10px;
    height: 500px;
    width: 100%;
}

.profile-border,
.border-services,
.border,
.img-border {
    border: 2px solid silver;
    border-radius: 10px;
    height: auto;
    padding: 5px;
    padding-bottom: 40px;
}

h1,
h3 {
    font-size: 50px;
    color: white;
    text-align: center;
    padding: 30px;
    letter-spacing: normal;
    word-spacing: normal;
}

p,
li {
    font-size: 50px;
    color: white;
    text-align: left;
    padding: 10px;
    letter-spacing: normal;
    word-spacing: normal;
}

@media (max-width: 768px) {

    h1,
    p,
    address {
        text-align: center;
    }
}

#scrollToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 0px;
    z-index: 99;
    border: transparent;
    outline: none;
    background-color: transparent;
    color: transparent;
    cursor: pointer;
    padding: 0;
    width: 135px;
    height: 135px;
    border-radius: 50%;
    font-size: 35px;
}

#scrollToTop img {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 50%;
}


.badges {
    height: 500px;
    width: 500px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
}

.badges-border,
.social-media {
    border: 2px solid silver;
    height: 750px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-left: auto;
    text-align: center;
    border-radius: 10px;
    display: block;
}

.social-media {
    border: 2px solid silver;
    height: 300px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-left: auto;
    text-align: center;
    border-radius: 10px;
    display: block;
}

.social-media img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin: 5px;
    border-radius: 8px;
    transition: transform 0.2s;
}

.social-media img:hover {
    transform: scale(1.1);
}


.google-border {
    border: 2px solid silver;
    border-radius: 10px;
    text-align: center;
    height: 300px;
}

.image-container {
    position: relative;
    display: inline-block;
}

.image-container img {
    display: block;
}

img:hover {
    transform: scale(1.1);
}

img {
    transition: transform 0.3s ease;
}

.image-container .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    text-align: center;
}