/* set general style */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: white;
    margin: 0;
    position: relative;
}

input[type="submit"] {
    box-shadow: 0;
    border-color: transparent;
}

::placeholder {
    color: rgb(255, 255, 255);
}

a, a:hover, a:focus, a:visited, a:active {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

/* Styling for mobile devices first*/
header {
    width: 100vw;
    height: 3vh;
    position: absolute;
    z-index: 3;
    bottom: 100vh;
    text-align: center;
    font-size: 10px;
}

.legals_link {
    margin-right: 20px;
    font-size: 10px;
}
.sponsor_tracking {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    right: 3%;
    top: 1%;
    background-color: #5e7a2a;
    border-radius: 25px;
    color: white;
    letter-spacing: 1px;
    cursor: pointer;
    font-size: 10px;
}
.sponsor_tracking:hover {
    background-color: #335211;
}

.sponsor_form_section {
    width: 100vw;
    height: 100vh;
    background: no-repeat url(./images/smartphoneBackground-min.jpg);
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.text_side {
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding-left: 4%;
    padding-top: 3%;

}

.logo_container {
    width: 80px;
    height: auto;
}

.brand_logo {
    width: 100%;
    height: 100%;
}

.white_arrow {
    width: 20px;
    margin-left: 10%;
}

/* right side main page */
.error {
    color: red;
    font-size: 20px;
}

.form_side {
    width: 100vw;
    height: 70vh;
    display: flex;
}

.form_side_text {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.circle_container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: solid 2px white;
    border-radius: 65px;
    color: #A47B52;
    font-size: 18px;
}

.infos_arrow_container {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.circle_infos {
    font-size: 12px;
    line-height: 20px;
    width: 65%;
    text-align: right;
}

.orange_arrow {
    height: 20px;
}
.addMargin {
    padding-right: 20%;
}
/* styling sponsor form */

.sponsor_form {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sponsor_input {
    font-size: 12px;
    margin-bottom: 30px;
    font-weight: 300;
    width: 120px;
    height: 25px;
    background: transparent;
    border-color: white;
    border-width: 2px;
    color: white;
    text-align: center;
    border-radius: 25px;
    border-style: solid;
}

::placeholder {
    color: white;
}

.sponsor_submit {
    width: 124px;
    height: 29px;
    background-color: #A47B52;
    border-radius: 25px;
    color: white;
    letter-spacing: 1px;
    cursor: pointer;
}

.sponsor_submit:hover {
    background-color: #75491c;
}

/* Staff page */
.staff_section {
    width: 100vw;
    height: 100vh;
    display: flex;
    background: no-repeat url(./images/axastaffsmartphone.jpg);
    background-size: cover;
    background-position: center;
}

.staff_description_container {
    display: flex;
    height: 90%;
    padding-top: 10%;
    flex-direction: column;
    justify-content: space-around;
    padding-left: 10%;
}

.staff_description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 120px;
    border-color: white;
    border-style: solid;
    border-width: 1px;
    border-radius: 20px;
    z-index: 4;
}

h3 {
    text-align: center;
    font-size: 15px;
    margin: 5px;
}

.staff_font {
    font-size: 8px;
    margin: 0;
    margin-bottom: 5px;
}

.staff_description:hover {
    background-color: rgba(164, 123, 82, .44)
}

/* Footer */
footer {
    position: absolute;
    z-index: 4;
    width: 100%;
    bottom: 0;
    font-size: 8px;
    text-align: center;
}

.paragraph_container {
    display: none;
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;*/
}

h2 {
    font-size: 15px;
}

.paragraph {
    text-align: center;
    font-size: 10px;
    width: 200px;
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 10;
    /* Sit on top */
    /* padding-top: 100px; */
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100vw;
    /* Full width */
    height: 100vh;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    backdrop-filter: blur(8px);
}

.referral_inputs::placeholder {
    color: black;
}

/* Modal Content */
.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    margin-bottom: 10px;
    padding: 0;
    width: 100%;
    height: 100%;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* referral form*/
.referral_inputs {
    border-radius: 25px;
    width: 150px;
    height: 20px;
    text-align: center;
    color: black;
    margin-top: 5px;
    margin-bottom: 5px;
    background-color: white;
}

.referral_submit {
    color: white;
    background-color: #A47B52;
    width: 150px;
    border-radius: 25px;
    height: 20px;
}

.referral_submit:hover {
    background-color: #75491c;
}

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

.button_container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
}

.end_button {
    color: white;
    background-color: #a45252;
    width: 180px;
    border-color: transparent;
    border-radius: 25px;
    height: 30px;
    margin-bottom: 20px;
    cursor: pointer;
    font-size: 18px;
}

.end_button:hover {
    background-color: #a53737;
}


.fa-check {
    margin-left: 5px;
    color: rgb(40, 250, 40);
    opacity: 0;
}

/* Succes pop up */
.success_popup {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 20;
    /* Sit on top */
    /* padding-top: 100px; */
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100vw;
    /* Full width */
    height: 100vh;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    backdrop-filter: blur(8px);
}

.success_popup_content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: black;
}

.success_message {
    background-color: white;
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30%;
    text-align: center;
    border-radius: 25px;
    font-size: 15px;
    padding: 10px
}

.close {
    color: #aaa;
    align-self: flex-start;
    position: absolute;
    margin-left: 25%;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.wlc-i-dashboard {
    background-color: black;

}

/* Tablets */
@media only screen and (min-width : 481px) {
    .sponsor_form_section {
        background-image: url(./images/tabletsBackground-min.jpg);
    }

    .staff_section {
        background-image: url(./images/AXAStaffSmallDevices.jpg);
    }
    .button_container {
        position: fixed;
        bottom: 50px;
    }
    
    .end_button {
        width: 200px;
        height: 50px;
    }
}

/* Small screen, laptops */
@media only screen and (min-width : 769px) {
    .legals_link {
        font-size: 15px;
    }
    .sponsor_tracking {
        font-size: 15px;
    }
    .sponsor_form_section {
        background-image: url(./images/1stbackground.jpg);
        background-position: center;
    }

    .sponsor_input {
        width: 160px;
    }

    .sponsor_submit {
        width: 160px;
    }

    .staff_section {
        background-image: url(./images/AXAStaffSmallDevices.jpg);
    }

    .staff_description {
        width: 180px;
    }

    h3 {
        font-size: 23px;
    }

    .staff_font {
        font-size: 11px;
    }

    h2 {
        font-size: 25px;
    }

    .paragraph {
        font-size: 15px;
        width: 300px;
    }
}


/* Desktop, large screens */
@media only screen and (min-width : 1025px) {
    .logo_container {
        width: 150px;
    }

    .main_title {
        font-size: 30px;
        width: 250px;
        margin-top: 10%;
    }

    header {
        position: fixed;
        transform: rotate(-90deg);
        top: 50vh;
        left: 48vw;
        height: 2vh;
    }

    .sponsor_form_section {
        flex-direction: row;
    }

    .text_side {
        position: fixed;
        top: 0;
        height: 100vh;
        width: 50vw;
    }

    .form_side {
        height: 100vh;
        width: 50vw;
        margin-left: 50vw;
        justify-content: flex-end;
    }

    .form_side_text {
        justify-content: flex-end;
    }

    .circle_container {
        flex-direction: row;
        margin-bottom: 60%;
    }

    .circle {
        min-width: 40px;
        min-height: 40px;
    }

    .circle_infos {
        padding-left: 10px;
    }

    .paragraph_container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    h2 {
        text-align: left;
        width: 400px;
        font-size: 30px;
    }

    .paragraph {
        width: 400px;
        text-align: left;
    }

    .modal {
        padding: 0;
    }

    .referrals_form_container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .success_message {
        font-size: 25px;
    }

    .staff_section {
        background-image: url(./images/axa-staff.jpg);
        background-position: center;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .staff_description_container {
        order: 2;
        flex-direction: row;
        padding-left: 0;
        height: auto;
        padding-top: 0;
    }

    .order {
        order: 3;
    }

    .order2 {
        order: 2;
    }

    .order3 {
        order: 1;
    }
}

/* Extra large screens */
@media only screen and (min-width : 1201px) {
    header {
        position: fixed;
        transform: rotate(-90deg);
        top: 50vh;
        left: 48vw;
        height: 2vh;
        font-size: 13px;
    }

    .logo_container {
        width: 150px;
    }

    .main_title {
        font-size: 40px;
        width: 350px;
        margin-top: 10%;
    }

    .sponsor_form_section {
        flex-direction: row;
    }

    .text_side {
        position: fixed;
        top: 0;
        height: 100vh;
        width: 50vw;
    }

    .form_side {
        height: 100vh;
        width: 50vw;
        margin-left: 50vw;
        justify-content: flex-end;
    }

    .form_side_text {
        position: relative;
        top: 5%;
        justify-content: flex-end;
    }

    .circle_container {
        flex-direction: row;
        margin-bottom: 40%;
    }

    .circle {
        min-width: 70px;
        min-height: 70px;
    }

    .circle_infos {
        font-size: 15px;
        padding-left: 10px;
        width: 40%;
    }

    .paragraph_container {
        align-items: flex-end;
        margin-right: 25%;
        margin-top: 6%;
    }

    .sponsor_form {
        align-items: flex-start;
    }

    .sponsor_input {
        height: 30px;
        margin-bottom: 20px;
    }

    .sponsor_submit {
        height: 30px;
    }

    h2 {
        text-align: left;
        width: 400px;
        font-size: 30px;
    }

    .paragraph {
        width: 400px;
        text-align: left;
    }

    .referral_inputs {
        width: 250px;
        height: 40px;
        margin-bottom: 15px;
        font-size: 16px;
    }

    .referral_submit {
        color: white;
        background-color: #A47B52;
        width: 250px;
        border-radius: 25px;
        height: 40px;
        font-size: 16px;
    }
    .addMargin {
        margin-left: 5%;
    }
}