@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Oswald:wght@200..700&display=swap');

body {
    padding: 0px;
    margin: 0px;
}

header {
    width: 100%;
    text-align: center;
    padding: 10px 0px;
    font-family: "Oswald", sans-serif;

    background-color: #e0bcad;
    color: white;
}

header h1 {
    margin: 0px;
    text-transform: uppercase;
    font-weight: normal;
}


/* befores and after*/
nav {
    text-align: center;
    width: 100%;
    background-color: #A1887D;
    padding: 5px 0px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0px 7.5px;
    font-size: 12pt;
}

nav a::before,
nav a::after {
    content: "";
    position: relative;
    height: 12pt;
    width: 2px;
    background: white;
    display: inline-block;
    transition: all 0.5s;
    opacity: 0;
    bottom: -2px;
}
nav a::before {
    right: 6px;
}

nav a:hover::before {
    right: 3px;
    opacity: 1;
}

nav a::after {
    left: 6px;
}

nav a:hover::after {
    left: 3px;
    opacity: 1;
}

footer {
    position: fixed;
    bottom: 0px;
    width: 100%;
    background-color: #614133;
    color: white;
}

footer p {
    margin-left: 15px;
}

h2,
h3,
h4,
p,
span,
a,
li {
    font-family: "Inter", sans-serif;
}

section h2 {
    max-width: 85%;
    color: #618B86;
    margin: 0.75em auto;
    font-variant: small-caps;
    text-align: center;
}

section p {
    max-width: 85%;
    margin: auto;
}

section {
    overflow: auto;
    padding-bottom: 65px;
}

section a {
    color: #618B86;
}

section img {
    width: 85%;
    padding: 10px 7.5%;
    margin: 10px 0px;

    border-color: #ade0d98c;
    border-width: 2px;

    border-bottom-style: dashed;
    border-top-style: dashed;
}

@media (min-width: 720px) {
    section img {
        width: 85%
    }

    header h1 {
        margin-left: 15px;
        text-align: left;
    }

    section h2 {
        text-align: left;
        text-indent: 15pt;
    }

    section {
        width: 75%;
        margin: auto;
    }
}

@media (min-width: 1024px) {

    section {
        width: 720px;
        background-color: white;
        box-shadow: #0000006c 2px 2px 35px;
    }

    body {
        background-image: url("slike/background.png"), linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 1));
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 80vh;
    }


    nav {
        text-align: right;
    }
}