:root {
    --main-color: #999999;
    --progress-color: #ff5c00;
    --border-color: #595959;
    --background-color: rgba(77, 77, 77, 0.7);
    --error-color: #E9383F;
    --font-family: 'Montserrat', sans-serif;
}

/* Layout Styles */
.level, .progress {
    height: 15px;
    border-radius: 10px;
}

.level {
    margin-top: 3px;
    width: 95%;
    background-color: var(--main-color);
}

.progress {
    background-color: var(--progress-color);
}

.circleLevel {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    font-size: 300%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration {
    margin-right: 10px;
    height: 100%;
    border-radius: 10px;
}

.tile {
    padding: 0;
    border: 1px solid var(--border-color);
    background-position: center; 
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.tile header {
    margin-top: 0;
}

.tileBackground {
    height: 100%;
    padding: 3px;
    background-color: var(--background-color);
}

.rotate-back {
    animation: rotateBack 1s ease forwards;
}

.welcomeMain {
    display: flex;
    justify-content: space-around;
}

.welcomeAnimation {
    transform: scale(0);
}

.cursor {
    padding-right: 5px;
}

.hideItem {
    margin-left: 12%;
    width: 25%;
}

form{
    font-family: var(--font-family);
    font-weight: 400;
    color:#FFFFFF;
}

form .row{
    margin-bottom:5px;
}

form input, form textarea{
    padding:2px;
    font-family: var(--font-family);
    font-weight: 400;
    background-color: #333333;
    color:#FFFFFF;
    border : 1px transparent solid;
    border-radius:5px;
    transition: border var(--transition-duration) ease;
}

form input:focus, form textarea:focus{
    outline:none;
    border: 1px solid var(--primary-color);
}

form textarea{
    height:100px;
    resize:none;
}

form p{
    font-family: var(--font-family-main);
    font-weight: 300;
    font-style: italic;
    font-size: 75%;
    color: #cccccc;
    text-align:center;
}

.required{
    color: var(--primary-color);
}

/* Error Styles */
.errorMain {
    display: flex;
    justify-content: space-around;
}

.errorMain div {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--error-color);
}

.errorMain div .fa-triangle-exclamation {
    font-size: 350%;
}

.errorMain div p {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 125%;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .rotateItem {
        animation: rotateAnimation 1s forwards;
    }

    .rotateItem .scrollable {
        transform: rotateY(180deg);
    }

    .illustration {
        height: 50%;
    }

    .hidden {
        display: none;
    }
}
