@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@600;800&display=swap');

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body {
    background-color: #F6AD1C;
}

.container {
    width: 80%;
    max-width: 1150px;
    margin: auto;
}
.navbar {
    display: flex;
    height: 123px;
    align-items: center;
}

.left {
    flex: 1;
}

.right {
    flex: 1;
    text-align: right;
}

.navbar ul {
    padding: 0;
}

.navbar ul li {
    display: inline-block;
}

.navbar ul li a {
    font-size: 19px;
    font-weight: 600;
    padding: 0 5px;
    margin-left: 10px;
    text-decoration: none;
    color: #000;
}

h1 {
    font-size: 58px;
    font-weight: 800;
    margin: 0;
    padding: 0;
    line-height: 100%;
}

h2 {
    font-size: 18px;
    margin: 5px 0;
}

main {
    background-image: url('../images/_left.png'), url('../images/_head1.png');
    background-repeat: no-repeat;
    background-position: left, 120% top;
    background-size: contain, 60vw;
    background-origin: content-box;
}

.main-inner-wrapper {
    display: flex;
}

form {
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 400px;
    margin-top: 20px;
}

form input::placeholder {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    font-weight: 800;
}

label {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    font-weight: 800;
}

textarea {
    margin-top: 20px;
}

form input {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    font-weight: 800;
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    position: relative;
}

.input-wrapper input {
    background-color: rgba(256, 256, 256, 0);
    border: none;
    border-bottom: 2px solid #000;
    padding: 5px 0;
    z-index: 1;
}


.main-inner-wrapper .right {
    position: relative;
}

.input-wrapper::after {
    content: '';
    background-image: url('../images/Polygon\ 2.png');
    background-repeat: no-repeat;
    width: 15px;
    height: 10px;
    z-index: 1000;
    background-size: contain;
    position: absolute;
    right: 0;
    top: 5px;
}

.input-wrapper input:focus {
    outline: none;
}

.input-wrapper label {
    font-size: 12px;
    font-weight: 800;
    margin-top: 5px;
}


/* file inputs */

.custom-file-input {
  color: transparent;
}
.custom-file-input::-webkit-file-upload-button {
  visibility: hidden;
}
.custom-file-input::before {
  content: 'Incarca imagine';
  color: #fff;
  display: inline-block;
  background-image: url('../images/Path\ 100.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  /* background: #000; */
  border: none;
  border-radius: 0;
  padding: 5px 15px;
  outline: none;
  white-space: nowrap;
  -webkit-user-select: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 10pt;
}
.custom-file-input:hover::before {
  border-color: black;
}
.custom-file-input:active {
  outline: 0;
}
.custom-file-input:active::before {
  background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9); 
}


.input-wrapper.file-up input {
    background-color: rgba(256, 256, 256, 0);
    border: none;
    border-top: 2px solid #000;
    padding: 5px 0;
}

.input-wrapper.file-up label {
    font-size: 14px;
    padding-bottom: 5px;
}

.notice {
    margin: 20px 0 0 0;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.notice img {
    display: inline;
    margin: 0 5px;
    height: 15px;
    object-fit: contain;
}

.button-wrapper .notice{
    text-align: left;
    float: left;
    width: 90%;
    margin: 0;
}

.button-wrapper input {
    float: left;
}

.button-wrapper button {
    background-image: url(../images/Path\ 101.png);
    width: 220px;
    height: 250px;
    background-color: rgba(256, 256, 256, 0);
    border: none;
    position: absolute;
    background-repeat: no-repeat;
    left: 18%;
    top: 40%;
    background-size: contain;
    padding: 0;
    font-size: 32px;
    font-weight: 800;
    font-family: 'Open Sans';
    line-height: 35px;
    cursor: pointer;
}

.button-wrapper button:focus {
    outline: none;
}

.notice-wrapper {
    position: absolute;
    bottom: 15%;
}

.mobile-car, .mobile-navbar, .closed-mobile-navbar{ 
    display: none;
}

@media all and (min-width: 1023px) and (max-width: 1365px){
    main {
        background-position: -20% 20%, 120% top;
        background-size: 25vw, 60vw;
        background-origin: content-box;
    }

    .button-wrapper button {
        width: 120px;
        height: 140px;
        left: 13.5%;
        top: 21%;
        background-size: contain;
        font-size: 20px;
        line-height: 23px;
    }
    .notice-wrapper {
        position: absolute;
        top: 45%;
    }
}

@media (min-width: 1366px) and (max-width: 1439px) {

    .button-wrapper button {
        width: 180px;
        height: 200px;
        left: 10%;
        top: 28%;
        background-size: contain;
        font-size: 30px;
        line-height: 33px;
    }
    .notice-wrapper {
        position: absolute;
        top: 55%;
    }
}


@media all and (min-width: 1440px) and (max-width: 1919px){
    main {
        background-repeat: no-repeat;
        background-position: -10%, 120% top;
        background-size: 20vw, 60vw;
        background-origin: content-box;
    }
    .button-wrapper button {
        width: 180px;
        height: 200px;
        left: 12.5%;
        top: 30%;
        background-size: contain;
        padding: 0;
        font-size: 30px;
        line-height: 35px;
    }
    .notice-wrapper {
        position: absolute;
        top: 65%;
    }
}

@media all and (min-width: 2560px){
    .notice-wrapper {
        position: absolute;
        bottom: -10%;
    }

    .button-wrapper button {
        width: 320px;
        height: 350px;
        left: 23%;
        top: 53%;
        background-size: contain;
        padding: 0;
        font-size: 58px;
        line-height: 65px;
    }
}

@media all and (max-width: 768px){
    main {
        background-image: none;
    }
    .main-inner-wrapper {
        flex-direction: column;
    }
    .container {
        width: calc( 100% - 40px);
    }
    form {
        width: 100%;
        max-width: 100%;
    }

    .headers {
        display: flex;
        flex-direction: column-reverse;
        text-align: center;
    }

    .left > img {
        margin: auto;
        display: block;
        margin-top: 15px;
    }

    h1 {
        font-size: 32px;
        font-weight: 800;
        margin: 0;
        padding: 0;
        line-height: 100%;
    }

    h2 {
        font-size: 20px;
        margin: 5px 0;
    }
    .mobile-car {
        width: 100vw;
        margin-left: -20px;
        margin-right: -20px;
        overflow: hidden;
        display: flex;
        justify-content: center;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    form input::placeholder {
        font-size: 14px;
        font-weight: bold;
        color: #000;
        font-weight: 800;
        text-align: center;
    }
    form label{
        text-align: center;
    }
    .custom-file-input::before {
        margin: auto;
        display: block;
        width: 100px;
    }
    .button-wrapper button {
        background-image: url(../images/Path\ 101.png);
        width: 130px;
        height: 150px;
        position: inherit;
        font-size: 22px;
        line-height: 25px;
        display: block;
        margin: auto;
    }
    .main-inner-wrapper .right {
        padding-bottom: 50px;
    }
    .button-wrapper {
        display: flex;
        flex-direction: column-reverse;
    }
    .notice-wrapper {
        position: initial;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .mobile-navbar {
        width: 100vw;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1001;
        background-color: rgba(0,0,0,0.4);
    }

    .inner-nav {
        width: 60%;
        height: 100%;
        background: #f6ad1c;
    }

    .inner-nav > a {
        display: block;
        margin: auto;
        width: 200px;
        text-align: center;
        padding-top: 20px;
    }

    .inner-nav ul {
        list-style-type: none;
        position: relative;
        padding: 0;
    }

    .inner-nav ul li {
        padding: 15px 30px;
        border-bottom: 1px solid #000;
        border-top: 1px solid #fff;
    }
    .inner-nav ul li a {
        text-decoration: none;
        color: #000;
    }

    #close-mob-nav {
        position: relative;
        /* bottom: 50px; */
        background: none;
        background-image: url('../images/Polygon\ 2.svg');
        font-weight: 800;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        border: none;
        font-size: 30px;
        padding: 15px;
        font-family: 'Open Sans';
        display: block;
        margin: auto;
    }

    #open-mob-nav {
        background: none;
        border: none;
    }

    #open-mob-nav:focus, #close-mob-nav:focus {
        outline: none;
    }
    .closed-mobile-navbar {
        display: flex;
        align-items: center;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .closed-mobile-navbar img {
        max-width: 100px;
    }
    .navbar {
        display: none;
    }
}

input[type=checkbox] {
    display:none;
    }
     
    input[type=checkbox] + label
    {
    background:rgba(0,0,0,0.0);
    background-image: url('../images/Polygon\ 2.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 16px;
    width: 16px;
    display:inline-block;
    padding: 0 0 0 0px;
    }
    input[type=checkbox]:checked + label
    {
        background:rgba(0,0,0,0.0);
        background-image: url('../images/Polygon\ 2\ -\ selected.png');
        background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 16px;
    width: 16px;
    display:inline-block;
    padding: 0 0 0 0px;
    }

    .notice-wrapper label {
        float: left;
        margin-right: 5px;
        margin-top: 2px;
    }

    label.error {
        color: #fff;
    text-shadow: 0 0 #fff;
    position: relative;
    background: red;
    font-weight: 600 !important;
    border-radius: 10px;
    padding: 2px 10px;
    font-size: 12px !important;
    }