*,
*::after,
*::before {
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    overflow: hidden;
}

body {
    height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

p {
    margin: 0;
}

.container {
    width: 100%;
    display: flex;
    height: calc(100% - 95px);
    min-height: calc(100% - 95px);
}

.content-container {
    width: 77%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.main-block {
    margin-top: 95px;
    height: 70vh;
}

.error {
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 20px;
    color: #ff4040;
    font-family: "Roboto", sans-serif;
    text-align: center;
}

.login-block {
    width: 440px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid #F5F5F5;
    border-radius: 15px;
}

.login-form_title {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 24px;
    color: #434C63;
}

.login-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.login-input {
    margin-bottom: 20px;
    padding-left: 20px;
    width: 380px;
    height: 55px;
    font-size: 16px;
    border: 2px solid #EBEBEB;
    border-radius: 7px;
}

.login-btn {
    margin-bottom: 40px;
    width: 380px;
    height: 55px;
    font-size: 18px;
    color: #FFFFFF;
    background-color: #434C63;
    border: none;
    border-radius: 7px;
    box-shadow: 2px 3px 5px 1px rgba(67, 76, 99, .3);
    transition: background-color linear .3s, box-shadow linear 0.3s;
}

.login-btn:hover {
    cursor: pointer;
    background-color: #555c80;
    box-shadow: 2px 3px 5px 1px rgb(126, 126, 126);
}

@media screen  and (max-width: 520px) {
    .login-input {
        width: 320px;
        height: 50px;
    }

    .login-btn {
        width: 320px;
        height: 50px;
        font-size: 18px;
    }
}

@media screen  and (max-width: 480px) {
    .login-block {
        margin-top: 0;
        width: 350px;
    }

    .login-form_title {
        margin: 30px 0;
        font-size: 24px;
        color: #434C63;
    }
}

.header-block {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.header-icon {
    padding-right: 15px;
}

.header-block_userInfo {
    margin-left: 2em;
    display: flex;
    gap: 15px;
}

.header-user_img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.header-email {
    color: #b8b8b8;
}

.check-box-div {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 4px;
    margin-bottom: 20px;
}

.custom-checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.custom-checkbox+label {
    display: inline-flex;
    align-items: center;
    user-select: none;
}

.custom-checkbox+label::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #adb5bd;
    border-radius: 0.25em;
    margin-right: 5px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

.custom-checkbox:checked+label::before {
    border-color: #495471;
    background-color: #495471;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

@media screen and (max-width: 1050px) {
    .header {
        justify-content: right;
    }
}

@media screen and (max-width: 786px) {
    .header {
        margin-top: 10px;
        margin-bottom: 30px;
        height: 9vh;
        flex-direction: column;
    }

    .header-text {
        font-size: 20px;
    }

    .header-block {
        padding: 20px 0;
        width: 100%;
    }

    .header-user_info {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .header-icon {
        display: none;
    }
}


.main-block {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
