*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    text-decoration: none;
    cursor: url("cursor.png"), auto;
}

body{
    display: flex;
    flex-direction: column;
    background-image: url("./images/main/forhomeloo.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    object-fit: cover;
    min-height: 100%;
    padding-top: 100px;
}

header{
    width: 100%;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-between;
    height: 100px;
    align-items: center;
    z-index: 99;
    padding: 10px 100px 10px 60px;
    background-color: white;
    
}

.logo{
    height: 65px;
}

nav a{
    position: relative;
    margin-left: 70px;
    font-size: 19px;
    font-weight: 551;
    color: rgb(0, 0, 0);
}

nav a:hover, .active{
    color: #f2bce5;
}

nav a::after{
    content: '';
    position: absolute;
    left: 0;
    border-bottom: 3px solid #f2bce5;
    height: 3px;
    width: 100%;
    bottom: -5px;
    transform: scaleX(0);
    transition: transform 0.5s;
    transform-origin: right;
}

nav a:hover::after{
    transform: scaleX(1);
    transform-origin: left;

}

.text1{
    text-align: center;
    font-size: 25px;
    font-weight: 550;
    margin-top: 20px;
}

.center{
    padding: 20px 100px;
    padding-top: 40px;
    margin-top: 20px;
    margin-right: 0px;
    margin-left: 0px;
    margin-bottom: 20px;
}
    
.container{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    grid-template-rows: 300px 300px;
    gap: 20px;
    justify-content: center;
}

.bio{
    padding: 10px 0px;
    grid-row: span 2;
}

.profile{
    grid-row: span 2;
}

.myself{
    font-weight: 400;
    font-size: 40px;
    margin-bottom: 60px;
    border-bottom: 3px solid black;
    padding-bottom: 20px;
    margin-left: 120px;
    margin-right: 120px;
    text-align: center;
    margin-top: 50px;
}

.bio-desc{
    font-size: 20px;
    line-height: 2rem;
    padding: 0px 20px;
    margin-left: 20px;
    text-align: center;
}

.photo{
    height: 460px;
    justify-content: center;
    margin-left: 50px;
    margin-top: 30px;
}

.gotogal{
    font-size: 30px;
    text-align: left;
    margin-left: 60px;
}

.platform{
    display: flex;
    font-weight: 400;
    font-size: 30px;
    border-bottom: 3px solid black;
    margin-right: 120px;
    margin-left: 14%;
    padding-bottom: 20px;
    text-align: left;
    margin-top: 50px;
}

.social{
    display: flex;
    font-weight: 400;
    font-size: 30px;
    border-bottom: 3px solid black;
    margin-right: 120px;
    margin-left: 70px;
    padding-bottom: 20px;
    text-align: left;
    margin-top: 50px;
}

.social:hover, .platform:hover{
    justify-content: flex-end;
    transition: transform 0.5s;
}

.platform-flex{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.platform-box{
    display: grid;
    grid-template-columns: repeat(4, 100px);
    grid-template-rows: repeat(2, 100px);
    margin-left: 11    500px;
    margin-bottom: 40px;
}

.platform-icon{
    height: 60px;
    padding-bottom: 10px;
    border-bottom: 5px solid #f8fad6;
    border-radius: 3px;
    transition: transform 0.8s;

}

.social-flex{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-right: 70px;
}

.social-icon{
    margin-top: 30px;
    transition: transform 0.8s;
    height: 60px;
    padding-bottom: 10px;
    border-radius: 3px;
}

.social-icon:hover, .platform-icon:hover{
    transform: rotate(360deg) scale(1.3);
}


.break-line{
    display: flex;
    justify-content: center;
    align-items: center;
}

.break-line > img{
    width: 85%;
    margin-bottom: 20px;
}

.box-review > p{
    text-align: center;
    font-size: 56px;
    font-weight: 550;
    margin-bottom: 40px;
}

.review-container{
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    width: 100%;
    padding: 0px 150px;
}

.photo-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    height: 350px;
    margin-bottom: 90px;
}

.photo-container > .photo{
    margin: 0px;
}

.photo:hover{
    transform: scale(1.07);
    transition: transform 0.5s;
}

.photo-container .photo > img{
    height: 350px;
    object-fit: cover;
    margin-bottom: 15px;
}

.name > p{
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 5px;
    text-align: center;
}

.role > p{
    font-size: 20px;
    font-weight: 500;
    text-align: center;
}

.info-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 50%;
    height: 350px;
    margin-right: 150px;
}

.star > img{
    width: 280px;
    margin-bottom: 10px;
}

.review > p{
    font-size: 30px;
    line-height: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.myjob > p{
    font-size: 26px;
    font-weight: 500;
    text-align: center;
}

footer{
    padding: 20px 0px 30px 0px;
    border-top: 3px solid #fff0fc;
}

footer>a, footer>p{
    display: block;
    text-align: center;
    font-size: 1.2rem;
    color: black;
}

span{
    color: blue;
}



@media (max-width: 480px){

    body{
        padding-top: 130px;
    }

    header{
        display: flex;
        flex-direction: column;
        height: 130px;
    }

    .logo{
        height: 65px;
        display: block;
    }

    nav{
        display: flex;
    }

    .text1{
        font-size: 25px;
        padding: 0px 30px;
    }

    body{
    height: 100%;
    }

    .profile{
        display: grid;
        justify-content: center;
        margin-bottom: 20px;
    }

    .photo{
        height: 350px;
        margin-right: 40px;
    }

    .container{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
        gap: 20px;
        justify-content: center;
    }

    .bio-desc{
        font-size: 20px;
        line-height: 1.8rem;
        padding: 0px 20px;
        margin-left: 15px;
        margin-right: 15px;
        text-align: center;
    }

    .social, .platform{
        text-align: center;
    }

    .platform-box{
        display: grid;
        margin-left: 10px;
        grid-template-columns: repeat(4, 90px)
    }

    .platform, .social{
        margin-left: 25%;
        margin-right: 25%;
    }

    .social-flex{
        margin-right: 0px;
    }

    .platform-icon, .social-icon{
        margin-left: auto;
        margin-right: auto;
        margin-bottom: auto;
    }

    footer>a, footer>p{
        font-size: 1rem;
    }

    .box-review > p{
        font-size: 20px;
        margin-bottom: 20px;
    }

    .review-container{
        flex-direction: column;
        justify-content: center ;
        align-items: center;
        padding: 0px 20px;
    }

    .photo-container{
        width: 100%;
        margin-bottom: 25px;
        height: auto;
    }

    .photo-container .photo > img{
    height: 200px;
    object-fit: cover;
    }

    .photo-container > .photo{
    height: 200px;
    margin: 0px;
    }

    .info-container{
        width: 100%;
        margin: 0px;
        height: auto;
    }

    .name > p{
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 5px;
    text-align: center;
    }

    .role > p{
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    }

    .star > img{
    width: 150px;
    margin-bottom: 5px;
    }

    .review > p{
        font-size: 20px;
        line-height: 1.5rem;
        margin-bottom: 30px;
        margin-left: 15px;
        margin-right: 15px;
        text-align: justify;
    }

    .myjob > p{
        font-size: 15px;
        font-weight: 500;
        text-align: center;
    }
    
}