@media (max-width:992px) {
    .banner {
        padding: 0;
        gap: 3em;
    }
}

@media (max-width:883px) {
    .banner img {
        width: 350px;
        height: 300px;
    }

    .achievement_box {
        width: 240px;
        height: 250px;
    }

    .achievement .achievement_box img {
        width: 240px;
        height: 250px;
    }

    .achievement_layer {
        width: 240px;
        height: 250px;
    }

    .achievement_layer p {
        width: 220px;
    }

    .achievement .achievement_box:hover .achievement_layer {
        transform: translateY(-250px);
    }
.container > div:nth-child(4){
    gap: 10px;
}

}

@media (max-width:788px) {
    .banner {
        gap: 0;
    }

    .banner>span:nth-child(2) h1 {
        font-size: 2.5em;
    }

    .biography {
        width: 90%;
    }

    .achievement_box {
        width: 280px;
        height: 300px;
    }

    .achievement_container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .achievement .achievement_box img {
        width: 300px;
        height: 300px;
    }

    .achievement_layer {
        width: 300px;
        height: 300px;
    }

    .achievement_layer p {
        width: 250px;
    }

    .achievement .achievement_box:hover .achievement_layer {
        transform: translateY(-260px);
    }

    .achievement>div:nth-child(3) {
        justify-content: center;
    }
    .container > div:nth-child(4) p{
        width: 15em;
        font-size: 1.2em;
    }
}

@media (max-width:683px) {
    .banner img {
        width: 500px;
        height: 400px;
    }

    .banner {
        flex-direction: column;
    }

    .banner>span:nth-child(2) a {
        width: 100%;
    }
    .container > div:nth-child(4){
        gap: 30px;
    }
    .container > div:nth-child(4) p{
        width: 12em;
        font-size: 1.1em;
    }
    .container > div:nth-child(4) img{
        width: 250px;
        height: 300px;
        border-radius: 10px;
    }
}

@media (max-width:513px) {
    .banner img {
        width: 380px;
        height: 300px;
    }
    .container > div:nth-child(4){
        flex-direction: column-reverse;
        gap: 0;
        position: relative;
    }
    .container > div:nth-child(4) img{
        width: 350px;
        height: 400px;
        border-radius: 0;
    }
    .container > div:nth-child(4) p{
        width: 350px;
        position: absolute;
        top: 0;
        height: 400px;
        display: flex;
        align-items: center;
        padding: 1em 2em;
        font-size: 1.5em;
        font-weight: bold;
        background: linear-gradient(to top, black, transparent);
    }
    .footer i {
        padding: 5px;
        border-radius: 50%;
        border: 2px solid white;
        color: white;
        font-size: 1.5em;
    }
}

@media (max-width:450px) {
    .biography{
        padding: 2em 1em;
    }
    .achievement>h1 {
        text-align: center;
        padding: 0;
        width: 100%;
    }

    .achievement_box {
        width: 240px;
        height: 250px;
    }

    .achievement .achievement_box img {
        width: 240px;
        height: 250px;
    }

    .achievement_layer {
        width: 240px;
        height: 250px;
    }

    .achievement_layer p {
        width: 220px;
    }

    .achievement .achievement_box:hover .achievement_layer {
        transform: translateY(-250px);
    }

}

@media (max-width:390px) {
    .banner img {
        width: 350px;
        height: 290px;
    }

}