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

/* TYPOGRAFY */

h1, h2, h3, h4, p{
    margin: 0;
    padding: 0;
}

.t-big{
    font-size: 2.5rem;
}

.t-extra-light{
    font-weight: 300;
}

.t-regular{
    font-weight: 400;
}

.t-bold{
    font-weight: 700;
}

/* TYPOGRAFY */

/* ELEMENT STYLING */

header{
    position: relative;
    padding: 1rem 0.75rem;
    display: flex;
    justify-content: space-between;
    background-color: white;
    box-shadow: 0px 4px 2px rgba(0, 0, 0, 0.25);
    z-index: 100;
}

.header-color-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-color-selector{
    width: 30%;
    height: 100%;
    border: 0.5px solid #313131;
    height: 36px;
}

.main-color-scheme{
    width: 70%;
    height: 100%;
    border: 0.5px solid #313131;
    height: 36px;

    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
}

.title{
    display: flex;
}

.title h1{
    margin: 0 0.5rem;
}

.title h2{
    align-self: flex-end;
}

.header-container-get{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-container-get-btn{
    border: 0.5px solid #313131;
    height: 36px;

    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
}

.header-container-get-btn:hover,
.header-container-get-btn:focus,
.main-color-selector:hover,
.main-color-selector:focus,
.main-color-scheme:hover,
.main-color-scheme:focus{
    cursor: pointer;
}

.header-container-get-btn:hover,
.header-container-get-btn:focus{
    background-image: linear-gradient(to right, rgb(200, 121, 75), #c02856);
}


.color-list{
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden; /* or overflow: hidden; */
    display: flex;
    height: 100%;
    flex-direction: row;
}

.color-element-item{
    width: 100%;
    height: 100%;
    background-color: purple;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    box-shadow: 4px 0px 2px rgba(0, 0, 0, 0.25);
}

.text-transparent{
    color: rgba(0, 0, 0, 0);
    background-color: rgba(255, 255, 255, 0);

    padding: 1rem 0;
    margin-bottom: -5px;
    writing-mode: vertical-lr;
    transform: rotate(180deg);

    align-self: flex-end;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;

    transition: all 0.3s ease-in-out;
}

/* To show on hover */
.color-element-item:hover{
    cursor: pointer;
}

.color-element-item:hover .text-transparent {
    color: rgba(0, 0, 0, 0.5);
    background-color: rgba(255, 255, 255, 0.25);
}
/**/

.color-info{
    align-self: flex-end;
    text-align: center;
    background-color: rgba(255, 255, 255, 1);
    width: 100%;
    min-height: 50px;
    padding: 0.5rem;
    border-top-left-radius: 8px;
    border-top-right-radius: 4px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ELEMENT STYLING */

/* COLORING */

.selectedColor{
    color: red;
}

.b-green{
    background-color: green;
}

.b-blue{
    background-color: blue;
}

.b-red{
    background-color: red;
}

.b-yellow{
    background-color: yellow;
}

.b-cyan{
    background-color: cyan;
}

.b-magenta{
    background-color: magenta;
}

/* COLORING */

/* MEDIA QUERIES */

/* Small Mobile */
@media screen and (min-width: 551px) and (max-width: 750px){
    .title{
        flex-direction: column;
    }

    .color-info h3{
        font-size: 0.7rem;
    }

    .color-info p{
        font-size: 1rem;
    }
}

@media screen and (max-width: 550px){
    header{
        display: flexbox;
        flex-direction: column;
    }

    .title{
        flex-direction: row;
        justify-self: center;
        align-self: center;
        order: 0;

        margin-bottom: 1rem;
    }

    .header-color-container{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        order: 1;
        
        margin-bottom: 1rem;
    }

    .main-color-selector{
        width: 80%;
        border: 0.5px solid #313131;
        border-radius: 8px;
        height: 36px;
        margin-bottom: 0.25rem;
    }

    .main-color-scheme{
        width: 80%;
        border: 0.5px solid #313131;
        border-radius: 8px;
        height: 36px;
    }

    .header-container-get{
        display: flex;
        justify-content: center;
        order: 2;
    }

    .header-container-get-btn{
        width: 80%;

        border: 0.5px solid #313131;
        border-radius: 8px;
        
        height: 36px;
    }

    .color-info h3{
        font-size: 0.7rem;
    }

    .color-info p{
        font-size: 1rem;
    }
}

/* MEDIA QUERIES */
