@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: rgb(240, 240, 240);
    color: black;
    font-weight: 400;
}

.host-ctg-container h1,
.host-ctg-container h2,
.host-ctg-container h3,
.host-ctg-container h4,
.host-ctg-container h5 {
    font-weight: 300;
}

.host-ctg-container img {
    width: 100%;
    display: block;
}

.host-ctg-container a {
    text-decoration: none;
    color: white;
    background-color: rgb(247 247 247);
    transition: all 0.3s ease-in;
    box-shadow: 0 0 15px -5px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.host-ctg-container a:hover,
.host-ctg-container a:focus {
    box-shadow: 0 0 25px 10px rgba(0, 0, 0, 0.05);
}

.host-ctg-container {
    max-width: 1500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5rem auto;
}

.host-ctg-container .host-ctg {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.host-ctg-container .host-ctg .ctg-box {
    width: 350px;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1rem;
    border-radius: 20px;
    background-repeat: no-repeat;
    background-position: 0 60px;
    background-size: 100%;
    overflow: hidden;
}



.ctg-box h1 {
    width: 100%;
    height: 100%;
    color: black;
    font-weight: 600;
    font-size: 28px;
    line-height: 65px;
    text-align: center;
    transition: all 0.3s ease-in;
    position: relative;
    border-radius: 20px;
}

.ctg-box h1::before {
    content: "";
    width: 90%;
    height: 60px;
    position: absolute;
    top: 0;
    left: 5%;
    /* background-color: rgba(0, 0, 0, 0.08); */
    border-bottom: 2px solid black;
    transition: 0.3s all ease-in;
}



.wirtual-s {
    background-image: url(../images/Hosting.png);
}

.kolokasiya {
    background-image: url(../images/host-cat1.png);
}

.fiziki-s {
    background-image: url(../images/fiziki.png);
}

@media (max-width:1145px) {
    .host-ctg-container .host-ctg .ctg-box {
        width: 300px;
        height: 200px;
        background-position: 0 55px;
    }

    .ctg-box h1 {
        font-size: 22px;
        line-height: 50px;
    }

    .ctg-box h1::before {
        height: 50px;
    }
}

@media (max-width:999px) {
    .host-ctg-container .host-ctg .ctg-box {
        width: 225px;
        height: 170px;
        background-position: 0 55px;
    }

    .ctg-box h1 {
        font-size: 18px;
        line-height: 40px;
    }

    .ctg-box h1::before {
        height: 40px;
    }

    .host-ctg-container {
        margin: 3rem 0;
    }
}

@media (max-width:770px) {
    .host-ctg-container .host-ctg {
        flex-direction: column;
    }

    .host-ctg-container .host-ctg .ctg-box {
        width: 80%;
        height: clamp(180px, 40vh + 1rem, 300px);
        background-position: 0 75px;
        margin: 1rem 0;
    }

    .ctg-box h1 {
        font-size: 22px;
        line-height: 60px;
    }

    .ctg-box h1::before {
        height: 60px;
    }

    .host-ctg-container {
        margin: 2rem 0;
    }
}

@media (max-width:425px) {
    .host-ctg-container .host-ctg .ctg-box {
        width: 90%;
        height: 220px;
        margin: 1rem 0;
    }
}