@font-face {
    font-family: b;
    src: url(font/TCB.TTF);
}

#bg1 {
    color: white;
    height: 650px;
    background-image: url('Section-fence.jpeg');
    background-size: 100%;
    background-attachment: scroll;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
#bg1-resin {
    color: white;
    height: 650px;
    background-image: url('bgimg/bg7.jpg');
    background-size: 100%;
    background-attachment: scroll;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
#mass{
    display: grid;
    align-items: center;
    justify-content: center;
    row-gap: 7%;
}
.box-uniq {
    margin-top: 10%;
    padding: 2% 10% 2% 10%;
    background: linear-gradient(to bottom, #0f273ef1, #0f273eaf);
    filter: blur(50%);
    text-align: center;
    border: none;
    border-radius: 30px;
    box-shadow: rgb(0, 0, 0) 0px 22px 70px 4px;
}

#bul {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 35px;
    font-size: 25px;
    font-family: b;
}

#ser1 {
    background-color: #0B82C3;
    margin-top: -3%;
    margin-bottom: 6%;
    width: 70%;
    height: fit-content;
    overflow: hidden;
    border: 3px solid white;
    border-radius: 20px;
    box-shadow: rgb(0, 0, 0) 0px 22px 70px 4px;
    padding: 2% 2% 2% 2%;
    text-align: center;
    font-size: 30px;
    color: white;
    font-family: b;
    font-style: italic;
    height: fit-content;
}

#service {
    margin-top: -3%;
    box-shadow: rgb(0, 0, 0) 0px 22px 70px 4px;
    width: 90%;
    background-color: #163557;
    border: none;
    border-radius: 58px;
    z-index: 1;
    padding: 0 5% 17% 5%;
}
@supports (-webkit-backdrop-filter: none) and (not (backdrop-filter: none)) {
  #rew2 {
    margin-bottom: 50%;
  }
}
#rew1 p {
    font-size: 25px;
    text-align: left;
    color: white;
    font-family: b;
}

#rew2 h1 {
    font-size: 70px;
    font-family: b;
    text-align: center;
    color: white;
}

#images {
    margin-top: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#images img {
    border: 10px solid #0B82C3;
    height: 300px;
    width: 300px;
    cursor: pointer;
    transition: 1s;
    box-shadow: rgb(0, 0, 0) 0px 22px 35px 4px;
}
#images img:hover{
    transform: scale(1.15);
}

#icc {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-container {
    width: fit-content;
    height: fit-content;
    overflow: hidden;
    position: relative;
}

.slider-content {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    padding-top: 2%;
    padding-bottom: 2%;
}

.slider-arrow {
    display: none;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 46%;
    font-weight: 600;
    color: #163557;
    background:white;
    font-size: 90px;
    cursor: pointer;
    z-index: 1;
    transition: .7s;
    padding-bottom: 1%;
    box-shadow: rgb(0, 0, 0) 0px 22px 35px 4px;
    transform: rotateY(330deg);
}
.slider-arrow:hover{
    z-index: unset;
    box-shadow: unset;
    transform: rotateY(360deg);
}

.slider-arrow.left {
    left: 5%;
    border-right: 5px solid #163557;
    border-radius: 0 150px 150px 0;
    width: 100px;
    height: 17%;
    display: none;
}

.slider-arrow.right {
    right: 5%;
    border-left: 5px solid #163557;
    border-radius: 150px 0 0 150px;
    width: 100px;
    height: 17%;
    display: none;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background-color: #0B82C3;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.slider-dot.active {
    background-color: #fff;
}

#member {
    color: white;
    text-align: center;
    background-color: #EE0707;
    width: fit-content;
    margin-top: 10%;
    margin-bottom: -23%;
    padding: 2% 5% 2% 5%;
    border-radius: 35px 35px 0 0;
    box-shadow: rgb(0, 0, 0) 0px 22px 70px 4px;
}

#member h1 {
    font-size: 50px;
    font-weight: 700;
    font-family: b;
    border-bottom: 5px solid #163557;
}

#icons {
    height: fit-content;
    width: 100%;
    background-color: #c2c2c2;
    border: none;
    border-radius: 60px 60px 0 0;
    padding: 15% 20% 10% 20%;
    z-index: -1;
    position: relative;
    margin-top: -5%;
}

.ic {
    display: flex;
    align-items: center;
    justify-content: center;
    height: fit-content;
    width: fit-content;
}
.ic img{
    height: 7vw;
    width: auto;
    margin-bottom: 5%;
}
.slide-in-top {
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    will-change: opacity, transform;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    will-change: opacity, transform;
}
.slide-in-right {
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    will-change: opacity, transform;
}

.slide-in-animation {
    opacity: 1;
    transform: translateX(0) translateY(0);
}
@media screen and (max-width:1200px) {
    #images img {
        height: 250px;
        width: 250px;
    }
    .slider-arrow{
        top: 37%;
    }
}
@media screen and (max-width:1160px) {
    #service{
        margin-top: -13%;
    }
}
@media screen and (max-width:1100px) {
    #images img {
        height: 200px;
        width: 200px;
    }
}
@media screen and (max-width:992px) {
    #images img{
        margin-bottom: 3%;
    }
}
@media screen and (max-width:950px) {
    #service{
        margin-top: -25%;
    }
}
@media screen and (max-width:840px) {
    #service{
        margin-top: -35%;
    }
    #ser1{
        margin-bottom: 10%;
    }
}
@media screen and (max-width:740px) {
    #rew2 h1 {
        font-size: 60px;
    }
    #head{
        font-size: 25px;
    }
    #bul{
        font-size: 15px;
    }
    #service{
        margin-top: -45%;
    }
    #ser1{
        font-size: 25px;
    }
    #rew1 p{
        font-size: 15px;
    }
}
@media screen and (max-width:696px) {
    #member h1{
        font-size: 45px;
    }
    .slider-arrow{
        font-size: 30px;
    }
    .slider-arrow.left{
        width: 8%;
    }
    .slider-arrow.right{
        width: 8%;
    }
}
@media screen and (max-width:660px) {
    #service{
        margin-top: -55%;
    }
    #rew2 h1 {
        font-size: 55px;
    }
}
@media screen and (max-width:626px) {
    #member h1{
        font-size: 40px;
    }
}
@media screen and (max-width:576px) {
    #service{
        margin-top: -65%;
    }
    #rew2 h1 {
        font-size: 50px;
    }
}
@media screen and (max-width:557px) {
    #member h1{
        font-size: 35px;
    }
    .slider-arrow{
        font-size: 35px;
    }
    .slider-arrow.left{
        width: 10%;
    }
    .slider-arrow.right{
        width: 10%;
    }
}
@media screen and (max-width:506px) {
    #service{
        margin-top: -75%;
    }
    #head{
        font-size: 23px;
    }
    #bul{
        font-size: 13px;
    }
    #ser1{
        font-size: 20px;
        padding: 3% 3% 3% 3%;
    }
    #rew1 p{
        font-size: 13px;
    }
    #rew2 h1 {
        font-size: 45px;
    }
}
@media screen and (max-width:487px) {
    #member h1{
        font-size: 30px;
    }
}
@media screen and (max-width:470px) {
    #service{
        margin-top: -85%;
    }
    #head{
        font-size: 21px;
    }
    #bul{
        font-size: 11px;
    }
    #rew1 p{
        font-size: 11px;
    }
    #rew2 h1 {
        font-size: 40px;
    }
}
@media screen and (max-width:437px) {
    #service{
        margin-top: -95%;
    }
}

@media screen and (max-width:417px) {
    #member h1{
        font-size: 25px;
    }
    .slider-dot {
        width: 5px;
        height: 5px;
    }
}
@media screen and (max-width:397px) {
    #service{
        margin-top: -105%;
    }
    #head{
        font-size: 18px;
    }
    #bul{
        font-size: 9px;
    }
}
@media screen and (max-width:376px) {
    #service{
        margin-top: -110%;
    }
    #head{
        font-size: 15px;
    }
    #bul{
        font-size: 8px;
    }
}
