/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100vh;
    margin: 0;
}

.login-body {
    background: none;
    background-color: white;
}

.main-container {
    display: grid;
    grid-template-rows: 76px calc(100vh - 76px);
    min-height: 100vh;
}

#barra {
    width: 100%;
    padding: 10px 0 10px 30px;
}

.barra-container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    width: 100%;
}

.barra-logo {
    color: white;
    display: flex;
    align-items: center;
    width: 100%;
}

.logo-img {
    width: 60px;
}

.barra-text {
    padding-left: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    color: #6c757d;
    width: 100%;
    line-height: 1.2;
}

.barra-nav-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    align-items: center;
    background-color: #f5edee;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    width: 99%;
    z-index: 10;
}

.barra-nav {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.barra-nav li a {
    color: #841925;
    font-size: 1.8rem;
    border-bottom: solid 1px #841925;
}

.barra-nav li a:hover {
    color: white;
    background-color: #841925;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 10px;
    transform: scale(1.05);
}

.barra-ingresa {
    text-align: center;
}

#ingresa {
    border: solid 4px #ffc410;
    padding: 8px 20px;
    background-color: #841925;
    font-weight: bold;
    color: white;
    border-radius: 10px;
    font-size: 1.5rem;
}

#ingresa:hover {
    color: black;
    border: none;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.content {
    text-align: center;
    min-height: 100%;
    z-index: 1;
}

.section-hidden {
    display: none;
    height: 100%;
}

.section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.section-text {
    display: grid;
    grid-template-rows: 1fr 1fr;
    color: white;
    height: 100%;
    padding-left: 70px;
    padding-top: 100px;
}

.section-title {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    padding-left: 50px;
}

.section-description {
    text-align: justify;
    font-size: 1.25em;
    align-content: center;
    padding-left: 100px;
}
#content section:first-child {
    background-color: #831925;
    border-top-left-radius: calc((400px + 70%) / 2);
}

/* Media queries para hacer responsive */
@media (max-width: 900px) {
    .main-container {
        grid-template-rows: auto 1fr;
        min-height: auto;
    }

    .barra-container {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .barra-logo {
        justify-content: center;
        text-align: center;
    }

    .barra-nav-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .barra-nav {
        flex-direction: column;
    }

    .barra-nav li {
        margin-bottom: 10px;
    }

    .section-container {
        grid-template-columns: 1fr;
    }

    .section-text {
        padding-right: 20px;
        padding-top: 50px;
        padding-left: 150px;
    }

    .section-title {
        padding-left: 0;
        justify-content: center;
    }

    .section-description {
        padding-left: 20px;
    }

    .content {
        padding: 20px;
        text-align: left;
    }
    #content section:first-child {
        border-top-left-radius: calc((100px + 70%) / 2);
    }
}
@media (max-width: 768px) {
    .content {
        padding: 20px;
        text-align: left;
    }
    .main-container {
        grid-template-rows: auto 1fr;
        min-height: auto;
    }
    .barra-container {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .barra-logo {
        justify-content: center;
        text-align: center;
    }

    .barra-nav-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .barra-nav {
        flex-direction: column;
    }

    .barra-nav li {
        margin-bottom: 10px;
    }

    .section-container {
        grid-template-columns: 1fr;
    }

    .section-text {
        padding-left: 150px;
        padding-right: 20px;
        padding-top: 50px;
    }

    .section-title {
        padding-left: 0;
        justify-content: center;
    }

    .section-description {
        padding-left: 20px;
    }
    #content section:first-child {
        border-top-left-radius: calc((100px + 70%) / 2);
    }
}

.containerL {
    position: relative;
    min-height: 100vh;
}

.rowL {
    display: flex;
    flex-wrap: wrap;
    height: 100vh;
}

.colL {
    width: 50%;
}

.align-items-centerL {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.form-wrapper {
    width: 100%;
    max-width: 40rem;
}

.form {
    padding: 1rem;
    background-color: var(--white);
    border-radius: 0.1rem;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
    transform: scale(0);
    transition: .5s ease-in-out;
    transition-delay: 1s;
}

.input-group {
    position: relative;
    width: 100%;
    margin: 1rem 0;
}

.input-group i {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--gray-2);
}

.input-group input {
    width: 100%;
    padding: 1rem 3rem;
    font-size: 1rem;
    background-color: var(--gray);
    border-radius: 0.1rem;
    border: 0.125rem solid var(--white);
    outline: none;
}

.input-group input:focus {
    border: 0.125rem solid var(--primary-color);
}

.form button {
    cursor: pointer;
    width: 100%;
    padding: .6rem 0;
    border-radius: 0.1rem;
    border: none;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1.2rem;
    outline: none;
}

.form p {
    margin: 1rem 0;
    font-size: .7rem;
}

.flex-colL {
    flex-direction: column;
}

.social-list {
    margin: 2rem 0;
    padding: 1rem;
    border-radius: 0.1rem;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
    transform: scale(0);
    transition: .5s ease-in-out;
    transition-delay: 1.2s;
}

.social-list>div {
    color: var(--white);
    margin: 0 .5rem;
    padding: .7rem;
    cursor: pointer;
    border-radius: .5rem;
    transform: scale(0);
    transition: .5s ease-in-out;
}

.social-list>div:nth-child(1) {
    transition-delay: 1.4s;
}

.social-list>div:nth-child(2) {
    transition-delay: 1.6s;
}

.social-list>div:nth-child(3) {
    transition-delay: 1.8s;
}

.social-list>div:nth-child(4) {
    transition-delay: 2s;
}

.social-list>div>i {
    font-size: 1.5rem;
    transition: .4s ease-in-out;
}

.social-list>div:hover i {
    transform: scale(1.5);
}

.facebook-bg {
    background-color: var(--facebook-color);
}

.google-bg {
    background-color: var(--google-color);
}

.twitter-bg {
    background-color: var(--twitter-color);
}

.insta-bg {
    background-color: var(--insta-color);
}

.pointer {
    cursor: pointer;
}

.containerL.sign-in .form.sign-in,
.containerL.sign-in .social-list.sign-in,
.containerL.sign-in .social-list.sign-in>div,
.containerL.sign-up .form.sign-up,
.containerL.sign-up .social-list.sign-up,
.containerL.sign-up .social-list.sign-up>div {
    transform: scale(1);
}

.content-rowL {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 6;
    width: 100%;
}

.text {
    margin: 4rem;
    color: var(--white);
}

.text h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 2rem 0;
    transition: 1s ease-in-out;
}

.text p {
    font-weight: 600;
    transition: 1s ease-in-out;
    transition-delay: .2s;
}

.img img {
    width: 30vw;
    transition: 1s ease-in-out;
    transition-delay: .4s;
}

.text.sign-in h2,
.text.sign-in p,
.img.sign-in img {
    transform: translateX(-250%);
}

.text.sign-up h2,
.text.sign-up p,
.img.sign-up img {
    transform: translateX(250%);
}

.containerL.sign-in .text.sign-in h2,
.containerL.sign-in .text.sign-in p,
.containerL.sign-in .img.sign-in img,
.containerL.sign-up .text.sign-up h2,
.containerL.sign-up .text.sign-up p,
.containerL.sign-up .img.sign-up img {
    transform: translateX(0);
}

.containerL::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100vh;
    width: 300vw;
    transform: translate(35%, 0);
    background-image: linear-gradient(-45deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: 1s ease-in-out;
    z-index: 6;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-bottom-right-radius: max(50vw, 50vh);
    border-top-left-radius: max(50vw, 50vh);
}

.containerL.sign-in::before {
    transform: translate(0, 0);
    right: 50%;
}

.containerL.sign-up::before {
    transform: translate(100%, 0);
    right: 50%;
}
.form-group > input{
    width: 200px;
}
@media only screen and (max-width: 425px) {
    .containerL::before,
    .containerL.sign-in::before,
    .containerL.sign-up::before {
        height: 100vh;
        border-bottom-right-radius: 0;
        border-top-left-radius: 0;
        z-index: 0;
        transform: none;
        right: 0;
    }

    .containerL.sign-up .img.sign-up img {
        height: 100%;
        width: 100%;
    }

    .img.sign-in img {
        height: 100%;
        width: 100%;
    }

    .containerL.sign-in .colL.sign-in,
    .containerL.sign-up .colL.sign-up {
        transform: translateY(50%);
    }

    .content-rowL {
        align-items: flex-start !important;
    }

    .content-rowL .colL {
        transform: translateY(50%);
        background-color: unset;
    }

    .colL {
        width: 100%;
        position: absolute;
        padding: 2rem;
        background-color: var(--white);
        border-top-left-radius: 2rem;
        border-top-right-radius: 2rem;
        transform: translateY(100%);
        transition: 1s ease-in-out;
    }

    .rowL {
        align-items: flex-end;
        justify-content: flex-end;
    }

    .form,
    .social-list {
        box-shadow: none;
        margin: 0;
        padding: 0;
    }

    .text {
        margin: 0;
    }

    .text p {
        display: none;
    }

    .text h2 {
        margin: .5rem;
        font-size: 2rem;
    }
    .form-group > input{
        width: 100%;
    }
    #ingresarCL1 {
        height: auto;
        padding-top: 150px;
    }
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #831925;
}

.cornerB {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background-color: white;
}

.corner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background-color: #831925;
    border-top-left-radius: 100px;
}

nav {
    color: black;
    padding: 1rem;
}

#barra li a {
    color: #841925;
    font-size: 1.8rem;
    border-bottom: solid 1px #841925;
}

#barra li a:hover {
    color: white;
    background-color: #841925;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 10px;
    transform: scale(1.05);
}

#ingresa {
    border: solid 4px #ffc410;
    padding: 8px 20px;
    background-color: #841925;
    font-weight: bold;
    color: white;
    border-radius: 10px;
    font-size: 1.5rem;
}

#ingresa:hover {
    color: black;
    border: none;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

#content {
    text-align: center;
    min-height: 100%;
}

section {
    display: none;
    opacity: 0;
}

section:target {
    display: block;
}

section.active {
    display: block;
    opacity: 1;
}

.divider-sm:before {
}

section#presentacion.active {
    animation: slideInLeft 2s forwards;
}

section#nosotros.active {
    animation: fadeIn 5s forwards;
}

section#mision.active {
    animation: slideInRight 2s forwards;
}

section#ingresar.active {
    animation: slideInUp 1s forwards;
}

.slide-up {
    animation: slideUp 0.5s forwards;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.area path {
    fill: #711c15;
    stroke: white;
}

#AIJA:hover,
#ANTONIO_RAYMONDI:hover,
#ASUNCION:hover,
#BOLOGNESI:hover,
#CARHUAZ:hover,
#CARLOS_F._FITZCARRALD:hover,
#HUACAYBAMBA:hover,
#HUARAZ:hover,
#HUARI:hover,
#HUAYLAS:hover,
#MARISCAL_LUZURIAGA:hover,
#OCROS:hover,
#POMABAMBA:hover,
#RECUAY:hover,
#SIHUAS:hover,
#YUNGAY:hover {
    fill: #ff0000;
    transition: fill 0.3s ease;
}

@keyframes changeColor {
    0% {
        fill: #711c15;
    }
    50% {
        fill: #ff0000;
    }
    100% {
        fill: #711c15;
    }
}

.animated {
    animation: changeColor 3s infinite;
}

.copy {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
    text-align: right;
    padding-right: 30px;
    z-index: 1000;
}
/*.btn-borderr:before {*/
/*    width: 90%;*/
/*    height: 90%;*/
/*}*/
.text-left {
    text-align: left;
}

.mb-40 {
    margin-bottom: 40px;
}

.text-justify {
    text-align: justify;
}

.font-size-15-5 {
    font-size: 15.5px;
}

.card {
    border: solid 1px #f4f3f3;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.67);
    padding-top: 25px;
    padding-bottom: 40px;
}

.img-container {
    width: 510px !important;
    height: 450px !important;
}

.img-responsive {
    border-radius: 8px;
    height: 350px;
    width: 100%;
}
.rowL {
    display: flex;
    flex-wrap: wrap;
    height: 100vh;
}

.colL {
    width: 50%;
}
@media (max-width: 992px) {
    .barra-text {
        text-align: left;
    }
    .cell-md-6 {
        flex: 1 1 48%;
        max-width: 48%;
    }
    .colL {
        width: 100%;
    }
    #containerL {
        display: flex;
        flex-direction: column;
    }

    .rowL:first-child {
        order: 2;
    }

    .rowL:last-child {
        order: 1;
    }
    .containerL.sign-in::before {
        transform: translate(0, 0);
        right: 0;
        z-index: -1;
    }
    .content-rowL{
        position: relative;
    }
}

@media (max-width: 768px) {
    .cell-sm-6, .cell-md-6, .cell-md-4 {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
@media (max-width: 1200px) {
    .section-title > h2{
        font-size: 1.5em;
    }
    .range {
        display: flex;
        flex-wrap: wrap;
    }

    .cell-md-6, .cell-md-4 {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .img-container {
        width: 100% !important;
        height: auto !important;
    }

    .img-responsive {
        height: auto;
    }
}