/* Styling for the website */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('pictures/BG.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: white;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background: url('pictures/groove.png') no-repeat right center;
    background-size: auto 100%;
    opacity: 0.2; /* 30% transparency for groove.png */
    z-index: -1;
    left: 0;
}

.logo {
    width: 500px;
    height: 500px;
    background: url('pictures/logo.svg') no-repeat center;
    background-size: contain;
    margin: auto 0;
}

.footer {
    display: flex;
    justify-content: space-between;
    width: 90%;
    flex-wrap: wrap;
    gap: 20px;
}

.column, .company-info {
    flex: 1;
    padding: 20px;
    display: flex;
    align-items: center;
    min-width: 300px;
}

.contact-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 20px;
}

.contact-details {
    flex: 1;
}

.laimutis-image {
    background: url('pictures/LJ.jpg') no-repeat center;
    background-size: cover;
}

.vykintas-image {
    background: url('pictures/VJ.jpg') no-repeat center;
    background-size: cover;
}

.company-info {
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Vertical Page: Laimutis / Vykintas / Company */
@media (max-width: 600px) {
    .column:first-child {
        order: 1;
    }
    .company-info {
        order: 3;
    }
    .column:last-child {
        order: 2;
    }
}

/* Square Page: 1st row: Laimutis / Vykintas; 2nd row: Company */
@media (min-width: 601px) and (max-width: 1024px) {
    .column:first-child {
        order: 1;
    }
    .company-info {
        order: 3;
    }
    .column:last-child {
        order: 2;
    }
}

/* Horizontal Page: Laimutis / Company / Vykintas */
@media (min-width: 1025px) {
    .column:first-child {
        order: 1;
    }
    .company-info {
        order: 2;
    }
    .column:last-child {
        order: 3;
    }
}
