@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

*,*::after,*::before{
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

:root {
	--prime: #41807c;
	--second: white;
	--bg-light: #5ea6a1;
	--bg-yellow: #f1c50e;
	--bg-black: #1e1e1e;
}

html {
    font-size: 62.5%;
    box-sizing: border-box;
}


/* nav{
    position: absolute;
    height: 80px;
    width: 100%;
    background-color:white;
} */

body{
    background-color: var(--prime);
    font-family: 'Poppins', sans-serif;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header-box {
    position: relative;
}

.header-img {
    /* height: 60vh; */
    width: 100vw;
    box-shadow: 0 1rem 1.2rem rgba(0,0,0,0.3);
    background-size: cover;
    background-position: top;
    opacity: 1;
    filter: brightness(0.8);
}

.header-text {
    font-size: 4rem;
    font-weight: 600;
    position: absolute;
    letter-spacing: 3px;
    top: 60%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: #ffffff75;
    padding: 4rem;
    white-space: nowrap;
    border-radius: 1rem;
}

.form-container{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    width: 60%;
    background: white;
    padding: 28px;
    margin: 10rem 0;
    border-radius: 30px;
    box-shadow: 0 1rem 1.2rem rgba(0,0,0,0.3);
    /* overflow:auto; */
}
.round-1{
    background-color: var(--bg-yellow);
    border-radius: 50%;
    width: 12rem;
    height: 12rem;
    box-shadow: inset -2px 3px 4px #9a7e09;
    position: absolute;
    top: -5rem;
    left: -5rem;
    z-index: -1;

}
.round-2{
    background-color: var(--bg-yellow);
    border-radius: 50%;
    width: 8rem;
    height: 8rem;
    box-shadow: inset 2px 3px 2px #9a7e09;
    position: absolute;
    top: 32%;
    right: -13rem;
    z-index: -1;
}

.round-3{
    background-color: #206460;
    border-radius: 50%;
    width: 13rem;
    height: 13rem;
    box-shadow: inset 0px 2px 3px #000000;
    position: absolute;
    top: 35%;
    right: -7rem;
    z-index: -1;
}
.round-4{
    background-color: #D9D9D9;
    border-radius: 50%;
    width: 5rem;
    height: 5rem;
    box-shadow: inset 2px 3px 2px #444444;
    position: absolute;
    top: 40%;
    right: -8rem;
    z-index: -1;
}
.round-5{
    background-color: #D9D9D9;
    border-radius: 50%;
    width: 12rem;
    height: 12rem;
    box-shadow: inset 2px 3px 2px #454545;
    position: absolute;
    bottom: 20%;
    left: -8rem;
    z-index: -1;
}
.round-6{
    background-color: #5EA6A1;
    border-radius: 50%;
    width: 13rem;
    height: 13rem;
    box-shadow: inset -2px -3px 4px #292929;
    position: absolute;
    bottom: -6rem;
    right: -6rem;
    z-index: -1;
}

.form {
    padding: 2rem;
    width: 80%;
    display: flex;
    flex-direction: column;
}

.input-box {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.form-label {
    font-size: 1.7rem;
    /* margin: 5px 0px; */
    margin-bottom: 12px;
}

.radio-box {
    padding: 1.2rem 0;
}

.radio-box .form-label {
    /* font-size: 1.5rem; */
    color: rgb(75, 75, 75);
}

.radio-box p {
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.form-input,.form-input:active {
    font-size: 14px;
    padding: 1rem 1.5rem;
    width: 100%;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid lightgrey;

}

.form-input:focus {
    outline: 1px solid var(--bg-light);
}

.form-btn {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 4rem 0 0 0;
    align-self: center;
    padding: 1rem 2rem;
    width: 18rem;
    border: none;
    border-radius: 40px;
    background-color: rgb(242, 177, 11);
    box-shadow: 0.2rem 0.3rem 0rem var(--bg-light);
}

.radio-group{
    display: inline-flex;
    justify-content: flex-start;
    align-items: baseline;
    margin-right: 1rem;
}
.form-btn:hover {
    background-color: var(--bg-light);
    box-shadow: 0.2rem 0.3rem 0rem rgb(242, 177, 11);
    transition: all 0.3s;
    cursor: pointer;
}

input[type="radio"]{
    display: inline-block;
    width: 15px;
    margin-right: 2px;
    margin-bottom: 15px;
}

.text-area,.text-area:active {
    padding: 1rem 2rem;
    border: 1px solid #717070;
    border-radius: 5px;
}

.text-area:focus {
    outline: 1px solid var(--bg-light);
}

@media screen and (max-width:800px) {
    main{
        overflow: hidden;
    }
    .header-box {
        margin-top: 7rem;
    }
    .form-container{
        width: 80%;

    }
    .form{
        width: 90%;
    }
    .header-text{
        font-size: 3rem;
    }
    .header-img{
        height: 60vw;
    }
    .round-1{
        background-color: var(--bg-yellow);
        border-radius: 50%;
        width: 12rem;
        height: 12rem;
        box-shadow: inset 2px 3px 2px #9a7e09;
        position: absolute;
        top: -5rem;
        left: -5rem;
        z-index: -1;
    
    }
    .round-2{
        background-color: var(--bg-yellow);
        border-radius: 50%;
        width: 6rem;
        height: 6rem;
        box-shadow: inset 2px 3px 2px #9a7e09;
        position: absolute;
        top: 32%;
        right: -8rem;
        z-index: -1;
    }
    
    .round-3{
        background-color: #206460;
        border-radius: 50%;
        width: 10rem;
        height: 10rem;
        box-shadow: inset 0px 2px 3px #000000;
        position: absolute;
        top: 35%;
        right: -5rem;
        z-index: -1;
    }
    .round-4{
        background-color: #D9D9D9;
        border-radius: 50%;
        width: 4rem;
        height: 4rem;
        box-shadow: inset 2px 3px 2px #444444;
        position: absolute;
        top: 39%;
        right: -5rem;
        z-index: -1;
    }
    .round-5{
        background-color: #D9D9D9;
        border-radius: 50%;
        width: 10rem;
        height: 10rem;
        box-shadow: inset 2px 3px 2px #454545;
        position: absolute;
        bottom: 20%;
        left: -6rem;
        z-index: -1;
    }
    .round-6{
  
        bottom: -5rem;
        right: -5rem;
    }
}
@media screen and (max-width:600px) {
    .form-container{
        width: 90%;
        padding: 0.1rem;
        margin-top: 5rem;
        padding: 3rem;

    }
    .form{
        width: 100%;
        padding: 0;
    }
    .header-text{
        font-size: 2rem;
        padding: 2rem 1rem;
    }
    .round-1{
        width: 7rem;
        height: 7rem;
        top: -3rem;
        left: -3rem;
    }

    
}
/* footer{
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--bg-light);
	color: var(--second);
	padding: 3rem 0;
    font-size: 2rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}
footer a{
    color: #D9D9D9;
} */