:root {
  --backgroundColor: linear-gradient(#e7baff, #c2b6d9);
  --uploadFileBackgroundColor: #f7f8ff;
  --borderColorContainer:#bbb5ff;
  --titleColor: white;
  --colorSpan:#777;
  --buttonColor: #6b3fa0;
  --buttonColor2: #35b8c3;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body{
    background: var(--backgroundColor);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; 
    gap: 6rem;   
}


/*************************/
/*         Title         */
/*************************/
.titleContainer{
    max-width: 120rem;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title{
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--titleColor);
    padding-left: 2rem;
    letter-spacing: 0.5px;
}


/************************************/
/*         Upload TXT files         */
/************************************/
.uploadFilesContainer{
    max-width: 90rem;
    width: 100%;
    height: 30vh;
    margin: 0 auto;
    display: flex;
    justify-content:space-around;
    gap: 2rem;
}

.upload{
    background-color: var(--uploadFileBackgroundColor);
    border-radius: 2rem;
    max-width: 50rem;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 3rem;
}

#imageViewFollowing,
#imageViewFollowers{
    width: 100%;
    height: 100%;
    border-radius: 2rem;
    border: 2px dashed var(--borderColorContainer);
    background-color: var(--uploadFileBackgroundColor);
}

#imageViewFollowing img,
#imageViewFollowers img{
    margin-top: 2.5rem;
    width: 10rem;
}

#imageViewFollowing p,
#imageViewFollowers p{font-size: 1.6rem;}

#imageViewFollowing span,
#imageViewFollowers span{
    display: block;
    font-size: 1.2rem;
    color: var(--colorSpan);
    margin-top: 1.5rem;
}


/*******************************/
/*         TXT Section         */
/*******************************/
.buttonsContainer{
    max-width: 60rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#seeResults{
    background-color: var(--buttonColor);
    cursor: pointer;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    height: 4.5vh;
    padding: 2rem 0;
    border-radius: 0.8rem;
    font-size: 1.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--titleColor);
}

#seeResults:hover{ background-color: #5b3489;}

#seeResults img{width: 2.5rem;}

#howToUse{
    background-color: var(--buttonColor2);
    display: flex;
    justify-content:space-between;
    align-items: center;
    cursor: pointer;
    height: 4.5vh;
    border-radius: 0.8rem;
    padding: 2rem;
    text-decoration: none;
    font-size: 1.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--buttonColor);
}

#howToUse:hover{background-color: #2aa2ac;}

#howToUse span{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

#howToUse img{width: 3rem;}


/********************************/
/*         Load Spinner         */
/********************************/
#spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner-overlay img {
  width: 8rem;
  height: 8rem;
}



/* ************************************************** */
/* ************************************************** */
/*                    Media Queries                   */
/* ************************************************** */
/* ************************************************** */
/************************************/
/* BELOW 1200px (Landscape Tablets) */
/************************************/
@media (max-width: 75em) {html {font-size: 56.25%;}}

/*************************/
/* BELOW 944px (Tablets) */
/*************************/
@media (max-width: 59em) {
    html {font-size: 50%;}

    /* Upload TXT files */
    .upload{max-width: 40rem;}

}

/*********************************/
/* BELOW 704px (Smaller tablets) */
/*********************************/
@media (max-width: 44em) {
    /* Title */
    .titleContainer{
        flex-direction: column;
        gap: 2.5rem;
    }

    .title{
        text-align: center;
        padding-left: 0rem;
        font-size: 2.7rem;
    }

    /* Upload TXT files */
    .uploadFilesContainer{
        align-items: center;
        height: 100%;
        flex-direction: column;
        gap: 4rem;
    }

    .upload{
        height: 30rem;
        max-width: 50rem;
    }

    /* TXT Section */
    .buttonsContainer{max-width: 50rem;}
}

/******************************/
/* BELOW 402px (small Phones) */
/******************************/
@media (max-width: 25.2em) {
    /* Upload TXT files */
    .upload{max-width: 40rem;}

    /* TXT Section */
    .buttonsContainer{
        padding-bottom: 8rem;
        max-width: 40rem;
    }
}