@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;700&display=swap');
:root {
    --primaryColor: rgb(2, 190, 206);
    --secondaryColor: rgb(43, 51, 61);
    --textColor: rgb(30, 51, 61);
    --white: #fff;
    --font: 'Source Sans Pro', sans-serif;
    --fontSize: 16px;
    --transition: .3s ease;
    --textShadow: 0 0 3px var(--textColor);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--font);
    font-size: var(--fontSize);
    background-image: url(../img/bg.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}
button,
input[type="submit"] {
    border: 2px solid var(--white);
    background: transparent;
    padding: 15px 30px;
    color: var(--white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 30px;
    border-radius: 5px;
    
}
button:hover {
    background: rgba(255,255,255,.1);
    cursor: pointer;
    transition: var(--transition);
}
.py {
    padding: 70px 0;
}
.container {
    width: 70%;
    margin: auto;
}
/****************
main
****************/
main {
    width: 80%;
    background: var(--white);
    margin: 100px auto;
}
/****** header ******/
header {
    background-image: url(../img/reglaza1.jpg);
    height: 70vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
header hgroup {
    background: linear-gradient(45deg, rgba(30, 51, 61, .7),rgba(2, 190, 206,.7)); 
    text-align: center;
    padding: 50px;
    border-radius: 20px;
    color: var(--white);
}
header h1 {
    font-size: 3rem;
    font-weight: 300;
}
header span {
    font-weight: 700;
}
/****** novosti ******/
.novosti {
    background: var(--primaryColor);
    position: fixed;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 100%;
    padding: 10px;
    display: none;
}
/****** uvod ******/
.uvod {
    text-align: center;
}
.uvod h2 {
    font-size: 3rem;
    color: var(--primaryColor);
    text-shadow: var(--textShadow);
}
/****** odmor ******/
.odmor {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
}
.odmor article {
    flex: 1;
}
.odmor article:first-child {
    background: var(--primaryColor);
    padding: 70px;
}
.odmor article:last-child {
    background-image: url(../img/reglaza11.jpg);
    background-position: center;
    background-size: cover;
}
.odmor h2 {
    color: var(--white);
    text-shadow: var(--textShadow);
    margin-bottom: 20px;
}
/****** slider ******/
.slider {
    text-align: center;
}
.slider h2 {
    font-size: 2rem;
    color: var(--primaryColor);
    
}
.slider p {
    margin-bottom: 30px;
    font-size: 1.5rem;
}
.slider .item {
    width: 95%;
}
/****** prijava ******/
.prijava {
    background: linear-gradient(45deg, rgba(30, 51, 61, .7),rgba(2, 190, 206,.7));
    text-align: center;
}
.prijava h2 {
    text-shadow: var(--textShadow);
    color: var(--white);
    font-size: 3rem;
}

.prijava p {
    text-shadow: var(--textShadow);
    color: var(--white);
    font-size: 1.5rem;
}

input[type="email"] {
    width: 30%;
    border: 2px solid var(--white);
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1rem;
    background: transparent;
}
/****************
responsive
****************/
@media(max-width: 768px) {
    main {
        width: 90%;
        margin: 30px auto;
    }
    header h1 {
        font-size: 2rem;
    }
    .uvod h2 {
        font-size: 2.5rem;
    }
    .odmor article {
        flex: 0 0 100%;
    }
    .odmor article:first-child {
        background: var(--primaryColor);
        padding: 30px;
    }
    .slider h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .slider p {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .prijava h2 {
        font-size: 2rem;
    }
    .prijava iframe {
        width: 100%;
    }
    .py {
        padding: 30px 0;
    }
    .prijava {
        padding: 30px;
    }
    .odmor article:last-child {
        height: 50vh;
    }
    header {
        padding: 20px;
    }
    header hgroup {
        padding: 20px;
    }
}



