@import url('../assets/styles/theme.css');
@import url('https://fonts.googleapis.com/css2?family=MuseoModerno&display=swap');

@media screen and (min-width: 320px) {

    /* Starting Page - section */

    main {
        background-color: var(--first-color);
        border-right: 2px solid var(--first-color);
        border-left: 2px solid var(--first-color);
    }

    main article:first-child {
        display: flex;
        height: 65px;
        width: 100%;
        background-color: var(--second-color);
    }

    main article:first-child > div:first-child {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;
        text-align: center;
    }

    main article:first-child > div:first-child > p {
        color: var(--first-color);
        font-size: 17px;
        padding: 0 12px 0 12px;
    }

    /* Social Media Icones - section */

    main section:nth-child(2) {
        width: 100%;
    }

    main section:nth-child(2) > div:first-child {
        display: flex;
        justify-content: center;
        padding: 10px 0;
    }

    main section:nth-child(2) > div:first-child > div {
        height: 140px;
        width: 65%;
        margin: 15px 0 0 0;
    }

    main section:nth-child(2) > div:first-child > div > img {
        height: 100%;
        width: 100%;
    }

    main section:nth-child(2) > div:nth-child(2) {
        display: flex;
        justify-content: center;
        align-items: center;
        justify-content: space-around;
        margin: auto;
        height: 50px;
        width: 65%;
        background-color: var(--third-color);
        border-radius: 15px;
        margin-bottom: 7px;
    }

    main section:nth-child(2) > div:nth-child(2) > a {
        height: 35px;
        width: 35px;
    }

    main section:nth-child(2) > div:nth-child(2) > a:hover {
        background-color: var(--fourth-color);
        border: 2px dashed var(--fourth-color);
    }

    main section:nth-child(2) > div:nth-child(2) > a:nth-child(1),
    main section:nth-child(2) > div:nth-child(2) > a:nth-child(2),
    main section:nth-child(2) > div:nth-child(2) > a:nth-child(4) {
        border-radius: 50%;
    }

    main section:nth-child(2) > div:nth-child(2) > a > img {
        height: 100%;
        width: 100%;
    }

    main section:nth-child(2) > div:nth-child(3) {
        display: flex;
        justify-content: center;
        padding: 10px 0;
    }

    main section:nth-child(2) > div:nth-child(3) > div {
        height: 140px;
        width: 65%;
        margin: 0 0 12px 0;
    }

    main section:nth-child(2) > div:nth-child(3) > div > img {
        height: 100%;
        width: 100%;
    }

    /* Finish Page - section */

    main article:nth-child(3) {
        background-color: var(--second-color);
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    main article:nth-child(3) > div:first-child p:first-child {
        text-align: center;
        padding: 7px 10px 5px 10px;
    }

    main article:nth-child(3) > div:first-child p:nth-child(2) {
        text-align: center;
    }

    main article:nth-child(3) > div:first-child p {
        font-size: 17px;
        padding: 5px 10px 7px 10px;
    }

    main > div:nth-child(4) {
        display: flex;
        justify-content: center;
        padding: 5px 0 5px 0;
        margin: auto;
    }

    main > div:nth-child(4) > img{
        height: 15px;
        width: 20px;
    }

    /* Form - section */

    main section:nth-child(5) {
        display: flex;
        height: 550px;
        width: 100%;
        background-color: var(--fourth-color);
    }

    main section:nth-child(5) > div {
        height: 95%;
        width: 95%;
        margin: auto;
        background-color: var(--first-color);
        border-radius: 5%;
    }

    main section:nth-child(5) > div > div:nth-child(1) {
        display: flex;
        justify-content: center;
    }

    main section:nth-child(5) > div:first-child > div:first-child {
        margin: 10px 0 10px 0;
    }

    main section:nth-child(5) > div > div:nth-child(1) > p {
        font-size: 20px;
        padding-top: 3px;
    }

    main section:nth-child(5) label,
    main section:nth-child(5) p {
        color: var(--second-color);
    }

    main section:nth-child(5) label {
        font-size: 17px;
    }

    main section:nth-child(5) input {
        height: 32px;
    }

    #register > div:first-child {
        display: flex;
        justify-content: space-between;
    }

    #register > div:first-child > div {
        padding: 0 7% 0 7%;
    }

    #register > div:nth-child(1) div:nth-child(1) > input:nth-child(3),
    #register > div:nth-child(1) div:nth-child(2) > input:nth-child(3),
    #register > div:nth-child(2) > input:nth-child(3),
    #register > div:nth-child(4) > input:nth-child(3),
    #register > div:nth-child(5) > input:nth-child(3) {
        width: 100%;
        cursor: text;
    }

    #register > div:nth-child(3) > input:nth-child(3) {
        width: 100%;
    }

    #register > div:nth-child(5) > div:nth-child(1) > input {
        cursor: text;
    }

    #register > div:nth-child(6) > div:nth-child(1) > input:hover {
        border: 2px solid var(--first-color);
        box-shadow: 0 0 10px var(--fourth-color);
    }

    #register > div:nth-child(5) div:nth-child(1) > input:nth-child(3),
    #register > div:nth-child(5) div:nth-child(2) > input:nth-child(3) {
        width: 100%;
    }

    #register > div:nth-child(5) > div:nth-child(2) {
        display: flex;
    }

    #register > div:nth-child(5) > div:nth-child(2) > div:nth-child(2) {
        text-align: justify;
    }

    #register > div:nth-child(5) > div:nth-child(2) > div:nth-child(1) > input {
        height: 15px;
        width: 15px;
    }

    #register input {
        border-radius: 8px;
        padding-left: 5px;
        font-size: 16px;
    }

    #register > div:nth-child(2),
    #register > div:nth-child(3),
    #register > div:nth-child(4),
    #register > div:nth-child(5),
    #register > div:nth-child(6),
    #register > div:nth-child(7) {
        padding: 7.5px 7% 0 7%;
    }

    #register > div:nth-child(6),
    #register > div:nth-child(6) > div:nth-child(2) {
        display: flex;
    }

    #register > div:nth-child(6) > div:nth-child(1) {
        padding: 20px 0;
    }

    #register > div:nth-child(6) > div:nth-child(1) > input {
        width: 150%;
        background-color: var(--third-color);
    }

    #register > div:nth-child(6) {
        justify-content: space-between;
    }

    #register > div:nth-child(6) > div:nth-child(2) {
        width: 50%;
    }

    #register > div:nth-child(6) > div:nth-child(2) > div:nth-child(2) p {
        text-align: justify;
        font-size: 11.5px;
        padding: 0px 4px 0 7px;
    }
}

@media screen and (min-width: 349px) {

    main article:first-child > div:first-child > p,
    main article:nth-child(3) > div:first-child > p {
        font-size: 18px;
    }
}

@media screen and (min-width: 399px) {

    main article:first-child > div:first-child > p,
    main article:nth-child(3) > div:first-child > p {
        font-size: 19px;
    }

    main section:nth-child(2) > div:first-child > div:first-child,
    main section:nth-child(2) > div:nth-child(3) > div:first-child {
        height: 190px;
    }

    main section:nth-child(5) {
        height: 590px;
    }

    main section:nth-child(5) > div:first-child > div:first-child > p {
        font-size: 20px;
    }

    main section:nth-child(5) > div:first-child > div:nth-child(2) > form label {
        font-size: 18px;
    }

    main section:nth-child(5) > div:first-child > div:nth-child(2) > form input {
        height: 35px;
    }

    #register > div:nth-child(6) > div:nth-child(2) > div:nth-child(2) > p {
        font-size: 14px;
    }
}

@media screen and (min-width: 499px) {

    main article:first-child > div:first-child > p,
    main article:nth-child(3) > div:first-child > p {
        font-size: 20px;
    }

    main section:nth-child(5) {
        height: 590px;
    }

    main section:nth-child(5) > div:first-child > div:first-child > p {
        font-size: 21px;
    }

    main section:nth-child(5) > div:first-child > div:nth-child(2) > form label {
        font-size: 18px;
    }

    main section:nth-child(5) > div:first-child > div:nth-child(2) > form input {
        height: 35px;
    }

    #register > div:nth-child(6) > div:nth-child(2) > div:nth-child(2) > p {
        font-size: 15px;
    }
}

@media screen and (min-width: 599px) {

    main article:first-child > div:first-child > p,
    main article:nth-child(3) > div:first-child > p {
        font-size: 21px;
    }

    main section:nth-child(2) > div:first-child > div:first-child,
    main section:nth-child(2) > div:nth-child(3) > div:first-child {
        height: 240px;
    }

    main section:nth-child(2) > div:nth-child(2) {
        height: 60px;
    }

    main section:nth-child(2) > div:nth-child(2) > a {
        height: 40px;
        width: 40px;
    }

    main section:nth-child(2) > div:nth-child(3) > div {
        margin: 7px 0 16px 0;
    }

    main section:nth-child(5) {
        height: 600px;
    }

    main section:nth-child(5) > div:first-child > div:first-child > p {
        font-size: 21px;
    }

    main section:nth-child(5) > div:first-child > div:nth-child(2) > form label {
        font-size: 19px;
    }

    main section:nth-child(5) > div:first-child > div:nth-child(2) > form input {
        height: 40px;
    }

    #register > div:nth-child(6) > div:nth-child(2) > div:nth-child(2) > p {
        font-size: 16px;
    }

    #register > div:nth-child(6) > div:nth-child(1) > input {
        font-size: 18px;
    }
}

@media screen and (min-width: 699px) {

    main section:nth-child(2) > div:first-child > div:first-child,
    main section:nth-child(2) > div:nth-child(3) > div:first-child {
        height: 260px;
    }

    main section:nth-child(5) {
        height: 620px;
    }

    main section:nth-child(5) > div:first-child > div:first-child > p {
        font-size: 21px;
    }

    main section:nth-child(5) > div:first-child > div:nth-child(2) > form label {
        font-size: 20px;
    }

    #register > div:nth-child(6) > div:nth-child(2) > div:nth-child(2) > p {
        font-size: 17px;
    }
}

@media screen and (min-width: 799px) {

    body {
        background-image:  url("../img/Fixed_Background.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
    }

    main {
        margin: 0 20% 0 20%;
        background-color: var(--first-color-opac);
    }

    main section:nth-child(5) {
        height: 660px;
    }

    main section:nth-child(2) > div:first-child > div:first-child,
    main section:nth-child(2) > div:nth-child(3) > div:first-child {
        height: 230px;
    }

    #register > div:nth-child(6) > div:nth-child(2) > div:nth-child(2) > p {
        font-size: 16px;
    }
}

@media screen and (min-width: 1099px) {

    main article:first-child > div:first-child > p,
    main article:nth-child(3) > div:first-child > p {
        font-size: 23px;
    }

    main section:nth-child(2) > div:first-child > div:first-child,
    main section:nth-child(2) > div:nth-child(3) > div:first-child {
        height: 280px;
    }

    main section:nth-child(2) > div:nth-child(2) {
        height: 70px;
    }

    main section:nth-child(2) > div:nth-child(2) > a {
        height: 50px;
        width: 50px;
    }

    main section:nth-child(2) > div:nth-child(3) > div {
        margin: 10px 0 18px 0;
    }
}

@media screen and (min-width: 1299px) {

    main {
        margin: 0 25% 0 25%;
    }

    main section:nth-child(2) > div:first-child > div:first-child,
    main section:nth-child(2) > div:nth-child(3) > div:first-child {
        height: 320px;
    }

    main section:nth-child(5) {
        height: 605px;
    }
}

@media screen and (min-width: 1599px) {

    main {
        margin: 0 30% 0 30%;
    }
}