@import url('https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
:root {
    --maincolor:rgb(222, 220,255);
    --drugaboja:#2F27CE;
}
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}
nav {
    min-height: 10vh;
    background-color: var(--maincolor);
    display: flex;
    justify-content: space-between;
    width:100%;
}
.header {
    background-color: #fff;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
   
}
.nav1{
    width:20% ;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 3%;
}
.logo {
    width: 25%;
    background: transparent;
    margin-left: 3%;
    transition: transform .2s;
}
.logo:hover {
    transform: scale(1.1);
    cursor: pointer;
}
.nav1 a {
    color: black;
    padding:10px ;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform .1s;
}
.alo {
    display: flex;
    justify-content: center;
    align-items: center;
}
.mainindex {
    display: flex;
    justify-content:space-around;
    align-items: center;
}
.tekstic {
    width: 600px;
    height: 400px;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    font-size: 1.5rem;
    line-height: 1.5;
    background-color: var(--maincolor);
    border-radius: 25px;
    margin-top: 15%;
}
form h2 {
    margin-top: 0;
}
.preuzmi {
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 25px;
    margin-top: 3%;
    background-color: var(--drugaboja);
    color: white;
    transition: transform .2s;
}

.kocka1,.kocka2{
    width: 300px;
    height: 500px;
    border-radius: 30px;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform .2s;
}
.kocka1 {
    background-image: url('../images/light1.jpg');
    position: absolute;
}
.kocka1:hover {
    z-index: 2;
    transform: scale(1.1);
}
.kocka2 {
    background-image: url('../images/light2.jpg');
    position: relative;
    z-index: 1;
    top: 40px;
    right: 40px;
}
@media (prefers-color-scheme: dark) {
    .kocka1 {
        background-image: url('../images/dark1.jpg');
    }
    .kocka2 {
        background-image: url('../images/dark2.jpg');
    }
}
.kocka2:hover {
    transform: scale(1.1);
}
.divkocke {
    margin-top:5% ;
}
.div1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.preuzmi:hover,.nav1 a:hover{
    transform: scale(1.1);
    cursor: pointer;
}
.kon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top:5% ;
}
.container {
    
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5%;
}
.h {
    text-align: center;
    padding: 50px 0;
}
.h h1 {
    font-size: 36px;
    margin: 0;
}
.h p {
    font-size: 16px;
    color: #777;
}
.content {
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.left, .right {
    width: 48%;

}
.left h2 {
    font-size: 24px;
    color: #333;
}
.left p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}
.left .contact-info {
    margin-top: 20px;
}
.left .contact-info p {
    margin: 10px 0;
    font-size: 14px;
    color: #333;
}
.left .contact-info i {
    color: #ff6b6b;
    margin-right: 10px;
}
.left .social-icons {
    margin-top: 20px;
}
.left .social-icons a {
    margin-right: 10px;
    font-size: 20px;
    text-decoration: none;
}
.right {
    background-color:var(--maincolor);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    
}

.right form {
    display: flex;
    flex-direction: column;
    

}
.right form input, .right form textarea {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}
.right form input[type="submit"] {
    background-color: #000000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 15px;
    border-radius: 5px;
}
.right form input[type="submit"] {
    background-color: var(--drugaboja);
    color: white;
}
.autori {
    padding: 25px;
    width: 600px;
    height: 170px;
    background-color: var(--maincolor);
    border-radius: 30px;
    margin-top: 5%;
}
.autormain {
    display: flex;
    justify-content: center;
    align-items: center;
}
@media only screen and (max-width: 600px) {
    .nav1 {
        width:400px ;
    }
    .logo {
        width: 40%;
        margin-left: 1%;
    }
    .tekstic {
        width: 300px;
        height: 200px;
        padding: 10px;
        font-size: 0.7rem;
        margin-top: 30%;
    }
    .mainindex {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }
    .kocka1,.kocka2 {
        width: 200px;
        height: 300px;
    }
    .preuzmi {
        font-size: smaller;
        padding: 10px 20px;
        margin-bottom: 10%;
    }
    .divkocke {
        width: 100%;
        display: flex;
        margin-top: 10%;
        justify-content: center;
        align-items: center;
    }
    .nav1 a {
        font-size: smaller;
    }
    .right {
        width: 100%;
    }
    .container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .autori {
        padding: 25px;
        width: 80%;
        height: 70%;
    }
	.kocka2 {
		top: 20px;
    	right: 20px;
	}
}
/* @media only screen and (min-width: 600px) {
    .mainindex{
        display: flex;
        flex-direction: column-reverse;
    }
    nav a {
padding: 20px;
    }
    .container {
        display: flex;
        justify-content: center;
        align-items: center;
        width:1000px;
        padding: 0;
    }
} */

@media only screen and (min-width: 1224px) {
    .mainindex{
        display: flex;
        flex-direction: row;
    }
}
