@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@600&display=swap');
*{
    margin: 0px;
    padding: 0px;
}

.name{
    display: flex;
    justify-content: center;
    align-content: center;
    background-color: rgb(152, 152, 152);
    height: 70vh;
}
.link{
    margin: 20px 10px;
}
.link span{
    margin: 10px;
    font-size: 25px;
    font-weight: bold;
}
.link a{
    text-decoration: none;
    color: rgb(0, 0, 0);
    border: 2px solid rgb(0, 0, 0);
    border-radius: 5px;
    padding: 5px 10px;
}
.text{
    margin: 90px 30px;
    margin-right: 150px;
    max-width: 50%;
}
.txt1{
    font-size: 80px;
}
.txt2{
    font-size: 80px;
}
.txt3{
    font-size: 20px;
}
.photo{
    margin: 40px 30px;
    max-width: 50%;
}
.photo img{
    height: 300px;
    border-radius: 250px;
}
.main-sec{
    margin: 0px 30px;
}
.main{
    margin: 0px 10px;

}
.title{display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    font-size: 40px;
    margin: 20px 0px;
    color: white;
    font-family: 'Kanit', sans-serif;
}
.sec{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
    width: 100%;
    gap: 2%;
    border-radius: 10px;
}
.detail{
    min-height: 200px;
    height: 100%;
    background-color: white;
    border-radius: 10px;
    margin: 1% 0;
    box-shadow: rgb(81, 81, 81) 0px 2px 8px 0px;
    cursor: pointer;
}
.detail-pic{
    width: 100%;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
}
.write{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: fit-content;
}
.main{
    font-size: 20px;
}
.sub{
    font-size: 15px;
    color: gray;
    letter-spacing: 0.5;
    margin: 5px 10px;
}
.company{
    font-size: 15px;
    color: darkgreen;
    margin: 5px 10px;
}

.detail a{
    text-decoration: none;
}

.certify{
    margin: 0px 20px;
}
.parts{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(360px,1fr));
    width: 100%;
    gap: 2%;
    border-radius: 10px;
}
.section{
    display: flex;
    min-height: 100px;
    background-color: white;
    border-radius: 10px;
    margin: 1% 0;
    box-shadow: rgb(81, 81, 81) 0px 2px 8px 0px;
    cursor: pointer;
}
.image{
    margin: 25px 10px;
    width: 100px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
}
.detail-des{
    margin: 30px 0px;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: fit-content;
}

.main-txt{
    font-size: 22px;
}

.cer{
    color: darkgreen;
}

.parts a{
    text-decoration: none;
}

.bg{
    background: rgba(0,0,0,0.5) url(img/male-athlete-holding-medal.jpg);
    background-size: cover;
    background-blend-mode: darken;
}
.name{  
    color: white;
    background: url(bg-main.jpg);
    backdrop-filter: blur(80px);
    background-size: cover;
}