* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body {
    display: grid;
    place-items: center;
    background-size: cover;
} */

.bg-menu {
    background-color: rgb(1, 1, 94);
}

.bg-network {
    background-image:  url('bg.jpg');
    background-size: cover;
    /* object-fit: fill; */
}
.bgm-network{
    background-image: url('bgm.jpg');
    background-size: cover;
    background-position: center;
}

.wrap {
    position: relative;
    text-align: center;
    height: 85vh;
    width: 100%;
}

.box {
    height: 220px;
    width: 220px;
}
.box-m{
    min-height: 260px;
    width: 100%;
    /* border:1px solid red; */
    padding: 15px;
}

.x-box {
    /* background-color: blueviolet; */
    height: 220px;
    width: 225px;
}

.y-box {
    /* background-color: rgb(46, 43, 226); */
    height: 180px;
    width: 190px;
}

.z-box {
    /* background-color: rgb(248, 37, 10); */
    height: 170px;
    width: 170px;
}

.x-top-left {
    position: absolute;
    top: 4%;
    left: 0%;
}

.y-top-left {
    position: absolute;
    top: 0%;
    left: 40%;
}

.z-top-left {
    position: absolute;
    top: 0%;
    left: 58%;
}

.w-botton-left {
    position: absolute;
    bottom: 3%;
    left: 6%;
}

/* Centered text */
.box-centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.box-centered .box-circle {
    border-radius: 50%;
    background: transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(60deg, #00f, #00e8ff) border-box;
    border: 3px solid transparent;
}

.box .box-m-circle {
    border-radius: 50%;
    background: transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(60deg, #00f, #00e8ff) border-box;
    border: 3px solid transparent;
    position: absolute;
}

/* ./center */

.x-top-right {
    position: absolute;
    top: 3%;
    right: 0%;
}

.y-botton-right {
    position: absolute;
    bottom: 0%;
    right: 8%;
}

.z-botton-right {
    position: absolute;
    bottom: 4%;
    right: 45%;
}

@keyframes spin {
    from { transform: rotate(0deg); } 
    to { transform: rotate(360deg); }
  }

/* ================ Line =================== */
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .gallery-small{
        width: 180px;
        height: 140px;
    }
    .bgm-network{
        background-size: cover;
        height: 100%;
    }
    .img-padding{
        padding: 2rem;
        padding-top: 0;
        padding-bottom: 0;
    }
    .box-m{
        min-height: 200px;
        width: 100%;
        padding: 0px;
        padding-top: 25px;
        /* border: 1px solid red; */
    }
    .m-center{
        padding-top: 7rem;
        padding-left: 4rem;
        /* border: 1px solid red; */
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .img-padding{
        padding: 3.7rem;
        padding-top: 0;
        padding-bottom: 0;        
    }
    .bgm-network{
        background-size: cover;
        height: 100%;
    }
    .box-m{
        min-height: 300px;
        width: 100%;
        padding: 25px;
        padding-top: 15px;
    }
    .m-center{
        padding-top: 3rem;
        padding-left: 4rem;
        min-height: 300px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .img-padding{
        padding: 3.5rem;
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .img-padding{
        padding: 1rem;
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .img-padding{
        padding: 1.5rem;
        padding-top: 0;
        padding-bottom: 0;
    }
    
}