@charset "UTF-8";

* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    text-align: center;
    background-image: url(../image/bg.png);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    max-height: 100vh;
    max-width: 100vw;
    margin: 0 0 0 0;
}

#MainTitle {
    background-color: rgba(245, 222, 179, 0.450);
    margin-left: 30%;
    margin-right: 30%;
    border-radius: 30px;
    color: #3D0A1F;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.322);
}

#MainBlock {
    background-color: rgba(245, 222, 179, 0.450);
    margin-left: 8%;
    margin-right: 8%;
    border-radius: 30px;
    border: 3px solid black;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.322);
}

h2 {
    text-decoration: dotted;
    color: darkslateblue;
}

a {
    color: #a81251;
    text-decoration: none;
    transition: background-color .5s;
}

a:hover {
    background: rgba(248, 224, 8, 0.158);
    border-color: #17667f;
    border-radius: 10px;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

img {
    border-radius: 60px;
    border: 3px solid;
    border-color: black;
    margin-top: 5px;
    margin-left: 5px;
}
h1 {
    color: darkslateblue;
}

big {
    color: #3D0A1F;
}

select {
    margin-top: 5px;
}

button {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 20px;
    color: #fff;
    background-color: #3D0A1F;
    border-color: #3D0A1F;
    border-radius: 12px;
    cursor: pointer;
}

button:hover {
    color: #fff;
    background-color: #FF6BA9;
    border-color: #FF6BA9;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

table, th, td, tr {
    border: black solid 1px;
    border-collapse: collapse;
    text-align: center;
    padding: 3px;
}

select {
    margin-top: 5px;
    text-align-last: center;
    padding: 2px 1px;
    border: none;
    border-radius: 10px;
    background-color: #f1f1f1;
    cursor: pointer;
  }

select:focus{
      background-color: black;
      color: white;
}

input[type=number] {
    padding: 2px 1px;
    background-color: #f1f1f1;
    color: black;
    font-size: calc(1.275rem + 0.1vw);
    border-radius: 10px;
}

input[type=number]:focus {
    background-color: black;
    color: white;
}

input[type=checkbox] {
    height: 17px;
    width: 17px;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
}
  
input[type=checkbox]:hover input ~ .checkmark{
    background-color: #ccc;
}
  
input[type=checkbox] input:checked {
    background-color: #2196F3;
}
  