html {
    scroll-behavior: smooth;
}

body {
    margin:0;
    padding:0;
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    width: 100%;
    height: 250vh;
    padding-bottom: 5vh;
    background-color: black;
}

header {
    padding: 0;
    background-color: white;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.main-body {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: white;
}

.top-main {
    width: 100%;
    height: 100%;
    background-color: darkslategray;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(images/desk.avif);
    background-size: cover;
    background-position: center;
}

.top-main img {
    margin: 5%;
    width: 10%;
    height: 10%;
}

.top-main p {
    font-size: 1 rem;
    color: black;
    padding: 10px;
}


.contacts {
    margin: 0;
    font-size: 1 rem;
    color: white;
    text-align: center;
}

.cpa {
    object-fit:contain;
    width: 100%;
    height: 100%;
}

.title {
    font-size: 3rem;
    margin: 0;
    padding: 0;
    text-align: center;
}

.about {
    padding: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-top: 1%;
    font-size: 1 rem;
    text-decoration: none;
    color: black;
    background: white;
    font-weight: bold;
    text-align: center;
}

.about:hover {
    background-color: black;
    color: white;
}

.services {
    height: 80%;
    background-color: yellow;
    display: flex;
    justify-content: center;
}

.services p {
    font-size: 1rem;
    color: black;
    text-align: center;
    margin: 0;
}

.services img {
    width: 80%;
    height: 70%;
    object-fit: cover;
}

.services-img-wrapper {
    flex: 1;
    background-color: white;
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 5%;
}

.services-text-wrapper {
    flex: 1;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 5%;
}

.services-text-wrapper h1 {
    width: 50%;
}

.services-text-wrapper p {
    color: slategray;
    text-align: left;
    width: 50%;
}

.contacts-content {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-right: 5%;
}

@media screen and (max-width: 600px){
    .contacts-content {
        flex-direction: column;
    }
    .services {
        flex-direction: column;
    }
    .services-img-wrapper {
        justify-content: center;
        padding-top: 5%;
        padding-bottom: 3%;
        align-items: end;
    }
    .services-text-wrapper {
        align-items: center;
        padding-bottom: 5%;
    }
    .services-text-wrapper h1 {
        font-size: 1.5rem;
    }
    .services-text-wrapper p {
        font-size: 1rem;
    }
}

.contacts-content iframe {
    width: 50%;
    height: 100%;
    border: none;
    padding: 1rem;
}

.contacts-title {
    margin-bottom: 2%;
}

.contacts-wrapper {
    width: 100%;
    height: 80%;
    color: white;
    background-color: royalblue;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 5%;
}