@view-transition{
    navigation: auto;
}

::view-transition-group{
    animation-duration: 0.5s;
}

::view-transition-old(main-content){
    animation-name: fade-out;
}

::view-transition-new(main-content){
    animation-name: fade-in;
}

@keyframes fade-out{
    from{
        opacity: 1;
    }
    to{
        opacity: 0;
    }
}

@keyframes fade-in{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

:root{
    --primary-red: #CE000C;
    --primary-red-light: #e83740;
    --secondary-color: #008641;
    --tertiary-color: #9DAFBD;
    --background-color: #F5F5F5;
    --primary-font-color: #404040;
    --secondary-font-color: #008641;
    --tertiary-font-color: #fff;
    --body-font-color: #494E51;
    --headers-font-color:#4A4F4F;
}

.container-fluid{
    padding: 0;
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

nav{
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-content{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.button-menu{
    display: none;
}

.menu-mobile{
    display: none;
}

.logo{
    height: 65px;
    margin-left: 2rem;
}

.menu-list{
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0 2rem;
}

.button-rounded-secondary{
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    transform: translateY(0);
    will-change: transform;
    background-color: var(--secondary-color);
    color: var(--tertiary-font-color);
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
    border: solid 1px transparent;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);

    &:hover{
        transform: translateY(-1px);
        color: var(--tertiary-font-color);
        border: solid 1px var(--secondary-color);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
}

.menu-item{
    font-size: 1rem;
    font-weight:500;
    color: var(--tertiary-color);
    align-self: center;

    & a:not(.button-login){
        font-family: 'Roboto', sans-serif;
        color: inherit;
        text-decoration: none;
        display: inline-block;
        transition: all 0.2s ease-in;

        &:hover{
            color: var(--primary-red);
        }

    }

    &.active{
        color: var(--primary-red);
    }

    & .button-login{
        display: inline-block;
        font-family: 'Roboto', sans-serif;
        transform: translateY(0);
        will-change: transform;
        background-color: var(--primary-red);
        color: var(--tertiary-font-color);
        padding: 0.5rem 1.5rem;
        border-radius: 1rem;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.8rem;
        transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;

        /* Agrega esto 👇 */
        border: solid 1px transparent;
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
        }

    & .button-login:hover{
        transform: translateY(-1px);
        border: solid 1px var(--primary-red-light);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        background: linear-gradient(-45deg, var(--primary-red), var(--primary-red-light));
    }
}


footer{
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0;
}

.footer-logo{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 10%;
    color: var(--tertiary-color);
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
}

.footer-menu{
    display: flex;
    list-style: none;
    gap: 4rem;
    margin: 0 2rem;
}

.footer-item{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    height: 100%;
    width: 15%;
    color: var(--tertiary-color);
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
}

.footer-item-subtitle{
    color: var(--tertiary-color);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    min-height: 30px;
    height: 30px;
    max-height: 30px;
}

.footer-item-link{
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.2s ease-in;

    &:hover{
        color: var(--primary-red-light);
        text-decoration: underline;
    }
}

/* General Components */

.button-rounded-primary{
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Roboto', sans-serif;
    transform: translateY(0);
    will-change: transform;
    background-color: var(--primary-red);
    color: var(--tertiary-font-color);
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;

    /* Agrega esto 👇 */
    border: solid 1px transparent;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }

.button-rounded-primary:hover{
    color: var(--tertiary-font-color);
    transform: translateY(-1px);
    border: solid 1px var(--primary-red-light);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(-45deg, var(--primary-red), var(--primary-red-light));
}

.button-lg{
    padding: 0.5rem 5rem;
}

/* Index */
.hero-section{
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    width: 100%;
    height: 600px;
    background-image: url('/../images/index/hero-background.png');
    background-size: cover;
    background-position: center top;
    
    /*
    background-image: url('/../images/hero.jpg');
    background-size: cover;
    background-position: center;
    */

    & .hero-image{
        width: 380px;
        height: 450px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 3rem;
    }

    & .hero-content{
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        height: 70%;
        width: 50%;
        color: var(--primary-font-color);
        font-size: 1rem;
        font-weight: 500;
    }

    & .hero-title{
        font-size: 5rem;
        font-weight: 700;
        margin: 0;
        text-transform: capitalize;

        & span{
            color: var(--primary-red);
        }
    }

    & .hero-subtitle{
        font-size: 1.2rem;
        font-weight: 500;
        margin: 1rem 0;
        
    }
}

.explore-section{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding:2rem;
    width: 80%;
    margin: 1rem auto;
    

    & .explore-content{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60%;
        margin: 0 auto;
        text-align: center;

        & .explore-title{
            font-size: 1.8rem;
            font-weight: 500;
            margin: 0;
            text-transform: capitalize;
            color: var(--secondary-color);
        }

        & .explore-subtitle{
            font-size: 1rem;
            font-weight: 300;
            margin: 1rem 0;
            color: var(--body-font-color);
            
        }
    }

    & .explore-cards{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 5rem;
        width: 100%;
        margin: 0 auto;

        & .explore-card{
            display: flex;
            flex-direction: column;
            gap:1rem;
            align-items: center;
            justify-content: center;
            text-align: center;
            text-decoration: none;
            transition: transform 0.2s ease, box-shadow 0.2s ease;

            & .explore-card-image{
                width: 200px;
                height: 200px;
                display: flex;
                justify-content: center;
                align-items: center;
                background-color: var(--primary-red);
                border-radius: 50%;
                box-shadow: 0 0 0px rgba(0, 0, 0, 0.0);
            }

            & .explore-card-content{
                color: var(--primary-red);
                font-size: .8rem;
                font-weight: 500;
            }
        }

        & .explore-card:hover{
            transform: translateY(-1px);

            & .explore-card-image{
                box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            }
            
        }
    }
}

.advantages-section{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    background-image: url('/../images/index/green-section.png');
    background-size: cover;
    background-position: center;
    color: var(--tertiary-font-color);

    & .advantages-content{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60%;
        margin: 2rem auto;
        text-align: center;

        & .advantages-title{
            font-size: 1.6rem;
            font-weight: 500;
            margin: 0;
            color: var(--tertiary-font-color);
        }

        & .advantages-subtitle{
            font-size: 1rem;
            font-weight: 300;
            margin: .5rem 0;
            color: var(--tertiary-font-color);
            
        }
    }

    & .advantages-grid{
        display:grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        width: 80%;
        margin: 0 auto;
        margin-bottom: 4rem;
    }

    & .advantages-item{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        gap: 1rem;

        & .advantages-item-image{
            min-width: 45px;
            & img{
                height: 35px;
            }
        }

        & .advantages-item-content{
            color: var(--tertiary-font-color);
            font-size: .8rem;
            font-weight: 500;
        }
    }
}

/* Cursos */
.page-header{
    margin: 1rem auto;
    & h1{
        font-size: 2rem;
        font-weight: 500;
        margin: 0;
        color: var(--headers-font-color);
    }
}

.search-input-container {
    position: relative;
    width: 60%;
}
.search-input {
    width: 100%;
    padding: .5rem 2rem;
    border: 1px solid #eaeaea;
    border-radius: 24px;
    box-sizing: border-box;
}
.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #494E51;
    border: none;
    padding: 1rem 1.2rem;
    border-radius: 24px;
    cursor: pointer;
}
.search-button:hover {
    background-color: var(--primary-red-light);
    color: var(--tertiary-font-color);
}

.courses-categories{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin: 1rem 0;
}
.course-category{
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: solid 1px transparent;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    color: var(--body-font-color);
}
.course-category:hover{
    color: var(--primary-red);
    text-decoration: underline;
}

.courses-section{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    margin: 1rem 0;
    width: 100%;
    margin-bottom: 2rem;
}
.courses-grid{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
}

.courses-section-title{
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0;
    color: var(--headers-font-color);
}

.course-card{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    width: 280px !important;
    min-width: 280px !important;
    height: 380px;
    border-radius: .6rem;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: solid 1px #D1DBE3;
    background-color: #fff;
}
.course-card:hover{
    transform: translateY(-1px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.course-card-cover{
    width: 100%;
    min-height: 150px;
    max-height: 150px;
    object-fit: cover;
    border-radius: .6rem .6rem 0 0;
    border-bottom: solid 1px #D1DBE3;
}

.course-card-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
    height: 100%;
    padding: 1rem;
    margin-top: -60px;
}

.course-card-title{
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    color: var(--headers-font-color);
}

.course-card-description{
    font-size: .8rem;
    font-weight: 300;
    margin: 0;
    color: var(--body-font-color);
    height: 80px;
    text-align: justify;
}
.course-card-button{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    gap: .5rem;
    border-radius: .6rem;
    background-color: var(--secondary-color);
    color: var(--tertiary-font-color);
    font-size: .8rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: solid 1px transparent;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
.course-card-button:hover{
    transform: translateY(-1px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: var(--tertiary-font-color);
}

.course-card-cover-container{
    position: relative;
}
.course-icon{
    position:relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: .6rem;
    background-color: #fff;
    border: solid 1px #D1DBE3;
    padding: .5rem;
    transform: translate(200px, -40px);
    width: 60px;
    height: 60px;
}
.course-icon-image{
    width: 40px;
    height: 40px;
    object-fit: cover;
    
}

.courses-list{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
    
}

.course-card-list{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    height: 185px;
    border-radius: .6rem;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: solid 1px #D1DBE3;
    background-color: #fff;
    padding: .5rem 1rem;
}
.course-card-cover-list{
    width: 250px;
    min-height: 150px;
    max-height: 150px;
    object-fit: cover;
    border-radius: .6rem;
    
}
.course-card-content-list{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    width: 60%;
    height: 100%;
    padding: 1rem;
}

.course-card-button-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;

    & .course-price{
        font-size: 1rem;
        font-weight: 500;
        color: var(--primary-red);
    }
}
.course-card-button-list{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem 2rem;
    max-height: 40px;
    gap: .5rem;
    border-radius: .6rem;
    background-color: var(--secondary-color);
    color: var(--tertiary-font-color);
    font-size: .8rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: solid 1px transparent;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
.course-card-button-list:hover{
    transform: translateY(-1px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: var(--tertiary-font-color);
}

.course-category-link{
    margin-left: 2rem;
    display: inline-block;
    
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    background-color: transparent;
    transition: transform 0.3s ease;
}
.course-category-link:hover{
    transform: translateX(8px);
    color: var(--primary-red-light);
}

/* Course */
.cover-container{
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    border-bottom: solid 1px #D1DBE3;
}
.cover-icon{
    width: 150px;
    height: 150px;
    object-fit: cover;
    padding: 1rem;
}
.course-title{
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-red);
    text-align: center;
}

.course-cover-card{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 60%;
    margin: 0 auto;
    margin-top: -4rem;
    padding: 1rem 2rem;
    background-color: #fff;
    border: solid 1px #D1DBE3;
}

.course-card-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    width: 30%;

    & h6{
        font-size: 1rem;
        font-weight: 500;
        margin: 0;
        color: var(--primary-red);
    }

    & p{
        font-size: .8rem;
        font-weight: 300;
        margin: 0;
        color: var(--secondary-font-color);
        text-align: center;
    }
}
    
.course-objective-dates{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 2rem auto;
    padding: 1rem 2rem;
}
.course-objective{
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: 665px;

    & p{
        font-size: 1rem;
        font-weight: 300;
        margin: 0;
        color: var(--body-font-color);
        text-align: center;
    }
}
.course-dates{
    width: 50%;
    padding: 2rem;
}

.section-title{
    font-size: 1.4rem;
    font-weight: 500;
    margin: 0 auto;
    text-align: center;
    color: var(--primary-red);
}

.course-topics{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    
}
.course-topics-cover{
    width: 45%;
    object-fit: cover;
    border-radius: 0 .6rem .6rem 0;
}
.course-topics-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    width: 50%;
    height: 100%;
    padding: 1rem;
    margin-right: 2rem;
}
.topic{
    font-size: 1rem;
    font-weight: 300;
    margin: 0;
    color: var(--body-font-color);

    & span{
        font-weight: 700;
    }
}

.course-cta{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 3rem auto;
}
.course-cta-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 50%;
    height: 100%;
    padding: 1rem;
    margin-right: 2rem;

    & p{
        font-size: 1rem;
        font-weight: 300;
        margin: 0;
        color: var(--body-font-color);
        text-align: center;
    }
}
.course-cta-image{
    width: 45%;
    object-fit: cover;
    border-radius: 0 .6rem .6rem 0;
}

.course-cta-cover{
    width: 100%;
    object-fit: cover;
    border-radius: 0 .6rem .6rem 0;
}

.login-cover{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    max-height: 48vw;
}

.login-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    height: 100%;
    padding: 2rem;
}

.login-title{
    font-size: 2rem;
    font-weight: 500;
    margin: 0 auto;
    color: var(--primary-red);
    width: 100%;
    text-align: center;
}
.login-subtitle{
    font-size: 1rem;
    font-weight: 300;
    margin: 0;
    color: var(--body-font-color);
    text-align: center;
}

.login-fields-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 80%;
    padding: 2rem;
    border-radius: .6rem;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: solid 1px #D1DBE3;
    background-color: #fff;

    & div:not(.flex-col){
        width: 100%;

        & input{
            width: 100%;
            height: 50px;
            padding: .5rem;
            border-radius: .3rem;
            border: solid 1px #D1DBE3;
            background-color: #fff;
            font-size: .9rem;
            font-weight: 500;
            opacity: .9;
            color: var(--body-font-color);

            &::placeholder {
                font-weight: 300;
                opacity: 0.5;
                color: var(--body-font-color);
            }
        }
    }
}

.login-buttons{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.button-outlined-primary{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .5rem 2rem;
    max-height: 40px;
    gap: .5rem;
    border-radius: .3rem;
    background-color: transparent;
    color: var(--primary-red);
    font-size: .8rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: solid 1px var(--primary-red);
    width: 48%;

    &:hover{
        transform: translateY(-1px);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        color: var(--primary-red-light);
    }
}

.button-login-primary-action{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .5rem 2rem;
    max-height: 40px;
    gap: .5rem;
    border-radius: .3rem;
    background-color: var(--secondary-color);
    color: var(--tertiary-font-color);
    font-size: .8rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: solid 1px transparent;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    width: 48%;

    &:hover{
        transform: translateY(-1px);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        color: var(--tertiary-font-color);
        border: solid 1px var(--secondary-color);
    }
}

.forgot-password-link{
    font-size: .9rem;
    font-weight: 500;
    color: var(--primary-red);
    text-decoration: none;
    transition: transform 0.2s ease;

    &:hover{
        transform: translateY(-5px);
        color: var(--primary-red-light);
    }
}

.gsi-material-button {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    background-color: WHITE;
    background-image: none;
    border: 1px solid #747775;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #1f1f1f;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    width: auto;
    max-width: 400px;
    min-width: min-content;
    text-decoration: none;
}

.gsi-material-button .gsi-material-button-icon {
    height: 20px;
    margin-right: 12px;
    min-width: 20px;
    width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
    -webkit-align-items: center;
    align-items: center;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
    -webkit-flex-grow: 1;
    flex-grow: 1;
    font-family: 'Roboto', arial, sans-serif;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
    -webkit-transition: opacity .218s;
    transition: opacity .218s;
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.gsi-material-button:disabled {
    cursor: default;
    background-color: #ffffff61;
    border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
    opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
    opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state, 
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
    background-color: #303030;
    opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
    -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
    background-color: #303030;
    opacity: 8%;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    width: 70%;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--tertiary-color);
}

.separator:not(:empty)::before {
    margin-right: .25em;
}

.separator:not(:empty)::after {
    margin-left: .25em;
}

.nav-link{
    color: var(--primary-red);
    font-weight: 500;
    font-size: .9rem;
}

.nav-link:hover{
    color: var(--primary-red-light);
}
    

.profile-card{
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    border-radius: .6rem;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: solid 1px #D1DBE3;
    background-color: #fff;
    margin-top: 2rem;
}

.profile-title{
    font-size: 1.4rem;
    font-weight: 500;
    margin: 0 auto;
    text-align: center;
    color: var(--primary-red);
}

.profile-subtitle{
    font-size: .9rem;
    font-weight: 300;
    margin: 0;
    color: var(--body-font-color);
    text-align: center;
    margin-bottom: 1rem;
}

.profile-form{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
    margin: 0 auto;
    padding: 1rem;
    flex-wrap: wrap;

    & .course-event-details-content:not(:last-child){
        border-bottom: 1px solid #dee2e6;
    }
}

.profile-form-group{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: .5rem;
    width: 48%;

    & label{
        font-size: .9rem;
        font-weight: 500;
        color: var(--body-font-color);
    }

    & input, & select{
        width: 100%;
        height: 50px;
        padding: .5rem;
        border-radius: .3rem;
        border: solid 1px #D1DBE3;
        background-color: #fff;
        font-size: .9rem;
        font-weight: 500;
        opacity: .9;
        color: var(--body-font-color);

        &:disabled{
            opacity: .5;
            cursor: not-allowed;
            background-color: #D1DBE3;
            border-color: #bcc1c5;
        }

        &::placeholder {
            font-weight: 300;
            opacity: 0.5;
            color: var(--body-font-color);
        }
    }

    & textarea{
        width: 100%;
        height: 100px;
        padding: .5rem;
        border-radius: .3rem;
        border: solid 1px #D1DBE3;
        background-color: #fff;
        font-size: .9rem;
        font-weight: 500;
        opacity: .9;
        color: var(--body-font-color);
    }
}

.sites-title{
    font-size: 2.5rem;
    font-weight: 500;
    margin: 0;
    text-align: center;
    color: var(--primary-red);
}

.sites-subtitle{
    font-size: 1rem;
    font-weight: 300;
    margin: 0 auto;
    color: var(--body-font-color);
    text-align: center;
    width: 80%;
}

.steps-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem;
}

.step-item{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: .3rem;
    border: solid 1px #D1DBE3;
    background-color: #fff;
    min-width: 230px;
}

.step-item-active{
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;

    & .step-details{
        & h3{
            color: var(--primary-red);
        }
    }
}

.step-details{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: .2rem;

    & h3{
        font-size: 1rem;
        font-weight: 500;
        margin: 0;
        color: var(--headers-font-color);
    }

    & p{
        font-size: .8rem;
        font-weight: 300;
        margin: 0;
        color: var(--body-font-color);
    }
}

.course-event-details{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem;
}

.course-event-details-content{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    padding: 1rem;
}

.event-title{
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    color: var(--primary-red);
    margin-bottom: .5rem;
    margin-top: .5rem;
}

.event-description{
    font-size: .8rem;
    font-weight: 300;
    max-width: 35vw;
    margin: 0;
    color: var(--body-font-color);
}

.event-date{
    font-size: .8rem;
    font-weight: 300;
    margin: 0;
    color: var(--body-font-color);
}

.event-time{
    font-size: .8rem;
    font-weight: 300;
    margin: 0;
    color: var(--body-font-color);
}
    
.system-form-group{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: .5rem;
    width: 100%;

    & label{
        font-size: .9rem;
        font-weight: 500;
        color: var(--body-font-color);
    }
}

.system-input{
    width: 100%;
    height: 40px;
    padding: .5rem;
    border-radius: .3rem;
    border: solid 1px #D1DBE3;
    background-color: #fff;
    font-size: .9rem;
    font-weight: 500;
    opacity: .9;
    color: var(--body-font-color);

    &:disabled{
        opacity: .5;
        cursor: not-allowed;
        background-color: #D1DBE3;
        border-color: #bcc1c5;
    }

    &::placeholder {
        font-weight: 300;
        opacity: 0.5;
        color: var(--body-font-color);
    }
}