@import 'reset.css';
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');

body {
    font-family: "Roboto Slab", 'Times New Roman', Times, serif;
    line-height: 1.6;
    font-size: 1rem;
    color: #111;
}

h1, h2, h3, h4 {
    font-weight: bold;
    color: rgb(52, 59, 66);
    padding: 8px 0;
}

.homepage__nav {
    display: flex;
    gap: 32px;
    border-top: 1px solid #110c5713;
    border-bottom: 1px solid #110c5713;
    margin-top: 32px;
}

.homepage__nav-item {
    flex: 1;
    text-align: center;
}

a {
    padding: 8px;
    text-decoration: none;
    font-size: 1.1rem;
}

a:hover {
    background-color: #467dcf;
    color: white;
}

h1 {
    font-size: 2.44rem;
}

h2 {
    font-size: 1.63rem;
}

h3 {
    font-size: 1.33rem;
}

a {
    color: #111;
}

.container {
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

.homepage {
    padding-top: 32px;
}

.homepage__about {
    display: flex;
    align-items: center;
}

.homepage__greetings-wrapper {
    padding: 24px;
}

.homepage__photo-square {
    width: 240px;
    height: 240px;
}

.homepage__photo {
    border-radius: 50%;
    object-fit: cover;
    width: 240px;
    height: 240px;
}

@media only screen and (max-width: 768px) {

    h1 {
        font-size: 20px;
        text-align: center;
    }

    .homepage__about {
        display: flex;
        flex-direction: column;
    }

    .homepage__photo-square {
        width: 180px;
        height: 180px;
    }

    .homepage__photo {
        width: 180px;
        height: 180px;
    }

}