* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    position: relative;
    width: 100%;
    height: 50%;
    object-fit: contain;
    overflow: hidden;
  }
  
  .logo video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 0;
  }

.container {
    height: 50%;
    width: 100%;
    padding: 10px 100px 0px 100px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    justify-items: center;
    gap: 40px;
    background-image: linear-gradient(#009efd, #ffffff);
}


.content1{
    background-image: linear-gradient( rgba(255,0,0,0), rgb(108, 120, 122)), url("./Images/ComputerRepairs.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: 1px 8px 5px rgb(182, 190, 194);
    display: flex;
    flex-direction: column;
    width: 90%;
    height: 90%;
    font-size: 30px;
    text-align: center;
    justify-content: center;
    align-items: center;
    justify-items: center;
    border-radius: 40px;
}

.content2{
    background-image: linear-gradient( rgba(255,0,0,0), rgb(108, 120, 122)), url("./Images/web-host.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: 1px 8px 5px rgb(182, 190, 194);
    display: flex;
    flex-direction: column;
    width: 90%;
    height: 90%;
    font-size: 30px;
    text-align: center;
    justify-content: center;
    align-items: center;
    justify-items: center;
    border-radius: 40px;
}

.content3{
    background-image: linear-gradient( rgba(255,0,0,0), rgb(108, 120, 122)), url("./Images/webdev.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: 1px 8px 5px rgb(182, 190, 194);
    display: flex;
    flex-direction: column;
    width: 90%;
    height: 90%;
    font-size: 30px;
    text-align: center;
    justify-content: center;
    align-items: center;
    justify-items: center;
    border-radius: 40px;
}

.content4{
    background-image: linear-gradient( rgba(255,0,0,0), rgb(108, 120, 122)), url("./Images/neworkcctv.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: 1px 8px 5px rgb(182, 190, 194);
    display: flex;
    flex-direction: column;
    width: 90%;
    height: 90%;
    font-size: 30px;
    text-align: center;
    justify-content: center;
    align-items: center;
    justify-items: center;
    border-radius: 40px;
}

.content5{
    background-image: linear-gradient( rgba(255,0,0,0), rgb(108, 120, 122)), url("./Images/wifi.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: 1px 8px 5px rgb(182, 190, 194);
    display: flex;
    flex-direction: column;
    width: 90%;
    height: 90%;
    font-size: 30px;
    text-align: center;
    justify-content: center;
    align-items: center;
    justify-items: center;
    border-radius: 40px;
}

.content_img{
    height: 40%;
}

p{
    color: white;
    font-weight: bold;
}

/* Tablets and smaller (max-width: 1024px) */
@media (max-width: 1024px) {
    html, body {
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .logo{
        background-image: url("./Background.png");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        width: 100%;
        height: 40%;
    }
    
    .container {
        width: 100%;
        padding: 10px 0px 0px 0px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
        justify-items: center;
        gap: 10px;
        background-image: linear-gradient(#009efd, #ffffff);
    }
    
    
    .content1{
        background-image: linear-gradient( rgba(255,0,0,0), rgb(108, 120, 122)), url("./Images/ComputerRepairs.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        box-shadow: 1px 8px 5px rgb(182, 190, 194);
        display: flex;
        flex-direction: column;
        width: 90%;
        height: 90%;
        font-size: 30px;
        text-align: center;
        justify-content: center;
        align-items: center;
        justify-items: center;
        border-radius: 40px;
    }
    
    .content2{
        background-image: linear-gradient( rgba(255,0,0,0), rgb(108, 120, 122)), url("./Images/web-host.jpeg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        box-shadow: 1px 8px 5px rgb(182, 190, 194);
        display: flex;
        flex-direction: column;
        width: 90%;
        height: 90%;
        font-size: 30px;
        text-align: center;
        justify-content: center;
        align-items: center;
        justify-items: center;
        border-radius: 40px;
    }
    
    .content3{
        background-image: linear-gradient( rgba(255,0,0,0), rgb(108, 120, 122)), url("./Images/webdev.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        box-shadow: 1px 8px 5px rgb(182, 190, 194);
        display: flex;
        flex-direction: column;
        width: 90%;
        height: 90%;
        font-size: 30px;
        text-align: center;
        justify-content: center;
        align-items: center;
        justify-items: center;
        border-radius: 40px;
    }
    
    .content4{
        background-image: linear-gradient( rgba(255,0,0,0), rgb(108, 120, 122)), url("./Images/neworkcctv.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        box-shadow: 1px 8px 5px rgb(182, 190, 194);
        display: flex;
        flex-direction: column;
        width: 90%;
        height: 90%;
        font-size: 30px;
        text-align: center;
        justify-content: center;
        align-items: center;
        justify-items: center;
        border-radius: 40px;
    }
    
    .content5{
        background-image: linear-gradient( rgba(255,0,0,0), rgb(108, 120, 122)), url("./Images/wifi.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        box-shadow: 1px 8px 5px rgb(182, 190, 194);
        display: flex;
        flex-direction: column;
        width: 90%;
        height: 90%;
        font-size: 30px;
        text-align: center;
        justify-content: center;
        align-items: center;
        justify-items: center;
        border-radius: 40px;
    }
    
    .content_img{
        height: 40%;
    }
    
    p{
        color: white;
        font-weight: bold;
    }
}


/* Mobile-friendly styling (max-width: 768px) */
@media (max-width: 768px) {
    html, body {
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .logo{
        background-image: url("./Background.png");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        width: 100%;
        height: 40%;
    }
    
    .container {
        width: 100%;
        padding: 10px 0px 0px 0px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        justify-items: center;
        gap: 10px;
        background-image: linear-gradient(#009efd, #ffffff);
    }
    
    
    .content1{
        background-image: linear-gradient( rgba(255,0,0,0), rgb(108, 120, 122)), url("./Images/ComputerRepairs.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        box-shadow: 1px 8px 5px rgb(182, 190, 194);
        display: flex;
        flex-direction: column;
        width: 90%;
        height: 90%;
        font-size: 30px;
        text-align: center;
        justify-content: center;
        align-items: center;
        justify-items: center;
        border-radius: 10px;
    }
    
    .content2{
        background-image: linear-gradient( rgba(255,0,0,0), rgb(108, 120, 122)), url("./Images/web-host.jpeg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        box-shadow: 1px 8px 5px rgb(182, 190, 194);
        display: flex;
        flex-direction: column;
        width: 90%;
        height: 90%;
        font-size: 30px;
        text-align: center;
        justify-content: center;
        align-items: center;
        justify-items: center;
        border-radius: 10px;
    }
    
    .content3{
        background-image: linear-gradient( rgba(255,0,0,0), rgb(108, 120, 122)), url("./Images/webdev.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        box-shadow: 1px 8px 5px rgb(182, 190, 194);
        display: flex;
        flex-direction: column;
        width: 90%;
        height: 90%;
        font-size: 30px;
        text-align: center;
        justify-content: center;
        align-items: center;
        justify-items: center;
        border-radius: 10px;
    }
    
    .content4{
        background-image: linear-gradient( rgba(255,0,0,0), rgb(108, 120, 122)), url("./Images/neworkcctv.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        box-shadow: 1px 8px 5px rgb(182, 190, 194);
        display: flex;
        flex-direction: column;
        width: 90%;
        height: 90%;
        font-size: 30px;
        text-align: center;
        justify-content: center;
        align-items: center;
        justify-items: center;
        border-radius: 10px;
    }
    
    .content5{
        background-image: linear-gradient( rgba(255,0,0,0), rgb(108, 120, 122)), url("./Images/wifi.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        box-shadow: 1px 8px 5px rgb(182, 190, 194);
        display: flex;
        flex-direction: column;
        width: 90%;
        height: 90%;
        font-size: 30px;
        text-align: center;
        justify-content: center;
        align-items: center;
        justify-items: center;
        border-radius: 10px;
    }
    
    .content_img{
        height: 40%;
    }
    
    p{
        color: white;
        font-size: 20px;
        font-weight: bold;
    }
}