body {
    overflow: hidden;
    font-family: "Times New Roman", Times, serif;
}

#navbar a {
    float: left;
    display: block;
    color: #000000;
    text-align: center;
    padding: 14px;
    text-decoration: none;
    transition: 0.2s;

}

img {
    margin-top: 20px;
    width: 250px;
    height: 163px;
}

#about span {
    color: red;
    font-size: 150px;
}

#about h1 {
    font-size: 150px;
    margin: 5px;

}

.block {
    height: 100vh;
    text-align: center;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#navbar a:hover {
    text-decoration: underline #ff0000;
}

#navbar {
    display: flex;
    position: fixed;
}

#contacts a {
    text-decoration: none;
    color: black;
    transition: 0.4s;
    font-weight: 900;
}

#contacts span {
    font-weight: 900;
}

#contacts a:hover {
    color: red;
    font-weight: 900;
}

#contacts span:hover {
    color: #ff0000;
    font-weight: 900;
}

button {
    cursor: pointer;
}


::selection {
    color: #ffffff;
    background-color: #ff0000;
}


button {
    width: 100px;
    height: 30px;
    transition: 0.4s;
    border: 1px solid black;
    border-radius: 3px;
    margin-top: 30px;
    padding: 5px;
}

button:hover {
    background-color: #ff0000;
    color: #ffffff;
}

@media (max-width: 600px) {
    #navbar {
        width: 100%;
        display: flex;
    }
    #navbar a {
        width: 100%;
        font-size: 24px;
    }
}