body{
    background-image: url(Assets/Scales.png);
    background-repeat: repeat;
    background-color: gray;
    overflow: hidden;
}

.boxer {
    position: fixed;
    top: 5.5vw;
}

.parent {
    position: relative;
}

.parents {
    position: relative;

}

.parentss {
    position: relative;
}

.gall{
    width: 100vw;
    max-width: 100vw;
    height: 14vw;
    margin: auto;
    border-radius: 30vw;
    padding: 10px;
    filter: brightness(25%);
    z-index: 1;
    transition: filter .9s;
}

.gall:hover{
    filter: brightness(70%);
    transition: filter 3s;
}

.overlay {
        
    position: absolute;
    z-index: 3;
    color: #eaeaea;
    left: 42.9vw;
    top: 25%;
    text-align: center;
    font-size: 5vw;
    font-family: 'Samsung Sans', sans-serif;
    white-space: pre-line;
    background-color: rgba(10, 10, 10, .6);
    border-radius: 30vw;
}

.overlays {
    position: absolute;
    z-index: 3;
    color: #eaeaea;
    left: 44vw;
    top: 25%;
    text-align: center;
    font-size: 5vw;
    font-family: 'Samsung Sans', sans-serif;
    white-space: pre-line;
    line-height: 4vw;
    background-color: rgba(10, 10, 10, .6);
    border-radius: 1vw;
}

.overlayss {
    position: absolute;
    z-index: 3;
    color: #eaeaea;
    left: 42vw;
    top: 25%;
    text-align: center;
    font-size: 5vw;
    font-family: 'Samsung Sans', sans-serif;
    white-space: pre-line;
    line-height: 4vw;
    background-color: rgba(10, 10, 10, .6);
    border-radius: 1vw;
}

footer {
    text-align: center;
    color: white;
    padding: .16%;
    position: fixed;
    bottom: 0%;
    right: 0;
    left: 0;
    z-index: 21;
    background-color: rgba(10, 10, 10, 10.8);
    transition: background-color 0.3s;
}

img {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
 }

.logo {
    position: fixed;
    float: inline-start;
    left: 20%;
    right: 20%;
    margin: auto;
    top: .5vw;
    height: 5vw;
    border-radius: 40px;
    background-color: #333333;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    float: right;
}

.logo:hover {
    background-color: #d822a2;
    transform: translateY(-2px);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 1s;
}

.btn-gray {
    font-family: Impact, fantasy, 'Arial Narrow Bold', sans-serif;
    font-weight: -1;
    float: inline-start;
    font-size: 1.2rem;
    margin: 10px;
    background-color: #333333;
    color: #333333;
    border-radius: 25px;
    position: relative;
    height: 3vw;
    width: 7vw;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.btn-gray:hover {
    background-color: #d822a2;
    transform: translateY(-2px);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.contacts {
    position: fixed;
    top: 7vw;
    right: 5vw;
    left: 5vw;
    bottom: 1vw;
}

@media (max-device-width: 900px) {

    .contacts {
        position: fixed;
        top: 33vw;
    }

    .gall{
        height: auto;
        max-height: 100vw;
        width: auto;
        max-width: 100vw;
        margin: auto;
        border-radius: 30px;
        padding: 10px;
        filter: brightness(25%);
        z-index: 1;
        transition: filter .9s;
    }
    
    .gall:hover{
        filter: brightness(70%);
        transition: filter 3s;
    }

    .boxer {
        position: fixed;
        left: 0vw;
    }

    .parent {
        position: absolute;
    }
    
    .parents {
        position: absolute;
        top: 33vw;
    }
    
    .parentss {
        position: absolute;
        top: 66vw;
    }

    .logo {
        position: fixed;
        width: 50vw;
        height: 10vw;
        background-color: #333333;
        transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    }

}