* {
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)) ,url("background.png");
}

.card-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.Card {
    border: 4px solid transparent;
    border-radius: 20px;
    background-image: linear-gradient(#fff, #fff), linear-gradient(to right, yellow, green); 
    background-origin: border-box;
    background-clip: padding-box, border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30%;
}

.Card header {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-color: #3498db;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4% 0;
}

.my-photo img {
    border-radius: 50%;
    border: 3px solid white;
}

.my-info {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    background-color: aliceblue;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5% 0 15% 0;
    gap: 30px;
}

.field {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.label {
  font-family: "Tagesschrift", system-ui;
  font-weight: 400;
  font-style: normal;
  font-size: 1.3rem;
  background: linear-gradient(90deg, #9900ff,#002aff);
  -webkit-background-clip: text;   /* قص الخلفية على النص */
  -webkit-text-fill-color: transparent; /* اجعل النص شفاف ليظهر التدرج */
}

.txt-field {
    border: 2px dotted black;
    width: 60%;
    border-radius: 8px;
    text-align: center;
    padding: 12px 30px;
    overflow-wrap: break-word; 
    word-break: break-word;
}




@media screen and (max-width: 1024px) {
    .Card {
        width: 70%;
    }
}


@media screen and (max-width: 600px) {
    .Card {
        width: 85%;
    }
    
}