/* ========== RESET ========== */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

/* ========== GENERAL ========== */

body{
    color: white;
}

#main-content{
    min-height: 100vh;
    display: flex;
    font-size: 100%;
}

span{
    color: #66cfce;
}

/* ========== BIO CONTAINER ========== */

#bio-container{
    flex: 1 1 20%;
    min-height: 100%;
    border-right-style: solid;
    border-color: #66245b;
    border-width: 4px;
    background-color: #330131;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 15px;
    text-align: center;
}

#bio-container img{
    width: 70%;
    border-radius: 50%;
    margin: 20px auto;
    max-width: 200px;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.448);
}

#bio-container h1{
    font-size: 1.5rem;
}

#bio-container hr{
    width: 100%;
    margin-bottom: 15px;
}

.bio-paragraph{
    margin: 10px auto;
}

#welcome{
    font-weight: bold;
}

#social-container{
    list-style: none;
    display: flex;
    gap: 30px;
    font-size: 35px;
    margin: 15px auto;
}

ion-icon{
    color: #66cfce;
    transition: 0.5s;
}

a ion-icon:hover{
    color: #ffffff;
    font-size: 40px;
}

#email-container{
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* ========== ABOUT CONTAINER ========== */

/* about me */
#about-container{
    flex: 1 1 80%;
    min-height: 100%;
    background-color: #260122;
    padding: 50px;
}

#myname{
    font-size: 2.5rem;
    margin: 0px auto 15px auto;
}

#about-container h2{
    color: #66cfce;
    margin: 0px auto 15px auto;
}

#about-container p{
    margin: 0px 0px 15px 0px;
    width: 80%;
    text-align: left;
}

#about-container hr{
    margin-bottom: 15px;
}

#btn-projects{
    width: 150px;
    height: 40px;
    padding: 20px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 20px;
    background-color: #3b8584;
    gap: 10px;
    border-radius: 10px;
    border-color: #81cecd;
    transition: 0.5s;
    cursor: pointer;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.448);
}

#btn-projects:hover{
    background-color: transparent;
}

#btn-projects span, #btn-projects ion-icon{
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
}

/* my skills */

h1.myskills{
    font-size: 1.7rem;
    margin-top: 25px;
    margin-bottom: 20px;
}

p.myskills{
    margin-bottom: 20px;
}

#skills-container{
    display: flex;
    flex-wrap: wrap;
    margin-top: 25px;
}

.skills-box{
   flex: 1 1 33%;
   max-width: 33%;
   font-size: 35px;
}

.skills-title{
    font-size: 24px;
    font-weight: bold;
    padding-left: 10px;
    border-left-style: solid;
    border-width: 5px;
    border-color: #66cfce;
    margin-bottom: 30px;
}

.skills-icons{
    width: 80%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
    gap: 15px;
    
}

.skills-icons i{
    font-size: 40px;
    text-shadow: 0px 5px 10px black;   
    transition: 0.5s;
}

.skills-icons i:hover{
    font-size: 50px;  
}

/* ========== MEDIA QUERIES ========== */

@media (max-width: 450px){
    /* main */ 
    #main-content{
        flex-direction: column;
    }

    /* bio-container */
    #bio-container{
        border-style: none;
        border-bottom-style: solid;
        text-align: center;
    }

    #bio-container h1{
        display: none;
    }

    #bio-container p{
        margin: 10px;
    }

    #email-container{
        align-items: center;
        gap: 5px;
    }

    /* about-container */
    #myname{
        font-size: 2rem;
        margin: 0px auto 15px auto;
    }   

    #about-container{
        padding: 25px;
        text-align: center;
    }

    #about-container p{
        margin: 15px auto;
        width: 100%;
        line-height: 25px;
    }

    #about-container p.about-paragraph, #about-container p.myskills{
        text-align: center;
    }

    #btn-projects{
        margin: 30px auto 20px auto;
    }

    /* about-container -> my skills */
    #skills-container{
        flex-direction: column;
    }

    .skills-box{
        flex: none;
        width: 100%;
        max-width: 100%;
        font-size: 35px;
        margin-bottom: 30px;
    }

    p.skills-title{
        font-size: 20px;    
        text-align: left; 
    }

    .skills-icons{
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        
    }

    .skills-icons i{
        font-size: 45px;
        text-shadow: 0px 5px 10px black;   
        transition: 0.5s;
    }

    .skills-icons i:hover{
        font-size: 50px; 
    }

}