@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Edu+AU+VIC+WA+NT+Hand:wght@400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playpen+Sans:wght@100..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
    margin: 0;
    font-family: 'Comfortaa', Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

img {
    width: 100%;
    max-width: max-content;
}

header {
    padding: 10px 8%;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgb(15, 151, 175);
    background-image: linear-gradient(to bottom, rgb(15, 151, 175), rgb(6, 122, 189));
}

header a {
    text-decoration: none;
    color: white;
    border-bottom: 2px solid rgba(255, 255, 255, 0);
    transition: 0.6s;
    padding: 10px;
}

header a:hover{
    transition: 0.6s;
    border-bottom: 2px solid white;
}

main {
    padding-top: 50px;
}

header img {
    position: relative;
    bottom: -50px;
}

section {
    padding: 15px 7%;
    display: flex;
    flex-direction: column;
}

div {
    flex: 1;
}

article {
    flex: 1;
    text-align: justify;
    margin: 15px;
}

section.barvicka {
    background-color: rgb(6, 122, 189);
    color: white;
    background-image: linear-gradient(to bottom, rgb(15, 151, 175), rgb(6, 122, 189));
}

@media(min-width:860px) {
    section {
        flex-direction: row;
    }

    #qw {
        flex: 2;
    }

    #er {
        flex: 1;
    }

    #tz {
        flex: 1;
        order: 2;
    }

    #ui {
        flex: 2;
        order: 1;
    }

    #op {
        flex: 2;
    }

    #asdf {
        flex: 1;
    }
}

@media(max-width:860px){
    #btnom{
        display: none;
    }
}

.button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgb(20, 20, 20);
    border: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 0px 4px rgba(180, 160, 255, 0.253);
    cursor: pointer;
    transition-duration: 0.3s;
    overflow: hidden;
    position: fixed;
    bottom: 30px;
    right: 30px;
}

.svgIcon {
    width: 12px;
    transition-duration: 0.3s;
}

.svgIcon path {
    fill: white;
}

.button:hover {
    width: 140px;
    border-radius: 50px;
    transition-duration: 0.3s;
    background-color: rgb(181, 160, 255);
    align-items: center;
}

.button:hover .svgIcon {
    /* width: 20px; */
    transition-duration: 0.3s;
    transform: translateY(-200%);
}

.button::before {
    position: absolute;
    bottom: -20px;
    content: "Back to Top";
    color: white;
    /* transition-duration: .3s; */
    font-size: 0px;
}

.button:hover::before {
    font-size: 13px;
    opacity: 1;
    bottom: unset;
    /* transform: translateY(-30px); */
    transition-duration: 0.3s;
}