@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

body {
    font-size: 16px;
    background-color: #F6F6F6;
}

main {
    margin: 1.5em auto;
    max-width: 700px;
    font-family: 'Open Sans', sans-serif;
}

.header {
    display: flex;
    align-items: center;
}

.details h1, .header h1{
    font-size: 1.8em;
    font-weight: 500;
    margin: .5em 0;
}

.header h1 {
    margin-left: .5em;
    text-transform: uppercase;
}


.details p , .header p{
    font-size: .8em;
}

.input-group, .header, .details, .contact-info {
    border: 1px solid rgb(223, 223, 223);
    margin: 1em 1.5em;
    border-radius: 5px;
    padding: 1em 1.5em;
    background-color: white;
}

.input-group label{
    display: block;
    margin: 1em 0;
    font-size: 1em;
    font-weight: 400;
}

.input-group input, .input-group select {
    border: none;
    border-bottom: 1px solid rgb(223, 223, 223);
    width: 100%;
    padding: .5em;
    outline: none;
    box-sizing: border-box;
    margin-bottom: 1em;
    font-size: 1em;
    font-weight: 300;
}

.input-group select  {
    border: 1px solid rgb(223, 223, 223);
    border-radius: 5px;
    color: gray;
}

.contact-info h2{
    font-size: 1.5em;
    font-weight: 400;
}

.contact-info p{
    font-size: .8em;
    font-weight: 400;
}

.btn-primary {
    margin: 0 1.5em;
    padding: 8px 15px;
    font-size: 1em;
    background-color: rgb(119, 0, 255);
    border: 0;
    color: white;
    border-radius: 5px;
    margin-left: auto;
    display: block;
}

.radio-input input, radio-group input, .radio-group label{
    display: inline;
    width: fit-content;
}

@media screen and (max-width: 600px) {
    body {
        font-size: 14px;
    }
}

@media screen and (max-width: 500px) {
    .input-group, .header, .details, .contact-info {
        margin: 1.5em 1em;
    }
}
@media screen and (max-width: 400px) {
    body {
        font-size: 12px;
    }
}

::-webkit-scrollbar {
    height: 12px;
    width: 12px;
    background: #ebebeb;
    overflow: visible;
}
::-webkit-scrollbar-corner {
    display: none;
    background: #f5f5f5;
}

::-webkit-scrollbar-button {
    display: none;
    height:0;
    width: 0;
}

::-webkit-scrollbar-button:start:decrement,::-webkit-scrollbar-button:end:increment             {
    display: block;
}

::-webkit-scrollbar-button:vertical:start:increment,::-webkit-scrollbar-button:vertical:end:decrement {
    display: none;
}

::-webkit-scrollbar-track {
    -moz-background-clip: border;
    -webkit-background-clip: border;
    background-clip: padding-box;
    background-color: #f5f5f5;
}

::-webkit-scrollbar-track:vertical, ::-webkit-scrollbar-track:horizontal {
    border-left-width: 0;
    border-right-width: 0;
}

::-webkit-scrollbar-track:vertical,::-webkit-scrollbar-track:horizontal,::-webkit-scrollbar-thumb:vertical,::-webkit-scrollbar-thumb:horizontal,::-webkit-scrollbar-track:vertical,::-webkit-scrollbar-track:horizontal,::-webkit-scrollbar-thumb:vertical,::-webkit-scrollbar-thumb:horizontal {
    border-style: solid;
    border-color: transparent;
}

::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,.1),inset 0 -1px 0 rgba(0,0,0,.07);
    background-clip: padding-box;
    background-color: rgba(0,0,0,.2);
    min-height: 28px;
    padding-top: 100px;
}

::-webkit-scrollbar-thumb:hover {
    -webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,.25);
    background-color: rgba(0,0,0,.4);
}

::-webkit-scrollbar-thumb:active {
    -webkit-box-shadow: inset 1px 1px 3px rgba(0,0,0,.35);
    background-color: rgba(0,0,0,.5);
}

::-webkit-scrollbar-thumb:vertical, ::-webkit-scrollbar-thumb:horizontal {
    border-width: 0;
    border-left-width: 0;
    border-right-width: 0;
}