:root {
  card-w: min(46rem, 92vw);
  pad: clamp(12px, 2vw, 20px);
  radius: 16px;             /* ← semicolon */
}

body{
    font-family: Segoe UI, system-ui, -apple-system, Arial, sans-serif;
    font-family: Segoe, sans-serif;
    font-size: clamp(1rem, 1.5vw, 2rem); 
    margin: 0;                         /* Reset margin (not just top) */
    padding-top: 5px;                /* Replace margin-top for consistency */
    width: 100%;                      
    color: #222222;
    min-height: 100vh;
    background: linear-gradient(180deg, #f5f9ff 50%, #aec0d2 90%);


}
.logo {
    margin-top: 15px;
    margin-left: 10px;
}

.logo img {
    width: clamp(3rem, 5vw, 4rem);
    height: auto;
    display: block;
}

.avatar {
    width: clamp(3rem, 5vw, 4rem);
    height: 50px;
    border-radius: 50%; /* makes it perfectly round */
    object-fit: cover;  /* ensures it fills the circle without distortion */
    border: 2px solid #ccc; /* optional: adds a thin border */
    margin-top: 10px;
}

.header {
  background: transparent;
  width: 98%;
  display: flex;
  margin-top: 1px; 
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}


.header img {
    width: clamp(3rem, 6vw, 5rem);
    height: auto;
    border-radius: 50%;
}


.screen-block{
    width: clamp(20rem, 40vw, 32rem); 
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    z-index: 1
}

.title{
    width: clamp(20rem, 80vw, 50rem); 
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 3rem); 
    font-weight: bold; 
    margin-top: 5px;
    z-index: 1;
}

.input-bar{
    width: clamp(20rem, 40vw, 30rem);
    margin-left: auto;
    margin-right: auto;
    background: transparent;
    display: flex;
    justify-content: 1px;
    margin-top: 5px; 
    align-items: left;
    padding: 10px;
}


.inputInfo{
    width: clamp(6rem, 12vw, 8rem);
    font-size: clamp(1rem, 2vw, 1.4rem);
}
.inputType{
    width: clamp(12rem, 20vw, 16rem);
    font-size: clamp(1rem, 2vw, 1.5rem);
}
.register-bar{
    width: clamp(20rem, 50vw, 45rem);
    margin-left: auto;
    margin-right: auto;
    background: transparent;
    display: flex;
}

.register-button{
    margin-top: 10px; 
    margin-right: 15px;
    padding: 2px 4px;   
    font-size: clamp(0.85rem, 2vw, 1.6rem);
    height: 50px;
    width: 150px; 
    border-radius: 8px; 
    border: 2px solid #999;
    background-color: #0098e1;
    color: white;
}
button:hover {
  background-color: #ffcc00;
}
