@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('pic1.jpg') no-repeat;
    background-size: cover;
    background-position: center;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
    background: linear-gradient(45deg, #3a8bc8, #104698);
}


.form{
    position: relative;
    width: 500px;
    height: 540px;
    background: #f1f1f1;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.form .registration-form{
    width: 100%;
    padding: 40px;
}

.registration-form h2{
    font-size: 2em;
    color: #162938;
    text-align: center;
}

.input-box {
    position: relative;
    width:100%;
    height: 40px;
    border-bottom: 2px solid #162938;
    margin: 20px 0;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #162938;
    font-weight: 500;
    pointer-events: none;
    transition: .5s;
}

.input-box input:focus~label,
.input-box input:valid~label,
.input-box input:not(:placeholder-shown)~label {
    top: -5px;
  }

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #162938;
    font-weight: 600;
    padding: 0 35px 0 5px;
}

.input-box input::placeholder{
    padding-left: 80px;
}

.input-box .icon{
    position: absolute;
    right: 8px;
    font-size: 1.2em;
    color: #162938;
}
.select-language select {
    height: 40px; 
  }

.select-language p{
    font-size: 1em;
    color: #162938;
    font-weight: 600;
}

select {
    width: 100%;
    height: 20px;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f1f1f1;
    border: 1px solid #b1b3b5;
    margin-top: 0px;
}
.select-frequency select {
    height: 40px; 
  }

.select-frequency p{
    font-size: 1em;
    color: #162938;
    font-weight: 600;
}

.select-frequency {
    margin-top: 20px;
}

.form-radio {
    margin-top: 20px;
    margin-bottom: 20px
}

.form-radio p{
    font-size: 1em;
    color: #162938;
    font-weight: 600;
}

.form-radio label{
    font-size: 1em;
    color: #162938;
    font-weight: 600;
}

.logo{
    font-size: 1.5em;
    color:#f1f1f1;
    font-family: 'Poppins', sans-serif;
}

.logo a {
    text-decoration: none;
    color:#f1f1f1;
  }

.navigation a{
    position: relative;
    font-size: 1.1em;
    color: #f1f1f1;
    text-decoration: none;
    font-weight: 500;
    margin-left: 40px;
}

.navigation a::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: #f1f1f1;
    border-radius: 5px;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .5s;
}

.navigation a:hover::after{
    transform: scaleX(1);
}

.navigation .btnLogin{
    width: 140px;
    height: 40px;
    background: transparent;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    color: #fff;
    font-weight: 500;
    margin-left: 40px;
    transition: .5s;
}

.btn-submit{
    width: 100%;
    height: 45px;
    background: linear-gradient(45deg, #3a8bc8, #104698);
    outline: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    color: #fff;
    font-weight: 500;
}

.form-radio{
    font-size: 1em;
    font-weight: 300;
    display: inline-block;
    vertical-align: middle;
    color: #f1f1f1;
}

/* footer styling */

footer{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(45deg, #3a8bc8, #104698);
    height: auto;
    width: 100vw;
    font-family: 'Poppins', sans-serif;
    padding: 20px;
    color: #f1f1f1;
}

.footer-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.footer-links a {
    margin: 0 10px;
    text-decoration: none;
    color: #f1f1f1;
  }
  
  .footer-links a:hover {
    text-decoration: underline;
  }
