#works {
    width: 100%;
    height: 750px;
    background-attachment: fixed;
    background-image: url(../imgs/works__bg.webp);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

#works #works__bg {
    width: 100%;
    height: 750px;
    background-attachment: fixed;
    background-image: none;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.5);
}

#works__wrapper {
    display: flex;
    align-items: start;
    justify-content: center;
    padding-top: 80px;
}

#works__wrapper #img img {
    width: 460px;
    height: 466px;
    object-fit: cover;
    border-radius: 10px;
}

#works__wrapper #info {
    margin-left: 100px;
}

#works__wrapper #info h3 {
    color: rgba(255, 255, 255, 1);
    font-size: 32px;
    font-weight: 800;
    line-height: 125%;
    font-style: normal;
    margin-bottom: 32px;
}

#works__wrapper #info #boxs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

#boxs #box {
    background-attachment: scroll;
    background-color: rgba(255, 255, 255, 1);
    padding: 29px;
    margin-bottom: 32px;
    border-radius: 8px;
    border-color: rgba(68, 68, 68, 1);
    border-style: solid;
    border-width: 0px;
}

#boxs #box span {
    color: rgba(0, 188, 194, 1);
    font-size: 40px;
    font-weight: 800;
    line-height: 125%;
    font-style: normal;
    margin-bottom: 14px;
}

#boxs #box h4 {
    color: rgba(0, 0, 0, 1);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    line-height: 150%;
    font-style: normal;
}

#boxs #box p {
    color: rgba(147, 147, 147, 1);
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    font-style: normal;
    width: 230px;
}

#works__wrapper #info a {
    border-radius: 74px;
    border-color: rgba(255, 255, 255, 1);
    border-style: solid;
    border-width: 0px;
    color: rgba(255, 255, 255, 1);
    font-size: 18px;
    text-align: center;
    font-weight: 500;
    text-decoration: none;
    line-height: 100%;
    font-style: normal;
    display: inline-block;
    padding: 24px 32px;
    margin: 5px 8px 16px 8px;
    background: rgba(31, 80, 161, 1);
    background: linear-gradient(0deg, rgba(31, 80, 161, 1), rgba(0, 188, 194, 1));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='rgba(31,80,161,1)', endColorstr='rgba(0,188,194,1)', GradientType=0);
    background-attachment: scroll;
    background-position: 0% 0%;
    background-repeat: no-repeat;
    box-shadow: 0 0 0 0 rgba(31, 80, 161, 1);
}

#works__wrapper #info a:hover {
    border-color: rgb(255, 255, 255);
    border-style: solid;
    border-width: 0px;
    color: rgb(255, 255, 255);
    background: rgb(51, 100, 181);
    background: linear-gradient(0deg, rgb(51, 100, 181), rgb(20, 208, 214));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='rgb(51, 100, 181)', endColorstr='rgb(20, 208, 214)', GradientType=0);
    box-shadow: 0 0 0 0 rgb(51, 100, 181);
}

@media (min-width: 769px) and (max-width: 1024px) {
    #works {
        height: 1150px
    }

    #works #works__bg {
        height: 1150px;
    }

    #works__wrapper {
        padding-top: 30px;
    }

    #works__wrapper #img img {
        width: 400px;
        height: 356px;
        object-fit: cover;
    }

    #works__wrapper #info {
        margin-left: 30px;
    }

    #works__wrapper #info #box {
        width: 432px;
        height: 185px;
    }

    #works__wrapper #info .box p {
        margin-top: 10px;
        width: 310px;
    }
}

@media (min-width: 429px) and (max-width: 768px) {
    #works {
        height: 1806px;
        position: relative;
    }

    #works #works__bg {
        height: 1806px;
    }

    #works__wrapper {
        align-items: center;
        flex-direction: column;
        padding-top: 100px;
    }

    #works__wrapper #img {
        position: absolute;
        top: 1130px;
    }

    #works__wrapper #img img {
        width: 576px;
        height: 576px;
    }

    #works__wrapper #info {
        margin-left: 0;
    }

    #works__wrapper #info #boxs {
        flex-direction: column;
    }

    #works__wrapper #info #boxs #box {
        width: 576px;
        height: 181px;
        margin-bottom: 27px;
    }
}

@media (min-width: 0) and (max-width: 428px) {
    #works {
        height: 1500px;
        position: relative;
    }

    #works #works__bg {
        height: 1500px;
    }

    #works__wrapper {
        flex-direction: column;
    }

    #works__wrapper #img {
        position: absolute;
        top: 1180px;
    }

    #works__wrapper #img img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    #works__wrapper #info {
        margin-left: 0;
    }

    #works__wrapper #info h3 {
        font-size: 24px;
    }

    #works__wrapper #info #boxs #box {
        margin-bottom: 15px;
        width: 100%;
    }

    #works__wrapper #info a {
        width: 100%;
    }
}