
/* app/static/css/welcome.css */

.main {
    min-height: calc(100vh - 60px);
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
}

.profile-card {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    padding: 30px 25px;


    border-radius: 12px;
    transform: translateY(-20px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    text-align: center;
        background: #f9fbfc;
    border: 1px solid rgba(0,0,0,0.05);

}


.profile-row {
    margin-bottom: 5px;
}

.profile-image img {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 10px;
}

.profile-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.profile-row .value {
    color: #999;
    font-size: 13px;
}

.status {
    width: 10px;
    height: 10px;
    background: #4cd964;
    border-radius: 50%;
}

.profile-row span:first-child {
    color: #777;
}

/* **************************** КНОПКИ КАРТЫ ПРОФИЛЯ ********************** */


.btn-edit {
    background: linear-gradient(135deg, #2bb7b5, #1f9fa0);
    color: white;
}

.btn-edit:hover {
    background: linear-gradient(135deg, #1f9fa0, #178a8b);
}

.btn-back {
    background: #e0e0e0;
    color: #333;
}

.btn-back:hover {
    background: #cfcfcf;
}

.btn-edit,
.btn-back {
    transition: background 0.4s ease;
}

.profile-card .btn {
    max-width: 260px;
    margin: 0 auto;
}

.profile-card form {
    margin-top: 10px;
}

.profile-page {
    background: linear-gradient(
        135deg,
#b8efec,
#e0f8f7
    );
}



.projects-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /*     grid-template-columns: repeat(2, 300px);*/
    gap: 25px;
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(2, 300px);
    justify-content: center;
}

/* карточка */
/*.project-card {
    width: 300px;
    height: 200px;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease;
    display: block;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}*/

.project-card {
    width: 300px;
    height: 200px;

    border-radius: 16px;

    display: block;
    text-decoration: none;

    background-size: cover;
    background-position: center;

    position: relative;
    overflow: hidden;

    transition: transform 0.25s ease;
    border: 1px solid #e3e6ea;
/*
    border: 1px solid rgba(255, 255, 255, 0.9);
*/
}

.project-card .overlay {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 20px;

    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}


/* hover — убрать матовость */
.project-card:hover {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;

/* увеличение zoom
   background: rgba(255, 255, 255, 0.85);
*/

    transform: translateY(-3px);
/*
    box-shadow: 0 10px 25px rgba(0,0,0,0.55);
*/
box-shadow:
    0 10px 20px rgba(0,0,0,0.2),
    0 20px 40px rgba(0,0,0,0.55);
}

/* заголовок */
.project-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

/* описание */
.project-desc {
    font-size: 14px;
    color: #444;
}

.project-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.profile-page {
background: linear-gradient(135deg, #eef1f4, #e2e7ec);
}

/* глобальная чистка */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    gap: 25px;
    justify-content: center;
}
