table{
    border-collapse: collapse;
    border: 1px solid black;
    width: 100%;
    padding: 2%;
}
td{
    padding: 2%;
}
input[type=text], input[type=date], input[type=number], input[type=time] {
    border: 1px solid #b0b0b0;
    border-radius: 6px;
    padding: 5px;
    color: #ff5733;
    background-color: #f9f9f9;
    font-weight: bold;
    width: 70%;
    display: inline-block;
}

input::placeholder {
    font-weight: normal;
    color: #999;
}

input[type=radio]:hover {
    background-color: #f9f9f9;
    font-size: 16pt;
    padding: 6px;
    width: 50px;
    height: 18px;
}

input[type=checkbox] + label {
    background-color: #f5e8d8;
    font-size: 10pt;
    padding: 6px;
    width: auto;
    height: auto;
    border: 1px solid #c0b9a8;
    border-radius: 6px;
    cursor: pointer;
    line-height: 30px;
}

input[type=checkbox] + label:hover {
    background-color: #ff5733;
    color: white;
    font-weight: bold;
}

/* Изменяем стиль кнопок */
input[type=reset], input[type=button] {
    border: 2px solid #ff5733;
    border-radius: 6px;
    padding: 6px 10px;
    box-sizing: border-box;
    font-weight: bold;
    color: white;
    background-color: #ff5733;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    text-shadow: #ff5733 1px 1px 2px;
    width: auto;
    display: inline-block;
    margin-left: 10px; /* Двигаем кнопку вбок */
}

input[type=reset] {
    background-color: #ffb833;
    border: 2px solid #ff5733;
}

input[type=reset]:hover, input[type=button]:hover {
    border: 2px solid #d11f00;
    background-color: #d11f00;
}

select {
    background-color: #fdf4e3;
    border-radius: 6px;
    border: 1px solid #c0b9a8;
    padding: 8px;
    width: 70%;
    display: inline-block;
}

input[type="range"] {
    appearance: none;
    width: 80%;
    height: 10px;
    background: linear-gradient(to right, royalblue, violet, crimson);
    outline: none;
    border-radius: 20px;
    padding: 1px;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 25px;
    height: 25px;
    background: url('https://ibaslogic.github.io/hosted-assets/smile.png');
    background-size: cover;
    cursor: pointer;
}

input[type=color] {
    cursor: pointer;
    width: 45px;
    border-color: #c0b9a8;
    border-radius: 6px;
    height: 45px;
}

input[type=file] {
    color: #ff5733;
}

input::file-selector-button {
    font-weight: bold;
    text-shadow: #2a3d4f 1px 1px 2px;
    color: white;
    background: linear-gradient(to right, #ffb833, #ff5733);
    padding: 8px;
    border: thin solid #d11f00;
    border-radius: 6px;
    cursor: pointer;
}



body {
    font-family: Arial, sans-serif;
    background-color: #e5e5f8;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
h1{
    font-family:Georgia, Times, serif ;
    letter-spacing: 2px;
    font-variant: small-caps;
    color: #DCDCDC;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
}
nav {
    background-color: #333;
    width: 100%;
}
.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.menu li {
    position: relative;
    flex-grow: 1;
    text-align: center;
}
.menu li a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    display: block;
    background-color: #333;
}
.menu li:hover > a {
    background-color: #444;
}
.dropdown {
    display: none;
    position: absolute;
    background-color: #444;
    width: 100%;
    padding: 0;
}
.dropdown li {
    width: 100%;
    list-style-type: none;
}
.dropdown li a {
    padding: 12px 16px;
    display: block;
    color: white;
    text-align: center;
}
.dropdown li a:hover {
    background-color: #555;
}
.menu li:hover .dropdown {
    display: block;
}
.background-main {
    background-image: url('../style/HomePageMain.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 500px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.text{
    padding: 20px;
    max-width: 900px;
    margin: auto;
    background: #ececec;
    border-radius: 8px;
}
section {
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;

}
h2 {
    color: #333;
}
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1px;
    width: 100%;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}


.highlight {
    background-color: grey;
}


















