@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    box-sizing: border-box;
    margin: 0;
}
body{
    background-color: #010326;
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.flexRow{
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
}
.flexColumn{
    display: flex;
    flex-direction: column;
}
.textAlignCenter{
    text-align: center;
}
nav{
    width: 90%;
    background-color: #141E59;
    margin: auto;
    border-radius: 0 0 10px 10px;
    position: sticky;
    top: 0px;
}
nav ul{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    padding-bottom: 0.5%;
}
nav ul li{
    list-style-type: none;
    background-color: #788ABF;
    width: 15%;
    text-align: center;
    padding-top: 1%;
    padding-bottom: 1%;
    border-radius: 0 0 5px 5px;
}
nav ul li a{
    color: #020659;
    text-decoration: none;
    font-size: 20px;
}
.recentWorkTxt{
    text-decoration: none;
    color: #020659;
}
nav ul li a img{
    width: 18px;
}
.presentation{
    margin: auto;
    width: 90%;
    background-color: #141E59;
    margin-top: 5%;
    border-radius: 5px;
    padding-top: 2.5%;
    padding-bottom: 2.5%;
}
.presentationSub{
    display: flex;
    justify-content: center;
    margin-bottom: 2.5%;
}
h2{
    border-radius: 0 0 5px 5px;
    color: #020659;
}
.presentation div p{
    color: #020659;
    padding: 5%;
}
.presentationText{
    background-color: #788ABF;
    margin-left: 10%;
    margin-right: 10%;
    font-size: larger;
    margin-top: 2.5%;
    border-radius: 5px; 
}
.myHr{
    width: 100%;
    height: 5px;
    background-color: #141E59;
    margin-top: 5%;
    margin-bottom: 5%;
    font-size: 5px;
    color: #141E59;
}
.myHr2{
    width: 100%;
    height: 5px;
    background-color: #141E59;
    font-size: 5px;
    color: #141E59;
}
h2{
    text-align: center;
    width: 50%;
    background-color: #788ABF;
}
.skillsLogo{
    display: flex;
    justify-content: space-evenly;
}
.skillsLogo img{
    height: 50px;
    margin-top: 5%;
    margin-bottom: 5%;
}
.block{
    background-color: #788abf;
    margin-left: 5%;
    margin-right: 5%;
    border-radius: 2.5px;
}
.repoImg{
    width: 100%;
    height: 120px;
    margin: 0 auto;
}
.repoImg:hover{
    transform: scale(1.2);
}
.textDecoration{
    text-decoration: none;
    color: #020659;
}
.recentWork{
    width: 120px;
    height: 120px;
    margin-top: 3%;
    margin-bottom: 3%;
    overflow: hidden;
    border: #020659 solid;
    border-radius: 5px;
}
.recentWork:hover{
    border: #020659 solid thick;
    box-shadow: 7px 3px 3px #141E59;
}
#recentWorkBlock{
    margin-bottom: 5%;
}
footer h4{
    color: #788ABF;
    text-align: center;
    padding-bottom: 5%;
}

@media screen and (max-width: 768px){
    nav{
        position: static;
    }
    nav ul{
        display: flex;
        flex-direction: column;
    }
    nav ul li {
        width: 90%;
        margin-top: 0.5%;
        margin-bottom: 0.5%;
    }
    .skillsLogo{
        display: flex;
        flex-direction: column;
    }
    .skillsLogo img{
        height: 25px;
        margin: 0 auto;
        margin-top: 5%;
        margin-bottom: 5%;
        width: 25%;
        height: 25%;
    }
    .allaanPicture{
        width: 40%;
        display: flex;
        margin: auto;
        border-radius: 50%;
    }
    .recentWork{
    margin-top: 3%;
    margin-bottom: 3%;
    margin: 0 auto;
    margin-top: 2%;
    }
    .RespWork{
        display: flex;
        flex-direction: column;
        margin: auto;
        padding-top: 5%;
        padding-bottom: 5%;
    }
}  