@import "configsheet.css";

/* Section One */
.sectionWelcome{
    display: flex;
    height: 30rem;
    background-color: var(--background-color);
}
.welcomeDivLeft, .welcomeDivRight{
    display: flex;
    align-items: center;
    width: 50%;
}
.welcomeDivLeft{
    margin-left: 6rem;
    flex-wrap: wrap;
}
.welcomeDivRight{
    justify-content: center;
}
.profileImageDiv{
    display: flex;
    justify-content: center;
    align-items: center;
    border: var(--second-color) solid 5px;
    border-radius: 50%;
    background-color: var(--main-color);
    width: clamp(400px,50%,400px);
    height: 80%;
    overflow: hidden;
}
.profileImageDiv > img{
    transform: scale(1.2);
    margin-top: 3rem;
    margin-right: 3rem;
    filter: grayscale(90%);
}
.welcomeDivLeft > h2{
    color: var(--font-color);
    font-size: 3rem;
    width: 100%;
}
.contentButton{
    font-size: 1.2rem;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 2rem;
    background-color: var(--main-color);
    color: var(--font-color);
    transition: .5s;
}
.contentButton:hover{
    background-color: var(--second-color);
    color: var(--background-color);
    transform: scale(1.1);
    transition: .3s;
}

/* Section Two */
.sectionBio{
    display: flex;
    height: 35rem;
    background-color: var(--main-color);
}
.bioDivLeft{
    display: flex;
    flex-wrap: wrap;
    width: 50%;
    height: 100%;
}
.bioHoverCubes{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 50%;
}
.icons{
    display: flex;
    justify-content: center;
    position: relative;
    border-radius: 0.5rem;
    background-color: var(--background-color);
    box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
    height: 80%;
    width: 35%;
}
svg{
    width: 40%;
    display: block;
    margin: auto;
}
.hiddenText{
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 0.5rem;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: 1s;
}
.hiddenText > p{
    color: var(--font-color);
    padding: 1.5rem;
    font-size: clamp(1rem, 1vw, 2rem);
}
.hiddenText:hover{
    opacity: 1;
    transition: .5s;
}
.bioDivRight{
    display: flex;
    align-items: center;
    width: 50%;
    color: var(--font-color);
}
.divRightText{
    margin: 2rem;
}
.divRightText > h3{
    color: var(--second-color);
    font-size: clamp(1.2rem, 1.5vw, 2rem);
}
.divRightText > h4{
    font-size: clamp(1rem, 1.2vw, 2rem);
}
.divRightText > p{
    font-size: clamp(.8rem, 1vw, 2rem);
}

/*Section Three*/
.sectionRecentProject{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 35rem;
    background-color: var(--background-color);
}
.homeImage{
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 30%;
    height: 23rem;
    background-color: var(--main-color);
    border-radius: 2rem;
}
.homeImage > img{
    object-fit: cover;
    width: 100%;
}
.featuredBlock{
    display: flex;
    align-items: center;
    width: 55%;
    height: 23rem;
    background-color: var(--main-color);
}
.blockText{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 50%;
    height: 80%;
    padding: 2.3rem;
    color: var(--font-color);
}
.blockText > h4{
    color: var(--second-color);
    margin-bottom: 0;
    margin-top: 0;
    font-size: clamp(1rem, 1.4vw, 2rem)
}
.blockText > p{
    font-size: clamp(.8rem, 1vw, 2rem)
}
.blockText > button{
    border: none;
    border-radius: 2rem;
    height: 2.5rem;
}
.blockText >button:hover{
    background-color: var(--font-color-hover);
}
.blockSkills{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    height: 100%;
}
.skillBox{
    background-color: var(--background-color);
    width: 90%;
    height: 72%;
    border-radius: 1rem;
}
.skillBox > h3{
    margin-left: 1rem;
    margin-bottom: 0;
    color: var(--font-color);
}
.skillBox > hr{
    border: 1px solid var(--font-color);
    width: 90%;
}
.skillsField{
    display: flex;
    flex-wrap: wrap;
    margin-left: .6rem;
}
.skill{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--second-color);
    color: var(--background-color);
    font-weight: 700;
    border-radius: 2rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
    height: 2rem;
    padding-left: .5rem;
    padding-right: .5rem;
    margin: 0.3rem;
    width: fit-content;
    flex-basis: content;
}

/*Responsive Design*/
@media screen and (max-width: 1320px) {
    .welcomeDivLeft > h2{
        font-size: 2rem;
    }
    .profileImageDiv{
        width: clamp(300px,50%,400px);
        height: clamp(300px, 50%, 400px);
    }
    .profileImageDiv > img{
        transform: scale(1);
    }
    .contentButton{
        font-size: 1rem;
    }
    .sectionBio{
        flex-direction: column;
        height: 50rem;
    }
    .bioHoverCubes{
        width: 100%;
    }
    .bioDivLeft, .bioDivRight{
        width: 100%;
        justify-content: center;
    }
    .bioDivRight{
        align-items: center;
    }
    .divRightText{
        text-align: center;
        padding-right: 0;
    }
    .icons{
        width: 35%;
    }
    .sectionRecentProject{
        flex-direction: column;
        height: 50rem;
    }
    .homeImage{
        width: 80%;
    }
    .featuredBlock{
        width: 80%;
    }
}
@media screen and (max-width: 680px) {
    .sectionWelcome{
        height: 20rem;
    }
    .profileImageDiv{
        width: clamp(100px, 150px,400px);
        height: clamp(100px, 150px, 400px);
    }
    .profileImageDiv > img{
        margin-top: 1rem;
        margin-right: 1rem;
        transform: scale(0.4);
    }
    .welcomeDivLeft{
        margin-left: 2rem;
    }
    .welcomeDivLeft > h2{
        font-size: 1.2rem;
    }
    .contentButton{
        font-size: 0.8rem;
    }
    .sectionBio{
        height: 80rem;
    }
    .bioHoverCubes{
        flex-direction: column;
    }
    .icons{
        width: 70%;
        margin: 1rem;
    }
    .hiddenText > p{
        font-size: clamp(0.8rem, 1vw, 2rem);
    }
    .sectionRecentProject{
        height: 50rem;
    }
    .featuredBlock{
        flex-direction: column;
        height: 36rem;
    }
    .homeImage{
        height: 10rem;
    }
    .blockText{
        width: 90%;
        padding: 0;
    }
    .blockSkills{
        width: 100%;
        height: 45rem;
    }
    .skillsBox{
        height: 42rem;
    }
}