@font-face {
    font-family: 'guaranpisFont';
    /*a name to be used later*/
    src: url('../fonts/guaranpis.ttf');
    /*URL to font*/
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    color: #ffffff;
    font-family: Inter, Storica, KVC-Midgard, El Messiri, Poppins, Arial, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    background-color: #000000;
}

h2 {
    font-family: guaranpisFont;
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.167;
    color: #dadada;
    text-shadow: 2px 2px 8px rgb(0 0 0 / 75%);
}

.logo__size {
    display: flex;
    justify-content: center;
    height: 150px;
    padding-top: 50px;

}

.section__position__center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section__block {
    display: flex;
    flex-direction: row;
    height: 90%;
}

.button__login {
    width: 70%;
}

.overlay2.bottom {
    bottom: 0;
    height: 110px;
    z-index: 1;
    -webkit-background-size: 100% auto;
    background-size: 100% auto;
    background-image: url(../images/torn.png);
    background-repeat: repeat-x;
    left: 0;
    right: 0;
}

.bounce-arrow-down {
    position: absolute;
    margin: auto;
    bottom: 0;
    width: 10vw;
    left: 0;
    right: 0;
}

.section__content__gif {
    position: relative;
}

.three_sections_column {
    margin-top: -150px;
}

.three_sections_row {
    display: flex;
    flex-direction: column;
}

/* First section */

.first__section {
    height: 100vh;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image:
        linear-gradient(to bottom, #000000ff 0%, #00000011 20%),
        linear-gradient(to top, #000000ff 0%, #00000011 40%),
        url(../images/fondototal_optimized.jpg);
}

.first__section::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-image: linear-gradient(to top, #000000ff 5%, #00000000 30%);
}

.body__bg {
    /* margin-top: -125px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-image:
        linear-gradient(to bottom, #000000ff 0%, #00000011 20%),
        linear-gradient(to top, #000000ff 0%, #00000011 40%),
        url(../images/fondototal_optimized.jpg); */
}

/* .section__block_logo {
    margin-bottom: 10vh;
} */


.section__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    padding: 50px;
}

.section__content:first-child {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    padding: 50px;
    margin-top: 170px;
}

.section__content:nth-child(2) {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    padding: 50px;
    text-align: center;
    margin-top: 170px;
}

.section__caption {
    margin: 0;
    font-family: guaranpisFont;
    font-weight: 400;
    font-size: 3rem;
    line-height: 1.167;
    color: #FFEAB5;
    text-shadow: 2px 2px 8px rgb(0 0 0 / 75%);
}

.section__caption__h2 {
    font-family: guaranpisFont;
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 1.167;
    color: #dadada;
    text-shadow: 2px 2px 8px rgb(0 0 0 / 75%);
}

.cuadro {
    display: block;
    width: 520px;
    margin: auto;
}

.video {
    position: absolute;
    width: 480px;
    left: 0;
    right: 0;
    margin: auto;
    top: 40px;
    border-radius: 10px;
}

.bounce-arrow-down {
    position: absolute;
    margin: auto;
    bottom: 0;
    width: 10vw;
    left: 0;
    right: 0;
}

.max-width-50 {
    max-width: 50%;
}

/* Second section */

.second__section {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image: linear-gradient(to bottom, #000000ff 0%, #00000011 100%), url(../images/saqueo_roma.png);
    position: relative;
}

.title__section {
    font-size: 2rem;
}

.second__section>.section__block {
    margin-top: 0px;
}

.overlay {
    left: 0;
    right: 0;
    position: absolute;
    background-repeat: no-repeat;
}

.overlay.bottom {
    bottom: 0;
    height: 200px;
    margin-bottom: -50px;
    z-index: 1;
    -webkit-background-size: 100% auto;
    background-size: 100% auto;
    background-image: url(../images/torn.png);
    background-repeat: repeat-x;
}

.section__selector {
    color: rgba(247, 197, 90, 0.5);
    font-family: guaranpisFont;
    width: 40vw;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.icon__badge {
    vertical-align: middle;
    filter: grayscale(100%);
    width: 100px;
}

.section__selector:hover>.icon__badge {
    filter: grayscale(50%);
}

.section__selector:hover>span {
    color: #FFEAB5;
    text-shadow: 2px 2px 8px rgb(0 0 0 / 75%);

}

.active>.icon__badge {
    filter: grayscale(0%);
}

.active>span {
    color: #FFEAB5;
    text-shadow: 2px 2px 8px rgb(0 0 0 / 75%);
}

.section__selector {
    display: flex;
    align-items: center;
}

.second__section__caption {
    display: flex;
    justify-content: left;
    padding: 50px;
}

.options_game {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}


/* Third section */

.third__section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 50px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image:
        linear-gradient(to bottom, #000000ff 0%, #00000011 40%),
        linear-gradient(to top, #000000ff 0%, #00000011 100%),
        url(../images/971381.jpg);
}

.third__section__caption {
    margin-top: 50px;
}


.section__caption__role {
    display: flex;
    flex-direction: row;
}

.section_religioso {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.section_religioso:hover {
    background: rgb(0, 22, 36);
    background: radial-gradient(circle, rgba(103, 4, 1, 1) 0%, rgba(149, 148, 233, 0) 48%);
}

.section_noble {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.section_noble:hover {
    background: rgb(2, 0, 36);
    background: radial-gradient(circle, rgb(0 1 170 / 65%) 0%, rgba(149, 148, 233, 0) 48%)
}

.section_comerciante {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.section_comerciante:hover {
    background: rgb(2, 0, 36);
    background: radial-gradient(circle, rgba(103, 95, 1, 1) 0%, rgba(149, 148, 233, 0) 48%);
}


/* Fourth section */

.four__section > .section__block > .section__content {
    height: 25vh;
    margin-top:0px
}

img.small__logo {
    width: 50px;
    height: 35px;
    margin: 15px;
    filter: grayscale(100%);
    transition: transform .2s;
}

img.small__logo:hover {
    filter: grayscale(0%);
    transform: scale(1.2); 
}

.section__content.small_rss:first-child {
    flex-direction: row;
    margin-top: 0px;
    justify-content: left;
    align-items: end;
}

.four__section > .section__block > .section__content:nth-child(2) {
    align-items: flex-end;
}

.four__section > .section__block > .section__content:nth-child(2) > img {
    height: 100%;
    width: 50%;
}




@media only screen and (min-width: 1280px) {
    .button__login {
        width: 50%;
    }
}

@media only screen and (max-width: 600px) {


    .section__block {
        display: flex;
        flex-direction: column;
    }

    .first__section::after{
        background-image: linear-gradient(to top, #000000ff 0%, #00000000 20%);
    }

    .button__login {
        width: 100%;
        margin-top: 75px;
    }

    .section__content__gif {
        display: none;
    }

    .section__content:first-child {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        justify-content: center;
        padding: 50px;
        text-align: center;
        margin-top: 150px;
    }

    .section__content:nth-child(2) {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        justify-content: center;
        padding: 50px;
        text-align: center;
        margin-top: 0;
    }

    .section__selector {
        max-width: 90vw;
    }

    .logo__size {
        display: flex;
        justify-content: center;
        height: 150px;
    }

    .second__section {
        background-size: auto 100%;
        height: 180vh;
    }

    .overlay.bottom {
        height: 80px;
    }

    .bounce-arrow-down {
        width: 30vw;
    }

    .third__section>h1 {
        text-align: center;
    }

    .third__section__caption {
        margin-top: 50px;
    }

    .third__section>.section__block {
        margin-top: 150px;
    }

    .section__content__gif {
        height: 150px;
    }

    .section__content__gif>img {
        height: inherit;
    }

    .options_game {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .section__caption__role {
        display: flex;
        flex-direction: column;
    }

    .first__section {
        background-size: auto 100%;
        height: 100vh;
    }

    .second__section {
        background-size: auto 100%;
        height: 100%;
    }

    .third__section {
        background-size: auto 100%;
        display: flow-root
    }

    .section__caption__h2 {
        font-family: guaranpisFont;
        font-weight: 400;
        font-size: 1rem;
        line-height: 1.167;
        color: #dadada;
        text-shadow: 2px 2px 8px rgb(0 0 0 / 75%);
        text-align: center;
    }

    .max-width-50 {
        max-width: 100%;
    }

    .section_religioso {
        padding: 0;
    }

    .section_noble {
        padding: 0;
    }

    .section_comerciante {
        padding: 0;
    }
    .section__content.small_rss:first-child {
        height: auto;
    }

    .four__section > .section__block > .section__content:nth-child(2) {
        align-items: center;
        height: auto;
        width: 100%;
        padding-top: 0;
    }

    .four__section > .section__block > .section__content:nth-child(2) > img {
        height: 100%;
        width: 90%;
    }
}



/* effects */
