header {
    background-image: url(../images/background.jpg);
    background-repeat: repeat;
    
    display: flex;
    justify-content: space-between;

    position: relative;
    left: 0;
    top: 0;
    width: 100%;
}

header nav {
    color: black;

    display: flex;
    justify-content: space-between;
    
    font-family: 'Courier New', Courier, monospace;
    font-size: medium;
}

#headerMain {
    background-color: white;
}

body {
    background-color: lightgray;

    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: medium;
}

#zostavyAPrislusenstvo, #siete, #toneryACartridge, #kancelarskaTechnika, #spotrebnaElektronika, #pocitacovaGrafika {
    text-align: center;
    align-content: center;
    border: 7px ridge #ee0810;
    border-radius: 20px;
    
    background-image: url(../images/background.jpg);
    background-repeat: repeat;
}

.decorativeBar {
    border: 6px dashed #7688A1;
    border-radius: 20px;
}

#zostavyAPrislusenstvo, #toneryACartridge, #spotrebnaElektronika {
    width: 75%;
    justify-content: left;
    margin-left: 0px;
    margin-right: auto;
}

#siete, #kancelarskaTechnika, #pocitacovaGrafika {
    width: 75%;
    justify-content: right;
    margin-left: auto;
    margin-right: 0px;
}

div {
    display: flex;
}

h1 {
    color: #ee0810;
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: black;
}

footer {
    background-image: url(../images/background.jpg);
    background-repeat: repeat;

    display: flex;
    justify-content: space-evenly;

    position: relative; 
    left: 0;
    bottom: 0;
    width: 100%;

    font-family: 'Courier New', Courier, monospace;
    font-size: medium;
}

footer address h3 {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: medium;
}

#socialneSiete {
    display: inline;
    justify-content: space-evenly;
    align-content: center;
}

#scrollToTheTopButton {
    position: fixed;
    right: 17px;
    bottom: 17px;
}

#cookiesLawMessage {
    position: fixed;
    left: 0px;
    bottom: 0px;
    width: 100%;
    
    font-family: monospace;
    font-size: x-large;
    text-align: center;

    color: white;
    background-color: #26282bd3;
}

#acceptCookiesButton {
    background-color: green;
    color: white;

    font-family: monospace;
    font-size: larger;
    padding: 5px;

    border: 2px solid white;
    border-radius: 5px;
}

#acceptCookiesButton:hover {
    background-color: rgb(0, 90, 0);
}

#rejectCookiesButton {
    background-color: red;
    color: white;

    font-family: monospace;
    font-size: larger;
    padding: 5px;

    border: 2px solid white;
    border-radius: 5px;
}

#rejectCookiesButton:hover {
    background-color: rgb(180, 0, 0);
}

/* responsive design */
@media screen and (max-width: 1050px) {
    #randomProduct1, #randomProduct2 {
        display: none;
    }

    header {
        display: flex;
        justify-content: center;
    }
}

@media screen and (max-width: 900px) {
    div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #zostavyAPrislusenstvo, #siete, #toneryACartridge, #kancelarskaTechnika, #spotrebnaElektronika, #pocitacovaGrafika {
        width: 98%;
    }

    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer h3 {
        text-align: center;
    }

    #cookiesLawMessage {
        font-size: larger;
    }

    #cookiesLawMessage button {
        font-size: large;
    }
}

@media screen and (max-width: 600px) {
    #randomProduct1, #randomProduct2 {
        display: none;
    }

    #centurioLogo {
        display: flex;
        width: 394px;
        height: 186px;
        margin-left: auto;
        margin-right: auto;
    }
    
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    header nav {
        display: block;
        font-size: small;
    }
}