body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #f3f3f3;
    font-family: 'Montserrat', sans-serif;
}

div{
    display: flex;
    gap: 20px;
    border-radius: 22px;
}
.task-block{
    border: 0.5px solid rgb(101, 101, 101);
    padding: 20px;
    flex-direction: column;
    gap: 10px;
    width:auto;
}
.task-block-header{
    flex-direction: row;
    gap: 15px;
    font-size: 20px;
    font-weight: bold;
}
.taskstatus{
    margin-top: 5px;
    width: 15px;
    height: 15px;
}
.task-block-body{
    padding: 0px 0px 0px 30px;
    flex-direction: column;
    font-size: 14px;
    gap: 10px;
}
.task-block-info{
    flex-direction: row;
    padding: 0px;
    gap: 10px;
}
.task-block-info-res{
    width: fit-content;
    margin-top: -2px;
    padding: 5px 10px;
    flex-direction: row;
    font-size: 11px;
    font-weight: bold;
    background-color: #ff0000;
}


.block{
    flex-direction: column;
    background-color: #ffffff;
    box-shadow: 0 20px 40px -25px rgba(0, 0, 0, 0.15);
    padding: 50px;
    margin-bottom: 20px;
    width: 550px;
}
.main-block{
    flex-direction: row;
}


button{
    display: flex;
    border-radius: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color:rgb(255, 255, 255);
    border: 0.5px solid #000000;
}

.main-button{
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 50px;
    border: 0.5px solid #f2f2f2;
    font-size: 16px;
    box-shadow: 0 0px 0px -15px rgba(0, 0, 0, 0.15);
}
.main-button:hover {
    border-color:rgb(255, 230, 0);
    box-shadow: 0 22px 15px -15px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}
.main-button:active {
    transform: translateY(1px);
    box-shadow: 0 10px 10px -15px rgba(0, 0, 0, 0.1);
}

.but-pic{
    width: 150px;
    height: 150px;
    transition: transform 0.3s ease;
}
.main-button:hover .but-pic {
    transform: scale(1.05);
}

/* Form */
form{
    flex-direction: row;
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: center;
    justify-content: center;
}
form.send_form{
    align-items: flex-start;
    flex-direction: column;
    font-size: 14px;
    
    gap: 10px;
}
info{
    font-size: 12px;
    color: rgb(163, 163, 163);
}
input{
    border: 0.5px solid rgb(163, 163, 163);
    border-radius: 50px;
    padding: 10px 20px;
    width: 100%;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}
input.but{
    width: 100px;
}
input:focus{
    border: 0.5px solid rgb(255, 230, 0);
}
input::placeholder {
    transition: opacity 0.3s ease;
}
input:focus::placeholder {
    opacity: 0.2;
}
select{
    width: 100%;
    padding: 10px;
    border-radius: 22px;
    border: 1px solid #000000;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .block{
        width: 80%;
    }
    .main-block{
        flex-direction: row;
    }
    .main-button{
        padding: 20px;
    }
    form.send_form{
        gap: 10px;
        font-size: 16px;
    }
}/**/

@media screen and (max-width: 520px) {
    h1 {
        font-size: 28px;
    }
    div{
        gap: 10px;
    }
    .block{
        width: 80%;
        padding: 20px;
    }
    .main-block{
        flex-direction: column;
    }
    .main-button{
        flex-direction: row;
        padding: 20px;
    }
    .but-pic{
        width: 60px;
        height: 60px;
    }
    .task-block-info{
        flex-direction: column;
        font-size: 12px;
    }
    .taskstatus{
        width: 10px;
        height: 10px;
    }
    .task-block-body{
        padding: 0px;
    }
    .task-block-header{
        font-size: 14px;
    }
    .send_form{
        gap: 5px;
        font-size: 16px;
    }
}/**/

a {
    text-decoration: none;
    color: inherit;
    display: flex;
    width: 100%;
}

.error {
    border: 2px solid #ff0000 !important;
    background-color: #fff0f0 ;
}

.required-mark {
    font-weight: 800;
    color: red;
    margin-right: 10px;
}