* {
    font-family: sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #34495e;
    font-family: sans-serif;
    background-image: url(img/image-25.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    height: 100%;
}

.sections {
    padding: 2rem 2rem;
}

.sidebar {
    top: 0;
    display: flex;
    position: fixed;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
    height: 100%;
    width: fit-content;
    font-family: raleway;
    background: #34495e;
    z-index: 1;
}

.item a {
    padding: 5px 10px;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
}

.item a:hover {
    background: #19242e;
}

.item a:active {
    background-color: #19242e;
}

.item {
    color: white;
    font-size: 20px;
    padding: 5px;
}

.inav {
    display: none;
}

@media screen and (max-width: 830px) {
    .tnav {
        display: none;
    }
    .inav {
        display: flex;
    }
}

.section {
    padding: 20px;
}

.container {
    border-radius: 10px;
    border: 1px solid;
    position: relative;
    display: block;
    margin: auto;
    width: 60%;
    height: 80%;
    background-color: rgba(255, 255, 255, 0.836);
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    z-index: 1;
}

.title {
    padding-top: 10px;
}

.prof-pict {
    width: 18%;
    border-radius: 5px;
}

hr {
    color: black;
    width: 20%;
}

.text {
    padding: 0 20px 0 15%;
    width: 80%;
    text-align: justify;
}

.edu {
    text-align: left;
    width: 80%;
    padding-left: 10%;
}

.edu p {
    text-align: justify;
}

.skills {
    text-align: right;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
}

.skill p {
    text-align: left;
    margin-left: 10%;
}

.skill-cont {
    width: 70%;
    margin-left: 10%;
    background-color: #ddd;
}

.eng {
    width: 80%;
    background-color: #34495e;
}

.html {
    width: 40%;
    background-color: #34495e;
}

.css {
    width: 38%;
    background-color: #34495e;
}

.word {
    width: 60%;
    background-color: #34495e;
}

.ps {
    width: 45%;
    background-color: #34495e;
}

.fil {
    width: 50%;
    background-color: #34495e;
}

.contain {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    position: relative;
    width: 350px;
    background: radial-gradient(#111 50%, #000 100%);
    overflow: hidden;
    cursor: pointer;
}

.card img {
    max-width: 100%;
    display: block;
    transform: scale(1.3);
    transition: 0.3s ease-out;
}

.card:hover img {
    transform: scale(1.1) translateY(-20px);
    opacity: 0.3;
}

.overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;

    padding: 15px;
    text-align: center;
    color: #fff;
}

.text-h4 {
    transform: translateY(30px);
    opacity: 0;
    transition: all .3s ease-out;
}

.text-p {
    transform: translateY(30px);
    opacity: 0;
    transition: all .3s ease-out 0.2s;
}

.link-a {
    display: inline-block;
    background: #34495e;
    text-decoration: none;
    color: #fff;
    padding: 5px 20px;
    border-radius: 5px;
    transform: translateY(30px);
    opacity: 0;
    transition: all .3s ease-out 0.4s;
}

.overlay .link-a:hover {
    background: #86a0b9;
}

.card:hover .overlay .text-h4 {
    opacity: 1;
    transform: translateY(0);
}

.card:hover .overlay .text-p {
    opacity: 1;
    transform: translateY(0);
}

.card:hover .overlay .link-a {
    opacity: 1;
    transform: translateY(0);
}

.ul-cont {
    list-style-type: none;
    display: inline-block;
    text-align: center;
    margin: auto;
    margin-right: 60px;
}

.li-cont {
    float: left;
}

.li-cont a {
    text-decoration: none;
    color: #34495e;
    display: block;
    padding: 16px 16px 16px 16px;
}

.li-cont a:hover {
    background-color: #86a0b9;
}