*{
margin:0;
padding: 0;
box-sizing: border-box;


}

header {
  font-family: "Roboto Condensed", sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-around;
    color: #000000d9;
    

    background-color: #ffffff71;

    width: 100%;
    height: 80px;

    position: relative;
    gap: 20px;
}

#logo{

  height:80px;
  width:100px;
  position:absolute;
   left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);


}

.title{
    position:absolute;
      left: 30%;
    top: 50%;

font-size: 18px;



}


.about{
    position:absolute;
cursor: pointer;
font-size: 18px;
  left: 70%;
    top: 50%;


}


body{
background:url(assets/images/b.jpg);

 min-height: 100vh;

 
    background-repeat: no-repeat;
    background-position: center;    
    background-size: cover;

}


.card {
    position: relative;

    width: fit-content;
    margin: 10px auto 0;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);

    
}


.id{

 width: 600px;
 aspect-ratio: 807 / 573;
border-radius: 10px;
  display: block;
}

.name-input{
position: absolute;
 top: 40%;
left: 33%;


}

.grade-input{

position: absolute;
 top: 26%;
left: 33%;



}

.birth-input{

 position: absolute;
 top: 52%;
left: 33%;



}


.quirk-input{

position: absolute;
 top: 67%;
left: 33%;



}

.class-input{
position: absolute;
  top: 26%;
left: 55%;



}


.seat-input{
position: absolute;
top: 26%;
 left: 80%;


}

input{

 width: 19%;
height: 30px;
text-align: center;
background-color: transparent;
outline: none;
border: none;
font-family: "Roboto Condensed", sans-serif;
font-weight: 700;
font-size: 15px;

}


textarea{

     width: 19%;
     height:50px;
text-align: center;
background-color: transparent;
outline: none;
border: none;
font-family: "Roboto Condensed", sans-serif;
font-weight: 700;
font-size: 15px;
overflow: hidden;
  resize: none;

}


.student-photo {
    position: absolute;

    top: 25%;
    left:5%;

    width: 23%;
     aspect-ratio: 1 / 1.3;
    object-fit: cover;
    object-position: center;

}
.photo {
    display: none;
}


.upload-label {
    background-color: transparent;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    position: absolute;
    left:4%;
    top:42%;
    z-index: 10;
}

.download-button {
    display: block;

    margin: 5px auto 0;

    background-color: rgb(70, 102, 139);
    height: 40px;
    width: 100px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}


.about-box{
height: auto;
width: 500px;
background-color: rgb(70, 102, 139);
display: none;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: 20px;
  font-family: "Roboto Condensed", sans-serif;
  position: fixed;
  top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color:#fff;
    padding: 30px;
    z-index: 20;



}

.about{
background-color: transparent;
border: none;





}

.close{
background-color: transparent;
border: none;
color: #fff;
position: fixed;
left:90%;
top:3%;
font-size: 20px;
padding: 20px 10px;
cursor: pointer;
}


@media (max-width: 600px) {

    .id {
        width: 90vw;
    }


    .about-box {
        width: calc(100vw - 30px);
        font-size: 16px;
        padding: 20px;
    }


     header {
        padding: 0 15px;
          height: 90px;
    }

    .title,
    .about {
        font-size: 12px;
        padding-left: 10px;
        padding-right: 30px;
    
    }


    .title{

    left: 3%;
    top: 50%;

    }

      .upload-label {
         
        font-size: 7px;
        padding: 5px 8px;
    }


      .download-button {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 9999;
}


}
