* {
    font-family: "IberPangea", Sans-Serif, serif;
}
html {
    width: 100vw;
    height: 100%;
    overflow: hidden;
}
body {
    height: 100%;
    margin: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    background-image: linear-gradient(180deg,  #00A443 20%, #00402A 230%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#body-index {
    background-image: url('images/background.png');
    display: flex;
    flex-direction: column;
}
#body-confirmation {
    background-image: url('images/background2.png');
    padding: 0 260px;
}
#body-form {
    margin: 0;
    position: relative;
}

.logo {
    display: block;
    width: 380px;
    height: auto;
    padding-top: 78px;
    margin: 0 auto;
}

p, li {
    color: #fff;
    font-weight: 500;
    font-size: 31px;
    margin: 0;
}
.link {
    color: #fff;
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
    text-decoration: underline;
    text-underline-position: under;
    text-underline-offset: 11px;
    border: none;
    padding: 0;
}
button, a, input {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;;
}

.center-align {
    text-align: center;
    align-self: center;
}
.italic {
    font-style: italic;
    font-size: 28px;
    line-height: 150%;
    font-weight: 400;
    margin-top: 24px;
}

h1, h2 {
    color: #fff;
    font-size: 60px;
    margin: 78px 0 50px;
    font-weight: 600;
}
h2 {
    margin-top: 0;
}
h3 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
}
#h1-index {
    width: 790px;
    font-size: 220px;
    font-weight: 700;
    transform: rotate(-5.3deg);
    text-shadow: 9px 10px 10px #00402A;
    line-height: 120%;
    margin: 242px auto 40px;
}
#h1-confirmation {
    font-size: 82px;
    margin-bottom: 48px;
}

/*index*/
.p1, .p2 {
    font-size: 39px;
    background-color: #00A443;
}
.p1 {
    width: 398px;
    position: relative;
    z-index: 2;
}
.p2 {
    width: 267px;
    border-radius: 0;
}
.p3 {
    width: 350px;
    font-size: 65px;
    background-color: #00402A;
}
footer {
    margin-top: auto;
    margin-bottom: 50px;
}
footer p {
    margin: 0 auto;
    font-weight: 700;
    line-height: 120%;
    border-radius: 9px;
    box-shadow: 0 3px 4px 3px rgba(0, 0, 0, 0.25);
}
/*confirmation*/
.fun {
    font-size: 46px;
    font-weight: 500;
    line-height: 150%;
    margin: 48px 0;
}

/*buttons*/
button, .button {
    display: block;
    width: fit-content;
    cursor: pointer;
    color: #fff;
    font-size: 28px;
    line-height: 32px;
    border-radius: 4px;
    border: 1px solid #fff;
    padding: 18px 28px;
    background-color: transparent;
}
#register-btn {
    display: block;
    margin: 0 auto;
    font-size: 40px;
    font-weight: 700;
    line-height: 120%;
    color: #00402A;
    background-color: #FF9C1A;
    box-shadow: 0 -10px 5px 0 rgba(201, 114, 0, 0.60) inset, 0 10px 5px 0 rgba(255, 175, 69, 0.80) inset, 0 5px 10px 0 #00712E;
    border: none;
    border-radius: 999px;
    padding: 32px 42px;
}
#submit {
    background-color: #00402A;
    border-color: #00402A;
    margin-left: 16px;
}
#form-btns {
    margin-bottom: 100px;
}
.back-btn {
    margin: 56px 0 100px 192px;
    position: sticky;
    bottom: 0;
}
#body-confirmation button {
    margin: 0 auto;
}

/*form*/
form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
    align-self: stretch;
    padding-top: 50px;
}
form div {
    display: flex;
    width: 100%;
    flex: 1 0 0;
}
form p {
    font-size: 24px;
    font-weight: 400;
    line-height: 150%;
}
label {
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    line-height: 56px;
}
input {
    color: #00402A;
    font-size: 28px;
    font-weight: 500;
    line-height: 56px;
}
input[type=checkbox] {
    width: 32px;
    min-width: 32px;
    height: 32px;
}
.name-div, .surname-div, .email-div {
    flex-direction: column;
    gap: 8px;
}
.name-surname-div {
    gap: 24px;
}
.name-div, .surname-div {
    width: 47%;
}
#name, #surname, #email {
    height: 60px;
    align-self: stretch;
    border-radius: 8px;
    border: 3px solid #038538;
    padding: 0 24px;
}
#error-registered {
    display: none;
}
.checkboxes-div {
    flex-direction: column;
    gap: 24px;
    padding-bottom: 34px;
}
.checkboxes-div label, .checkboxes-div .italic {
    font-size: 24px;
    font-weight: 400;
    line-height: 150%;
}
.checkboxes-div label {
    padding-left: 16px;
}
.checkboxes-div input {
    cursor: pointer;
}
#terms-label, #marketing-label {
    display: flex;
    flex-direction: column;
    gap: 19px;
    padding-bottom: 19px;
}

/*overlays*/
#form {
    padding: 0 192px;
}
.terms, .data {
    display: none;
    position: absolute;
    top: 0;
    background-image: linear-gradient(180deg,  #00A443 20%, #00402A 230%);
    z-index: -1;
    flex-direction: column;
    height: 100%;
}
.terms p, .data p, .data li {
    font-size: 28px;
    margin-bottom: 14px;
    font-weight: 400;
}
.terms .logo, .data .logo {
    margin-bottom: 78px;
}
.terms a {
    color: #fff;
}
.content {
    overflow-y: scroll;
    height: 100%;
    padding: 0 192px;
}

/* Fonts */
@font-face {
    font-family: "IberPangea";
    src: url("fonts/IberPangea-LightItalic.woff2") format("woff2"), url("fonts/IberPangea-LightItalic.ttf") format("ttf");
    font-display: auto;
    font-style: italic;
    font-weight: 400;
    font-stretch: normal;
}
@font-face {
    font-family: "IberPangea";
    src: url("fonts/IberPangea-SmBold.woff2") format("woff2"), url("fonts/IberPangea-SmBold.ttf") format("ttf");
    font-display: auto;
    font-style: normal;
    font-weight: 700;
    font-stretch: normal;
}
@font-face {
    font-family: "IberPangea";
    src: url("fonts/IberPangea-Medium.woff2") format("woff2"), url("fonts/IberPangea-Medium.ttf") format("ttf");
    font-display: auto;
    font-style: normal;
    font-weight: 600;
    font-stretch: normal;
}
@font-face {
    font-family: "IberPangea";
    src: url("fonts/IberPangea-Regular.woff2") format("woff2"), url("fonts/IberPangea-Regular.ttf") format("ttf");
    font-display: auto;
    font-style: normal;
    font-weight: 500;
    font-stretch: normal;
}
@font-face {
    font-family: "IberPangea";
    src: url("fonts/IberPangea-Light.woff2") format("woff2"), url("fonts/IberPangea-Light.ttf") format("ttf");
    font-display: auto;
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
}

