@import url("../style.scss");

header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    background-color: var(--blue);
    padding: 1rem 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .navbar {
    /* display: flex; */
    padding: 0.5rem 0.5rem;
    /* justify-content: space-between; */
}
header .navbar a {
    margin-right: 0.2rem;
    font-size: small;
    padding: 0.5rem 0.5rem;
}
header .navbar #home {
    color: var(--white);
}
header .navbar #about {
    color: var(--white);
}
header .navbar select {
    font-size: 14px;
    width: 8rem;
    padding: 0.5rem 0.5rem;
    color: var(--white);
    background: transparent;
}

header .navbar select option {
    font-size: 14px;
    width: 8rem;
    padding: 0.5rem 0.5rem;
    color: #7e7e7e;
    background-color: var(--white);
}

/* .container {
  width: 1500px;
  margin: 0 auto;
} */

.home1 {
    margin-top: 6rem;
    display: grid;
    grid-template-columns: 40% 60%;
    background-repeat: no-repeat;
    /* grid-gap: 10px; */
}

.home1 > div {
    /* background-color: blue; */
}
.item3-home1 {
    padding-left: 26.5%;
    color: var(--black);
    font-size: 1.8rem;
}
.item4-home1 {
    padding-left: 26.5%;
    font-size: 1.8rem;
}
.item5-home1 {
    grid-area: 1 / 2 / span 4;
    text-align: right;
    position: relative;
}
.item5-home1 img {
    width: 70%;
}
.item5-home1 #complete-solution {
    padding-right: 12px;
}
.item5-home1 .legal {
    position: absolute;
    top: 13px;
    font-size: 1.2rem;
    right: 10px;
}
.item2-home1 {
    color: var(--text-grey);
    font-size: 4rem;
    font-weight: 400;
    padding-left: 26.5%;
}
.item1-home1 {
    padding-left: 26.5%;
    padding-top: 4%;
}

/* home 2 */
.home2 {
    /* background-image: url("../assets//home2.svg"); */
    display: flex;
    padding-left: 10.5%;
    padding-top: 4%;
    justify-content: space-between;
}
.home2 .listcontent {
    display: grid;
    padding-top: 15%;
    padding-bottom: 15%;
    grid-gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}
/* .home2 .listcontent .content {
    height: 100%;
} */
.home2 .listcontent .content .title {
    font-size: 3rem;
    color: var(--blue2);
}
.home2 .listcontent .content .text {
    font-size: 2rem;
}
.home3 {
    display: flex;
    padding: 5% 5%;
    flex-direction: column;
}
.home3 #erms-picture {
    width: 100%;
}
.home3 .title {
    text-align: center;
    color: var(--blue2);
    font-size: 5.2rem;
    font-style: italic;
}

.home3 .definition {
    font-size: 2rem;
    text-align: center;
    font-style: italic;
    font-weight: 400;
}
.home3 .action {
    display: flex;
    justify-content: center;
}
.home3 .action .button-learn-more-erms {
    /* background-color: rgba(27, 106, 224, 0.71); */
    background-color: rgba(99, 155, 208, 0.9);
    color: var(--white);
    width: 17rem;
    height: 3.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

.home4 {
    display: grid;
    /* background-image: url("../assets/home4-background.svg"); */
    background-size: 100%;
    display: flex;
    justify-content: space-between;
    padding-left: 10.5%;
}

.home4 #home4-img {
    width: 60%;
}
.home4 .learning-academy {
    display: grid;
    grid-template-areas:
        "namepage"
        "title"
        "information";
    grid-template-columns: 1fr;
    grid-template-rows: 0.5fr 1fr 1fr;
}

.home4 .learning-academy .namepage {
    grid-area: namepage;
    font-size: 5.2rem;
    font-style: italic;
    color: var(--blue2);
}
.home4 .learning-academy .title {
    grid-area: title;
    font-size: 4rem;
    color: var(--text-grey);
    font-weight: 300;
}
.home4 .learning-academy .information {
    grid-area: information;
}
.home4 .learning-academy .information .details {
    font-size: 2rem;
    color: var(--black);
    padding-bottom: 3rem;
}

.home4 .learning-academy .information .action .button-learn-more-erms {
    grid-area: information;
    background-color: var(--blue2);
    color: var(--white);
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
}
.home5 {
    display: flex;
    justify-content: space-between;
}
.home5 .content {
    padding-top: 13%;
    padding-left: 10.5%;
}
.home5 .content .title {
    color: var(--blue2);
    font-size: 3rem;
}
.home5 .content .text {
    font-size: 2rem;
    margin-top: 1.5rem;
}
.home5 .content .action {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}
.home5 .content .action .button {
    background-color: var(--blue2);
    color: var(--white);
    padding: 1rem;
    width: 16rem;
    text-align: center;
    font-size: 1.2rem;
    border-radius: 5px;
}
.home6 {
    padding-top: 5rem;
}
.home6 .title {
    text-align: center;
    font-size: 3rem;
    color: var(--blue2);
}
.home6 .sub-title {
    text-align: center;
    font-weight: 300;
    font-size: 2.5rem;
    margin-top: 2rem;
}
.home6 .text {
    margin-top: 2rem;
    text-align: center;
    font-size: 1.5rem;
}
.home6 .action {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    padding-bottom: 3rem;
}
.home6 .button {
    background-color: var(--blue2);
    padding: 1rem;
    width: 20rem;
    text-align: center;
    color: var(--white);
    font-size: 13px;
    border-radius: 5px;
}
.dropbtn {
    background: transparent;
    color: white;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.dropbtn:hover,
.dropbtn:focus {
    background: transparent;
}

.dropdown {
    position: relative;
    display: inline-block;
    padding-left: 4rem;
    padding-right: 4rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown a:hover {
    background-color: #ddd;
}

.show {
    display: block;
}
footer {
    display: flex;
    justify-content: space-between;
}
footer .copyright {
    display: flex;
}

@media only screen and (max-width: 380px) {
    header #prospero_logo {
        width: 6rem;
    }
    .dropdown {
        padding: 0;
    }
    .home1 {
        margin-top: 6rem;
        display: grid;
        grid-template-columns: auto;
        grid-gap: 0px;
    }

    .home1 > div {
    }
    .item3-home1 {
        padding-left: 0px;
        margin-top: 0px;
        color: var(--black);
        font-size: 1.4rem;
        padding-left: 8%;
    }
    .item4-home1 {
        margin-top: 12px;
        padding-left: 0px;
        font-size: 1.4rem;
        padding-left: 8%;
    }
    .item5-home1 {
        grid-area: 2;
    }
    .item5-home1 #complete-solution {
        width: 100%;
        margin-top: 6.5%;
    }
    .item5-home1 .legal {
        position: absolute;
        top: 13px;
        font-size: 1.2rem;
        right: 10px;
    }
    .item2-home1 {
        color: var(--text-grey);
        font-size: 3.5rem;
        text-align: center;
        font-weight: 400;
        padding-left: 0px;
        margin-top: 0;
    }
    .item1-home1 {
        padding-left: 8%;
        padding-top: 4%;
    }
    .item1-home1 #risk-better {
        width: 30rem;
    }

    /* home 2 */
    .home2 {
        /* background-image: url("../assets//home2.svg"); */
        display: flex;
        padding-left: 4.5%;
        padding-top: 6%;
        justify-content: space-between;
        flex-direction: column;
    }

    .home2 .listcontent {
        display: grid;
        grid-gap: 1rem;
        padding-left: 3%;
        grid-template-columns: auto;
    }
    .home2 .listcontent .content .title {
        font-size: 2rem;
    }
    /* end home 2 */

    /* home 3 */
    .home3 {
        padding-top: 4rem;
    }
    /* end home 3 */
}
@media only screen and (max-width: 425px) {
    header {
        position: fixed;
        z-index: 1000;
        top: 0;
        right: 0;
        left: 0;
        background-color: var(--black);
        padding: 1rem 7%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .dropdown {
        padding: 0;
    }

    .home1 {
        background-repeat: no-repeat;
        margin-top: 6rem;
        display: grid;
        grid-template-columns: auto;
        grid-gap: 0px;
    }

    .home1 > div {
    }
    .item3-home1 {
        padding-left: 0px;
        margin-top: 0px;
        color: var(--black);
        font-size: 1.4rem;
        padding-left: 8%;
    }
    .item4-home1 {
        margin-top: 12px;
        padding-left: 0px;
        font-size: 1.4rem;
        padding-left: 8%;
    }
    .item5-home1 {
        grid-area: 2;
    }
    .item5-home1 #complete-solution {
        width: 100%;
        margin-top: 6.5%;
    }
    .item5-home1 .legal {
        position: absolute;
        top: 13px;
        font-size: 1.2rem;
        right: 10px;
    }
    .item2-home1 {
        color: var(--text-grey);
        font-size: 3.5rem;
        text-align: center;
        font-weight: 400;
        padding-left: 0px;
        margin-top: 0;
    }
    .item1-home1 {
        padding-left: 8%;
        padding-top: 4%;
    }
    .item1-home1 #risk-better {
        width: 30rem;
    }

    /* home 2 */
    .home2 {
        /* background-image: url("../assets//home2.svg"); */
        display: flex;
        padding-left: 4.5%;
        padding-top: 6%;
        justify-content: space-between;
        flex-direction: column;
    }

    .home2 .listcontent {
        display: grid;
        grid-gap: 1rem;
        padding-left: 3%;
        grid-template-columns: auto;
    }
    .home2 .listcontent .content .title {
        font-size: 2rem;
    }
    /* end home 2 */

    /* home 3 */
    .home3 {
        background-repeat: no-repeat;
        display: flex;
        padding: 1% 5%;
        padding-top: 12rem;
        flex-direction: column;
    }
    .home3 .title {
        text-align: center;
        color: var(--blue2);
        font-size: 2.2rem;
        font-style: italic;
    }

    .home3 .definition {
        font-size: 1.4rem;
        margin-top: 1.2rem;
        text-align: center;
        font-style: italic;
        font-weight: 400;
    }
    .home3 .picture {
        margin-top: 10%;
    }
    .home3 .action .button-learn-more-erms {
        display: flex;
        justify-content: center;
        align-items: center;
        bottom: -5%;
        background-color: rgba(99, 155, 208, 0.9);
        color: var(--white);
        width: 15rem;
        height: 3.5rem;
        border-radius: 5px;
        cursor: pointer;
    }
    /* end home 3 */

    /* home 4 */
    .home4 {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        padding-left: 5.5%;
        padding-top: 5rem;
    }

    .home4 #home4-img {
        width: 100%;
    }
    .home4 .learning-academy {
        display: grid;
        grid-template-areas:
            "namepage"
            "title"
            "information";
        grid-template-columns: 1fr;
        grid-template-rows: 0.5fr 1fr 1fr;
    }

    .home4 .learning-academy .namepage {
        grid-area: namepage;
        font-size: 3.2rem;
        font-style: italic;
        color: var(--blue2);
    }
    .home4 .learning-academy .title {
        grid-area: title;
        font-size: 3rem;
        color: var(--text-grey);
        font-weight: 300;
    }
    .home4 .learning-academy .information {
        grid-area: information;
    }
    .home4 .learning-academy .information .details {
        font-size: 1.4rem;
        color: var(--black);
        padding-bottom: 3rem;
    }

    .home4 .learning-academy .information .action {
        display: flex;
        justify-content: center;
    }
    .home4 .learning-academy .information .action .button-learn-more-erms {
        grid-area: information;
        background-color: var(--blue2);
        color: var(--white);
        width: 17rem;
        padding: 1rem;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1.3rem;
        text-align: center;
    }
    /* end home 4 */

    /* home 5 */
    .home5 {
        padding-left: 0%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
    .home5 .content {
        padding-left: 5.5%;
    }
    /* end home 5 */
}

@media only screen and (max-width: 600px) {
    header {
        position: fixed;
        z-index: 1000;
        top: 0;
        right: 0;
        left: 0;
        background-color: var(--blue);
        padding: 1rem 7%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown {
        padding: 0;
    }
    /* home 1 */
    .home1 {
        margin-top: 6rem;
        display: grid;
        grid-template-columns: auto;
        grid-gap: 0px;
    }

    .home1 > div {
    }
    .item3-home1 {
        padding-left: 0px;
        margin-top: 0px;
        color: var(--black);
        font-size: 1.4rem;
        padding-left: 8%;
        padding-top: 1rem;
    }
    .item4-home1 {
        margin-top: 12px;
        padding-left: 0px;
        font-size: 1.4rem;
        padding-left: 8%;
    }
    .item5-home1 {
        grid-area: 2;
    }
    .item5-home1 #complete-solution {
        width: 100%;
        margin-top: 6.5%;
    }
    .item5-home1 .legal {
        position: absolute;
        top: 13px;
        font-size: 1.2rem;
        right: 10px;
    }
    .item2-home1 {
        color: var(--text-grey);
        font-size: 3.5rem;
        text-align: center;
        font-weight: 400;
        padding-left: 0px;
        margin-top: 0;
        padding-top: 1rem;
    }
    .item1-home1 {
        padding-left: 8%;
        padding-top: 4%;
    }
    .item1-home1 #risk-better {
        width: 30rem;
    }
    /* end home 1 */

    /* home 2 */
    .home2 {
        /* background-image: url("../assets//home2.svg"); */
        display: flex;
        padding-left: 4.5%;
        padding-top: 6%;
        justify-content: space-between;
        flex-direction: column;
    }

    .home2 .listcontent {
        display: grid;
        grid-gap: 1rem;
        padding-left: 3%;
        grid-template-columns: auto;
    }
    .home2 .listcontent .content .title {
        font-size: 2rem;
    }
    .home2 .listcontent .content .text {
        font-size: 1.4rem;
    }
    /* end home 2 */

    /* home 3 */
    .home3 {
        display: flex;
        padding: 1% 5%;
        padding-top: 6rem;
        flex-direction: column;
        position: relative;
    }
    .home3 .title {
        text-align: center;
        color: var(--blue2);
        font-size: 2.2rem;
        font-style: italic;
    }

    .home3 .definition {
        font-size: 1.4rem;
        margin-top: 1.2rem;
        text-align: center;
        font-style: italic;
        font-weight: 400;
    }
    .home3 .picture {
        margin-top: 10%;
    }
    .home3 .action {
        padding-top: 2rem;
    }
    .home3 .action .button-learn-more-erms {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(99, 155, 208, 0.9);
        color: var(--white);
        position: absolute;
        width: 15rem;
        border-radius: 5px;
        cursor: pointer;
    }
    /* end home 3 */

    /* home 4 */
    .home4 {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        padding-left: 5.5%;
        padding-top: 10rem;
    }

    .home4 #home4-img {
        width: 100%;
        margin-top: 2rem;
    }
    .home4 .learning-academy {
        display: grid;
        grid-template-areas:
            "namepage"
            "title"
            "information";
        grid-template-columns: 1fr;
        grid-template-rows: 0.5fr 1fr 1fr;
    }

    .home4 .learning-academy .namepage {
        grid-area: namepage;
        font-size: 3.2rem;
        font-style: italic;
        color: var(--blue2);
    }
    .home4 .learning-academy .title {
        grid-area: title;
        font-size: 3rem;
        color: var(--text-grey);
        font-weight: 300;
    }
    .home4 .learning-academy .information {
        grid-area: information;
    }
    .home4 .learning-academy .information .details {
        font-size: 1.4rem;
        color: var(--black);
        padding-bottom: 3rem;
    }

    .home4 .learning-academy .information .action {
        display: flex;
        justify-content: center;
    }
    .home4 .learning-academy .information .action .button-learn-more-erms {
        grid-area: information;
        background-color: var(--blue2);
        color: var(--white);
        width: 17rem;
        padding: 1rem;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1.3rem;
        text-align: center;
    }
    /* end home 4 */

    /* home 5 */
    .home5 {
        padding-left: 0%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
    .home5 .content {
        padding-left: 5.5%;
    }
    .home5 .content .text {
        font-size: 1.4rem;
    }
    /* end home 5 */
}

@media only screen and (max-width: 992px) and (min-width: 601px) {
    .home1 {
        margin-top: 6rem;
        display: grid;
        grid-template-columns: auto;
        grid-gap: 0px;
    }

    .item3-home1 {
        padding-left: 0px;
        margin-top: 0px;
        color: var(--black);
        font-size: 2rem;
        padding-left: 8%;
    }
    .item4-home1 {
        margin-top: 12px;
        padding-left: 0px;
        font-size: 2rem;
        padding-left: 8%;
    }
    .item5-home1 {
        grid-area: 2;
    }
    .item5-home1 #complete-solution {
        width: 100%;
        margin-top: 4%;
    }
    .item5-home1 .legal {
        position: absolute;
        top: 13px;
        font-size: 1.5rem;
        right: 10px;
    }
    .item2-home1 {
        color: var(--text-grey);
        font-size: 4.5rem;
        text-align: center;
        font-weight: 400;
        padding-left: 0px;
        margin-top: 0;
    }
    .item1-home1 {
        padding-left: 8%;
        padding-top: 4%;
    }
    .item1-home1 #risk-better {
        width: 30rem;
    }
    /* end home 1 */

    /* home 2 */
    .home2 {
        /* background-image: url("../assets//home2.svg"); */
        display: flex;
        padding-left: 4.5%;
        padding-top: 6%;
        justify-content: space-between;
        flex-direction: column;
    }

    .home2 .listcontent {
        display: grid;
        grid-gap: 1rem;
        padding-left: 3%;
        grid-template-columns: auto;
    }
    .home2 .listcontent .content .title {
        font-size: 3.5rem;
    }
    /* end home 2 */

    /* home 3 */
    .home3 {
        display: flex;
        padding: 1% 5%;
        padding-top: 12rem;
        flex-direction: column;
        position: relative;
    }
    .home3 .title {
        text-align: center;
        color: var(--blue2);
        font-size: 3.5rem;
        font-style: italic;
    }

    .home3 .definition {
        font-size: 2rem;
        margin-top: 1.2rem;
        text-align: center;
        font-style: italic;
        font-weight: 400;
    }
    .home3 .picture {
        margin-top: 10%;
    }
    .home3 .action .button-learn-more-erms {
        display: flex;
        justify-content: center;
        align-items: center;
        bottom: -5%;
        background-color: rgba(99, 155, 208, 0.9);
        color: var(--white);
        position: absolute;
        width: 17rem;
        height: 3.5rem;
        border-radius: 5px;
        cursor: pointer;
    }
    /* end home 3 */

    /* home 4 */
    .home4 {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        padding-left: 5.5%;
        padding-top: 5rem;
    }

    .home4 #home4-img {
        width: 100%;
    }
    .home4 .learning-academy {
        display: grid;
        grid-template-areas:
            "namepage"
            "title"
            "information";
        grid-template-columns: 1fr;
        grid-template-rows: 0.5fr 1fr 1fr;
    }

    .home4 .learning-academy .namepage {
        grid-area: namepage;
        font-size: 3.5rem;
        font-style: italic;
        color: var(--blue2);
    }
    .home4 .learning-academy .title {
        grid-area: title;
        font-size: 3.5rem;
        color: var(--text-grey);
        font-weight: 300;
    }
    .home4 .learning-academy .information {
        grid-area: information;
    }
    .home4 .learning-academy .information .details {
        font-size: 2rem;
        color: var(--black);
        padding-bottom: 3rem;
    }

    .home4 .learning-academy .information .action {
        display: flex;
        justify-content: center;
    }
    .home4 .learning-academy .information .action .button-learn-more-erms {
        grid-area: information;
        background-color: var(--blue2);
        color: var(--white);
        width: 17rem;
        padding: 1rem;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1.3rem;
        text-align: center;
    }
    /* end home 4 */

    /* home 5 */
    .home5 {
        padding-left: 0%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
    .home5 .content .title {
        font-size: 3.5rem;
    }
    /* end home 5 */

    /* home 6 */
    .home6 .title {
        font-size: 3.5rem;
    }
    .home6 .text {
        font-size: 2rem;
    }
    /* end home 6 */
}

@media only screen and (min-width: 993px) and (max-width: 1200px) {
    /* home 1 */
    .home1 .item2-home1 {
        font-size: 3rem;
    }
    .home1 .item3-home1 {
        font-size: 1.5rem;
    }
    .home1 .item4-home1 {
        font-size: 1.5rem;
    }
    /* end home 1 */

    /* home 2 */
    .home2 .listcontent .content .title {
        font-size: 3rem;
    }
    .home2 .listcontent .content .text {
        font-size: 1.5rem;
    }
    /* end home 2 */

    /* home 3 */
    .home3 .title {
        font-size: 4rem;
    }
    .home3 .definition {
        font-size: 1.5rem;
    }

    /* end home 3 */

    /* home 4 */
    .home4 .learning-academy .namepage {
        font-size: 4rem;
    }
    .home4 .learning-academy .information .details {
        font-size: 1.5rem;
    }
    /* end home 4 */

    /* home 5 */
    .home5 .content .title {
        font-size: 4rem;
    }
    .home5 .content .text {
        font-size: 1.5rem;
    }
    /* end home 5 */

    /* home 6 */
    .home6 .title {
        font-size: 4rem;
    }
    /* end home 6 */
}
