/* Base styles for all screen sizes */
body {
    color: white;
    font-family: 'Roboto', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom right, #06192e, #3170b8) no-repeat;
    margin: 0;
    position: relative;
}

main {
    z-index: 100;
}

main h1 {
    text-align: center;
    font-size: 3em;
    margin-bottom: 50px;
}

main h2 {
    text-align: center;
    font-size: 40px;
}

.brands {
    display: flex;
    flex-direction: column; /* Change to column for mobile view */
    gap: 50px;
    justify-content: space-between;
    align-items: center;
}

.brand-box {
    border-radius: 25px;
    width: 200px;
    height: 100px;
    padding: 10px;
    background: rgba(6, 25, 46, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1s ease, background-color 0.5s ease; 
}

.brand-box:hover {
    transform: scale(1.1); 
    background: #ffffff;
}

.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 50px;
}

.header-logo img {
    width: 300px;
}

.brand-box img {
    width: 70%;
    filter: brightness(0) invert(1);
    transition: filter 1s ease; 
}

.brand-box:hover img {
    filter: none;
}

.brand-box:hover img, .brand-box:hover {
    transition: all 0.5s ease; 
    background: #ffffff; 
    filter: brightness(1) invert(0);
}

.website-image {
    position: absolute;
    height: 100%; 
    opacity: 0.3;
}

.left {
    left: -50%;
}

.right {
    right: 50%;
}

.canvas {
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 40%;
}


@media screen and (min-width: 600px) {
    .brands {
        flex-direction: row;
    }
    main h1 {
        text-align: center;
        font-size: 4.5em;
        margin-bottom: 50px;
    }

    .header-logo img {
        width: 500px;
    }
}
