.person {
    /* height: calc(100vh - 70px); */
    min-height: calc(100vh - 70px);
    background-color: #eee;
    padding-top: 200px;
    padding-bottom: 30px;
}

.person .container {
    display: flex;
    flex-wrap: wrap;
    /* height: 100%; */
    gap: 30px;
}

.person .photo {
    text-align: center;
    flex: 2;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
}

@media (max-width: 767.90px) {
    .person .photo {
        width: 100%;
        flex: unset;
    }
}

.person .photo img {
    /* width: 100%; */
    min-width: 50%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.person .info {
    flex: 3;
    height: 350px;
    /* width: 60%; */
    /* display: flex; */
    /* flex-direction: column; */
    /* justify-self: right; */
}

@media (max-width: 767.90px) {
    .person .info {
        height: unset;
    }
}

.person .info h2 {
    color: var(--maincolor);
    /* width: fit-content; */
    margin-bottom: 30px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--maincolor);
}

@media (max-width: 991.90px) {
    .person .info h2 {
        font-size: 20px;
    }
}

.person .info .con {
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
    height: calc(350px - 34.59px - 30px);
    justify-content: space-between;

}

.person .info p {
    /* justify-self: flex-end; */
    color: black;
    padding: 10px;
    background-color: white;
    border-radius: 10px;
    /* margin-bottom: 10px; */
}

.person .info p:last-child {
    margin: unset;
}

.person .info p span {
    font-weight: bold;
    color: var(--maincolor);
}

.person form {
    display: block;
    text-align: center;
    width: 100%;
}

.person form input {
    width: 500px;
    max-width: 100%;
    padding: 10px;
    background-color: var(--maincolor);
    border: none;
    color: white;
    border-radius: 10px;
    margin: 10px 10px;
    font: bold 16px/1.5 "Cairo", sans-serif;
}

.person .rep {
    flex: 1;
    display: flex;
    gap: 10px 30px;
    flex-wrap: wrap;
}

.person .rep p {
    width: 200px;
    flex: 1;
    white-space: nowrap;
    padding: 10px;
    background-color: white;
    border-radius: 10px;
}

.person .error-login {
    padding: 10px 20px;
    background-color: #fadbe2;
    color: #bb0a11;
    border-radius: 10px;
    width: 100%;
}