@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:wght@100;500&family=Roboto+Condensed:wght@700&display=swap');
*{
    padding: 0;
    margin: 0;
    border: none;
    font-size: 15px;
}
body{
    background-color: rgb(234,234,234);
}
/* header{
    width: 100%;
    height: 70Px;
    background-color: black;
    border: 1px solid white;
} */
main{
    width: 100%;
    height: 900px;
    border: 1px;
    margin-top: 5px;
    display: flex;
    justify-content: center;
    justify-items: center;

}
.border{
    border: 1px;
}
#first-layer{
    display: flex;
    border: 1px ;
    margin-top: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
#Second-layer{
    margin-top: 20px;
    width: 542px;
    display: flex;
    margin-left: 31px;
    margin-right: 20px;
    flex-direction: column;
}
#api-part>div{
    margin: 12px;
}
#heding,h1{
font-weight: bold;
font-size: 30px;
font-family: 'IBM Plex Serif', serif;

}
#heding,p{
    color: rgb(92, 98, 105);
    font-weight: lighter;
    font-size: large;
}
#inqury{
    font-size: 17px;
    border: 1px dashed orangered;
    background-color: rgb(252,239,241);
}
#inqury>p{
    padding: 10px;
}

#fb>button{
    background-color: rgb(66,111,172);
}
.fab{
    position: relative;
    left: 20px;
    top: 18px;
}
button{
    padding: 10px;
    width: 515px;
    margin-left: 0px;
    font-size: 15px;
    color: white;
    font-family: 'Roboto Condensed', sans-serif;
    margin-top: -17px;
    border: none;
    border-radius: 5px;
}
#gl{
    margin-top: 5px;
}
#gl>button{
    background-color: rgb(8,124,221);
} 
input{
    border-bottom: 0.5px solid rgb(148,148,148);
    outline: none;
    padding-top: 13px;
    overflow: hidden;

}
form>div{
    margin: 30px 0 0 9px;
}
.name{
    display: flex;
}
#secname{
    margin-left: 125px;
}
#lastname{
    padding-left: 7px;
}
.labels-name{
    position: relative;
    width: 141px;
    height: 40px;

}
.labels-name input{
    height: 27px;
    width: 508px;
}

#firstname,#lastname{
    width: 252px;
}

.labels-name span{
    position: absolute;
    bottom: 5px;
    left: 0%;
    width: 100%;
    height: 60%;
    pointer-events: none;
}
.lable-content{
    position: absolute;
    bottom: 0px;
    left: 0px;
    transition: all 0.3s ease;
    width: 200px;
    height: 20px;
    pointer-events: none;
    background-color: white;
    color: rgb(148,148,148);
    font-size: 20px;
}

input:focus + .lable-content
{
    transform: translatey(-80%);
    font-size: 14px;
}
input:valid + .lable-content
{
    transform: translatey(-80%);
    font-size: 14px;
    color: blue;
    border: none;
}
input:valid{
    border-bottom: 1px solid blue;
}
input:hover{
    border-bottom: 2px solid black;
}

.btn button
{
    margin-top: 10px;
    background: none;
    border: 0.5px solid red;
    color: red;
}
.notvalid{
    display: none;
    font-size: 12px;
    color: red;
    margin: 10px;
}
input:invalid + .notvalid{
    display: block;
    color: black;
}
#secspan{
margin-left:283px;
margin-top: -27px;
}
footer{
    width: 100%;
    height: 200px;
    background-color: black;
    border: 1px solid white;
    margin-top: 30px;
}