@font-face {
    font-family: 'Montserrat-Black';
    src: url(fonts/Montserrat-Black.ttf);

}

@font-face {
    font-family: 'Montserrat-Light Italic';
    src: url(fonts/Montserrat-LightItalic.ttf);

}

@font-face {
    font-family: 'Montserrat-Light';
    src: url(fonts/Montserrat-Light.ttf);

}

@font-face {
    font-family: 'Montserrat-BoldItalic';
    src: url(fonts/Montserrat-BoldItalic.ttf);

}

@font-face {
    font-family: 'Montserrat-Semi Bold';
    src: url(fonts/Montserrat-SemiBold.ttf);

}

@font-face {
    font-family: 'Montserrat-Regular';
    src: url(fonts/Montserrat-Regular.ttf);

}

h1 {
    line-height: 0.8em;
}

body {
    /*background-color: #1f2c5d;*/
}

html {
    overflow-y: scroll;
    overflow-x: hidden;
}

.desktop-view {
    display: inline-block;
}

header {
    background: linear-gradient(to right, #ffffff, #1e386e);
    margin: -10px;
    padding: 10px;
    border-bottom: solid #ea4244;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

img {
    width: 200px;
    height: 73px;
    padding-left: 10%;
    color: white;

}

nav {
    float: right;
    margin-right: 10%;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
    margin-left: 20px;
}

nav li:first-child {
    margin-left: 0;
}

a {
    text-decoration: none;
    font-size: 16px;
    color: #fff;
    font-family: 'Montserrat-Light';
}

a:link, a:visited, a:active {
    color: white;
}

a:hover {
    color: red;
}

h1 {
    font-family: 'Montserrat-Black';
    color: #a00002;
}

h3 {
    font-family: 'Montserrat-BoldItalic', serif;
    color: white;

}

#textP {
    font-family: 'Montserrat-Regular';
    color: white;
}

label {
    font-family: 'Montserrat-Regular';
}

@media only screen and (max-width: 600px) {
    img {
        width: 100px;
        height: 36px;
        padding-left: 5%;
    }

    a {
        font-size: 12px;
    }

    h1 {
        font-size: 40px;
        padding-left: 5%;
    }

    h3 {
        padding-left: 5%;
        margin-top: -20px;
        font-size: medium;
    }

    #textP {
        margin-left: 5%;
        margin-top: 30%;
        margin-right: 5%;
        font-size: 14px;
    }

    body {
        /*background-color: #1f2c5d;*/
        background-position: center;
        /*background-position-y: 40px;*/

    }
}

@media only screen and (min-width: 601px) {
    .card {
        padding: 3%;
    }
    h1 {
        font-size: 45px;
        padding-left: 3%;
        margin-top: 7%;
    }

    h3 {
        padding-left: 10%;
        margin-top: -30px;
        font-size: medium;
    }

    body {
        background-size: cover;
        /*background: #1f2c5d;*/
        background-position: top;
        background-position-y: 80px;
    }

    #textP {
        margin-left: 10%;
        margin-top: 20%;
        margin-right: 10%;
        font-size: 14px;
    }
}

@media only screen and (min-width: 768px) {
    .card {
        padding: 0 20% 5% 20%;
    }

    h1 {
        font-size: 50px;
        padding-left: 10%;
        margin-top: 5%;
    }

    h3 {
        padding-left: 10%;
        margin-top: -30px;
        font-size: medium;
    }

    body {
        /*background: #1f2c5d;*/
        background-position: center;
        background-position-y: 40px;
        background-repeat: no-repeat;
    }

    #textP {
        margin-left: 10%;
        margin-top: 25%;
        margin-right: 10%;
        font-size: 12px;
    }
}

@media only screen and (min-width: 992px) {
    .card {
        padding: 0 30% 20px 30%;
    }
    h1 {
        font-size: 60px;
        padding-left: 20%;
        padding-top: 2%;
    }

    h3 {
        padding-left: 20%;
        margin-top: -30px;
        font-size: medium;
    }

    body {
        /*background: #1f2c5d;*/
        background-position: center;
        background-position-y: 60px;
        background-repeat: no-repeat;
    }

    #textP {
        margin-left: 20%;
        margin-top: 25%;
        margin-right: 10%;
        font-size: 14px;
    }
}

@media only screen and (min-width: 1120px) {
    .card {
        padding: 0 30% 20px 30%;
    }
    h1 {
        font-size: 70px;
        padding-left: 10%;
    }

    h3 {
        padding-left: 10%;
        margin-top: -40px;
        font-size: large;
    }

    body {
        /*background: #1f2c5d;*/
        background-position: center;
        background-position-y: 60px;
        background-repeat: no-repeat;
    }

    #textP {
        margin-left: 10%;
        margin-top: 20%;
        /*padding-right: 10%;*/
        font-size: 14px;
    }
}

@media only screen and (min-width: 1200px) {
    .card {
        padding: 0 35% 20px 35%;
    }
    h1 {
        font-size: 80px;
        padding-left: 3%;
    }

    h3 {
        padding-left: 10%;
        margin-top: -40px;
        font-size: x-large;
    }

    body {
        /*background: #1f2c5d;*/
        background-position: center;
        background-position-y: 60px;
        background-repeat: no-repeat;
    }

    #textP {
        margin-left: 10%;
        margin-top: 25%;
        margin-right: 10%;
        font-size: 14px;
    }
}

@media only screen and (min-width: 1440px) {
    h1 {
        font-size: 80px;
        padding-left: 20%;
    }

    h3 {
        padding-left: 20%;
        font-size: 18px;
        margin-top: -50px;
        font-size: x-large;
    }

    #textP {
        margin-left: 20%;
        margin-top: 25%;
        margin-right: 10%;
        font-size: 18px;
    }

    body {
        /*background: #1f2c5d;*/
        background-position: center;
        background-position-y: 5px;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

@media only screen and (min-width: 1780px) {
    h1 {
        font-size: 80px;
        padding-left: 20%;
    }

    h3 {
        padding-left: 20%;
        font-size: 18px;
        margin-top: -50px;
        font-size: x-large;
    }

    #textP {
        margin-left: 20%;
        margin-top: 20%;
        margin-right: 10%;
        font-size: 18px;
    }

    body {
        /*background: #1f2c5d;*/
        background-position: center;
        background-position-y: -40px;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

@media only screen and (min-width: 1900px) {
    h1 {
        font-size: 90px;
        padding-left: 20%;
    }

    h3 {
        padding-left: 20%;
        font-size: 18px;
        margin-top: -50px;
        font-size: x-large;
    }

    #textP {
        margin-left: 20%;
        margin-top: 20%;
        margin-right: 10%;
        font-size: 18px;
    }

    body {
        /*background: #1f2c5d;*/
        background-position: center;
        background-position-y: -80px;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

@media only screen and (min-width: 2200px) {
    h1 {
        font-size: 100px;
    }

    h3 {
        padding-left: 20%;
        font-size: 18px;
        margin-top: -50px;
    }

    #textP {
        margin-left: 20%;
        margin-top: 25%;
        margin-right: 10%;
        font-size: 20px;
    }

    body {
        /*background: #1f2c5d;*/
        background-position: center;
        background-position-y: -100px;
        background-repeat: no-repeat;
        background-size: cover;
    }

    a {
        font-size: 20px;
    }
}

.col {
    float: left;
}

form {
    background-color: #f6f6f6;
    padding: 30px;
    border-radius: 30px;
}

input[type=text], input[type=email] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border-radius: 3px;
    border: 1px solid black;
}

input[type=text]:focus, input[type=email]:focus {
    border: 3px solid red;
}

textarea {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border-radius: 3px;
    border: 1px solid black;
}

textarea:focus {
    border: 3px solid red;
}

select[type=text] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border-radius: 3px;
    background: white;
    border: 1px solid #1c1c1c;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 5px;
}

select[type=text]:focus {
    border: 3px solid red;
}

#formP {
    font-family: 'Montserrat-Semi Bold';
    color: #1c1c1c;
    width: 100%;
    font-size: 20px;
}

#napomena {
    font-family: 'Montserrat-Semi Bold';
    color: #1c1c1c;
    width: 100%;
    font-size: 10px;
}

input[type="submit"] {

    background-color: #7d92c0;
    border: none;
    color: #1c1c1c;
    padding: 15px 32px;
    text-align: center;
    width: 100%;
    font-size: 25px;
    font-family: 'Montserrat-Semi Bold', serif;
    border-radius: 15px;
}


#btnPotpisi {
    background-color: #ffba00;
    border: none;
    color: #1c1c1c;
    padding: 10px 16px;
    text-align: center;
    width: 70%;
    font-size: 25px;
    font-family: 'Montserrat-Semi Bold';
    border-radius: 15px;
    position: fixed;
    bottom: 9%;
    left: 15%;


}

#form1 {
    background-color: #f6f6f6;
    padding: 10px;
    width: fit-content;
    margin-left: 10%;
    margin-top: 5%;
    margin-right: 10%;
    border-radius: 20px;
    margin-bottom: 5%;

}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /*background-color: #1f2c5d;*/

}

.modal-content {
    background-color: #f6f6f6;
    margin: auto;
    width: 80%;
    border-radius: 30px;
}

.close {
    color: #c3363d;
    float: right;
    font-size: 50px;
    font-weight: bold;
    padding: 20px 20px;
}

.close:hover,
.close:focus {
    color: #134072;
    text-decoration: none;
    cursor: pointer;
}

footer {
    /*background-color: #1f2c5d;*/
    bottom: 0;
    overflow-x: hidden;
    clear: both;
    height: 30px;
    margin-right: -20px;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-list li {
    margin-bottom: 10px;
    display: inline-block;
}

.contact-list li a {
    display: inline-block;
    padding: 5px 10px;
    color: #fff;
    text-decoration: none;
}

.contact-list li a:hover {
    color: red;
}

.error {
    color: red;
    font-family: 'Montserrat-Regular';
    font-size: 12px;
}

