
.body1{
    font-family: Arial, sans-serif;
    padding-top: 70px;
}
.nav {
    position: fixed; 
    top: 0; 
    width: 100%; 
    background-color: #f8f9fa;
    padding: 10px;
    list-style-type: none;
    margin: 0;
    display: flex;
    justify-content: space-around;
}
.nav-item {
    display: inline;
    margin-right: 10px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: black;
}
.task-block {
    border: 1px solid #ccc;
    margin: 10px;
    padding: 10px;
}
.logo {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.img1{
    width: 50px;
    height: 50px;
}
.img2{
    width: 160px;
    height: 200px;
}
.author{
    text-align: center;
}
.logo:hover .info {
    display: block;
}
.info {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 1;
}

/* */

.cal{
    display: flex;
    justify-content: center;
}

#calculator {
    width: 300px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    background: darkgray;
}

#calculator button {
    width: 60px;
    height: 60px;
    font-size: 18px;
    margin: 5px;
    cursor: pointer;
}

#display {
    width: 80%;
    height: 40px;
    font-size: 24px; /* Настройте размер шрифта в соответствии с вашими предпочтениями */
    margin: 10px auto;
}

.calh:hover {
    background-color: #007BFF; /* Синій колір */
    color: white; /* Білий текст */
}

/* */

.con1{
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-bottom: 15px;
}
.con2{
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* */

        body {
            font-family: Arial, sans-serif;
            background-color: #f5f5f5;
            padding: 20px;
        }

        h1 {
            color: #333;
        }

        label {
            display: block;
            margin-top: 20px;
        }

        select, input[type="number"], button {
            width: 100%;
            padding: 10px;
            font-size: 16px;
            border-radius: 5px;
            border: 1px solid #ccc;
        }

        .roz {
            background-color: #007BFF;
            color: white;
            cursor: pointer;
        }

        .roz:hover {
            background-color: #0056b3;
        }