@import './mainHeader.css';

.container{
    width:100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #eff1f4;
}

.achievement-container{
    background-image: url(../img/devops-agile-development-concept-virtual-screen-145584787.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 600px;
    width: 100%;
}
.title-achievement {
    margin-top: 140px;
    padding: 15px;
    font-size: 50px;
    font-weight: bold;
    letter-spacing: 2px;
    color: rgb(217, 255, 251);
    text-shadow: 0 4px 1px gray;
}


.title-achievement-programming,
.title-achievement-administration{
    width: 100%;
    border-bottom: 1px solid;
    padding-bottom: 5px;
    text-align: center;
}

.achievement-content{
    display: flex;
    flex-wrap: wrap;
    width: calc(100% - 2rem);
    align-items: center;
    justify-content:  center;
    margin-top: 30px;
    gap: 15px;
}
.achievement-programming,
.achievement-administration{
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 5px;
    gap: 20px;
}
.achievement-programming-items,
.achievement-administration-items{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 10px;
}
.achievement-programming-item{
    min-height: 200px;
    width: 270px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    border: 1px solid rgb(255, 255, 255);
    padding: 10px;
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
}
.achievement-administration-item{
    min-height: 200px;
    width: 270px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    overflow: auto;
    gap: 20px;
    border: 1px solid rgb(255, 255, 255);
    padding: 10px;
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
}
.achievement-programming-item img,
.achievement-administration-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.achievement-programming-item:hover .details-achievement,
.achievement-administration-item:hover .details-achievement{
    
}
.details-achievement{
    width: 270px;
    height: 270px;
    border-radius: 20px;
    background: rgb(27, 0, 84);
    color: #fff;
    position: relative;
    text-align: center;
    overflow: hidden;
    border: 5px solid black;
    transition: all 0.4s;
    scrollbar-width: none;
}
.synopsy{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
    gap: 5px;
}
.achievement-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s .35s;
}
.details-achievement:hover .achievement-img{
    transform: translateX(270px);
    transition-delay: 0s;
}
.details-achievement:hover{
    transform: scale(1.1);
}

.title-achievement-item{
    width: 100%;
    color: red;
    text-transform: uppercase;
    padding: 5px;
    background: #fff;
    margin-top: 25px;
} 
.achievement-description{
    color: #fff;
    padding: 10px;
    font-size: smaller;
}
.details-achievement-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(-250px);
    transition: transform .5s;
}
.code-source{
    width: 130px;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 5px 10px;
    transition: all 0.5s;
    color: #fff;
}
.code-source:hover{
    color: red;
    border: 1px solid red;
}
.details-achievement-link a{
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.5s;
    color: #fff;
}
.details-achievement-link a:hover{
    color: red;
}
.details-achievement:hover .details-achievement-link{
    transform: translateY(0)
}