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

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

    /* Social Media Icones - section */

    main article:nth-child(1) div:nth-child(1) {
        text-align: center;
        margin: 20px 0 20px 0;
    }

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

    main section:nth-child(2) {
        display: flex;
        justify-content: center;
    }

    main section:nth-child(2) div {
        display: flex;
        justify-content: center;
        align-items: center;
        justify-content: space-around;
        height: 65px;
        width: 70%;
        background-color: var(--third-color);
        border: 1px solid var(--first-color);
        border-radius: 15px;
        margin: 0 0 20px 0;
    }

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

    /* Backgrounds - section */

    main section:nth-child(3) div:nth-child(1) {
        width: 90%;
        background-color: var(--fourth-color);
        margin: auto;
        margin-bottom: 5%;
        box-shadow: 0 0 10px var(--first-color);
    }

    main section:nth-child(3) div:nth-child(1) div:nth-child(1) {
        height: 200px;
        width: 100%;
        background-color: var(--first-color);
    }

    main section:nth-child(3) > div:first-child > div:nth-child(2) > h3 {
        font-weight: 100;
        color: var(--second-color);
    }

    main section:nth-child(3) div:nth-child(1) div:nth-child(1) img,
    main section:nth-child(3) div:nth-child(1) div:nth-child(3) div:nth-child(1) img,
    main section:nth-child(3) div:nth-child(1) div:nth-child(3) div:nth-child(3) img,
    main section:nth-child(3) div:nth-child(1) div:nth-child(3) div:nth-child(5) img {
        height: 100%;
        width: 100%;
    }

    main section:nth-child(3) div:nth-child(1) div:nth-child(2) {
        text-align: center;
    }

    main section:nth-child(3) div:nth-child(1) div:nth-child(3) {
        width: 85%;
        margin: auto;
        margin-top: 13px;
        border: 1px solid var(--first-color);
        background-color: var(--third-color);
    }

    main section:nth-child(3) div:nth-child(1) div:nth-child(3) div:nth-child(1) {
        height: 150px;
        width: 100%;
        background-color: var(--first-color);
    }

    main section:nth-child(3) div:nth-child(1) div:nth-child(3) div:nth-child(1),
    main section:nth-child(3) div:nth-child(1) div:nth-child(3) div:nth-child(3),
    main section:nth-child(3) div:nth-child(1) div:nth-child(3) div:nth-child(5) {
        height: 150px;
        width: 100%;
    }

    main section:nth-child(3) div:nth-child(1) div:nth-child(3) div:nth-child(2),
    main section:nth-child(3) div:nth-child(1) div:nth-child(3) div:nth-child(4),
    main section:nth-child(3) div:nth-child(1) div:nth-child(3) div:nth-child(6) {
        text-align: center;
        text-align: justify;
    }

    main section:nth-child(3) div:nth-child(1) div:nth-child(3) div p {
        padding: 10px 12px 10px 12px;
        font-size: 17px;
        margin: 10px 0 10px 0;
    }
}

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

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

    main section:nth-child(3) > div:first-child > div:first-child,
    main section:nth-child(3) > div:first-child > div:nth-child(3) > div:nth-child(1),
    main section:nth-child(3) > div:first-child > div:nth-child(3) > div:nth-child(3),
    main section:nth-child(3) > div:first-child > div:nth-child(3) > div:nth-child(5) {
        height: 200px;
    }

}

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

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

    main section:nth-child(3) > div:first-child > div:first-child,
    main section:nth-child(3) > div:first-child > div:nth-child(3) > div:nth-child(1),
    main section:nth-child(3) > div:first-child > div:nth-child(3) > div:nth-child(3),
    main section:nth-child(3) > div:first-child > div:nth-child(3) > div:nth-child(5) {
        height: 220px;
    }
}

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

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

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

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

    main article:first-child > div:first-child > p,
    main section:nth-child(3) > div:first-child > div:nth-child(3) > div:nth-child(2) p,
    main section:nth-child(3) > div:first-child > div:nth-child(3) > div:nth-child(4) p,
    main section:nth-child(3) > div:first-child > div:nth-child(3) > div:nth-child(6) p {
        font-size: 22px;
    }

    main section:nth-child(3) > div:first-child > div:first-child,
    main section:nth-child(3) > div:first-child > div:nth-child(3) > div:nth-child(1),
    main section:nth-child(3) > div:first-child > div:nth-child(3) > div:nth-child(3),
    main section:nth-child(3) > div:first-child > div:nth-child(3) > div:nth-child(5) {
        height: 250px;
    }
}

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

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

    main section:nth-child(3) > div:first-child > div:first-child,
    main section:nth-child(3) > div:first-child > div:nth-child(3) > div:nth-child(1),
    main section:nth-child(3) > div:first-child > div:nth-child(3) > div:nth-child(3),
    main section:nth-child(3) > div:first-child > div:nth-child(3) > div:nth-child(5) {
        height: 300px;
    }
}

@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%;
    }
}

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

    main section:nth-child(3) > div:first-child > div:first-child,
    main section:nth-child(3) > div:first-child > div:nth-child(3) > div:nth-child(1),
    main section:nth-child(3) > div:first-child > div:nth-child(3) > div:nth-child(3),
    main section:nth-child(3) > div:first-child > div:nth-child(3) > div:nth-child(5) {
        height: 350px;
    }
}

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

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