@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");


/* HEADER I LINKOVI */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

header {
    min-height: 10vh;
    width: auto;
    background-color: rgb(18, 14, 36);
    background-position: center;
    background-size: cover;
    position: relative;
}
.linkovi {
    position: absolute;
    top: 30px;
    right: 80px;
    list-style: none;
    padding: 10px; 
    
}

ul li {
    display: inline-block;
    margin-right: 10px;
    
}

a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    padding: 8px;

    position: relative;
    overflow: hidden;
}

.link1::after,
.link2::after,
.link3::after,
.link4::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgb(186, 189, 46);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.link1:hover::after,
.link2:hover::after,
.link3:hover::after,
.link4:hover::after {
    transform: scaleX(1);
}

.linksl{
    width: 6%;
    position: relative;
    margin-left: 20px;
    margin-top: 15px;
}



/* BODY */
body{
    background-image: linear-gradient(rgba(13, 32, 110, 0.7), rgba(4, 9, 30, 0.7)), url(slike/biograd.webp);
    background-size: cover;
}
/* KONTAKT INFO I MAPA */
.contactUs{
    position: relative;
    width: 100%;
    padding: 40px 100px;
}
.contactUs .title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
}
.contactUs .title h2{
    color: #fff;
    font-weight: 500;
 

}
.form
{
    grid-area: form;
}
.info
{
    grid-area: info;
}
.map
{
    grid-area: map;
}
.contact{
    padding: 40px;
    background: #fff;
    box-shadow: 0 5px 35px rgba(0, 0, 0, 0.15);

}
.box{
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 5fr 4fr;
    grid-template-areas: 
    "form info"
    "form map";
    grid-gap: 20px;
    margin-top: 20px;
}
.contact h3{
    color: #0e3959;
    font-weight: 600;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.formBox{
    position: relative;
    width: 100%;
}
.formBox .row50 {
    display: flex;
    gap: 20px;
    
}
.inputbox{
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    width: 50%;
}

.formBox .row100 .inputbox{
    width: 100%;
}
.inputbox span{
    color: rgb(18, 14, 36);
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 500;
}
.inputbox input{
    padding: 10px;
    font-size: 1.1em;
    outline:none ;
    border: 1px solid #333;
}
.inputbox textarea{
    padding: 10px;
    font-size: 1.1em;
    outline:none ;
    border: 1px solid #333;
    resize: none;
    min-height: 220px;
    margin-bottom: 10px;
}
.inputbox input[type="submit"]
{
    background: rgb(18, 14, 36);
    color: #fff;
    border: none;
    font-size: 1.1em;
    max-width: 120px;
    font-weight: 500;
    cursor: pointer;
    padding: 15px;
}
.inputbox ::placeholder {
    color: #999;
}

/* INFO */

.info{
    background: rgb(18, 14, 36);
}
.info h3{
    color: #fff;
}
.info .infobox div{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.info .infobox div span{
    min-width: 40px;
    height: 40px;
    color: #fff;
    background: #18b7ff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    border-radius:50%;
    margin-right: 15px;

}

.info .infobox div p {
    color: #fff;
    font-size: 1.1em;
}
.info .infobox div a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
}

.sci{
    margin-top: 40px;
    display: flex;
}
.sci li{
    list-style: none;
    margin-right: 15px;
}
.sci li a {
    color: #fff;
    font-size: 2em;
    color: #ccc;
}
.sci li a:hover{
    color: #fff;
}
/* MAPA */
.map{
    padding: 0;

}
.map iframe{
    width: 100%;
    height: 100%;
}

/* FOOTER */
footer{
    background-color: rgb(18, 14, 36);
    height: auto;
    width: auto;
    font-family: "Open Sans";
  
    color: #fff;
  
  }
  .footer-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  
  }
  .footer-content h3{
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 3rem;
  
  }
  .socials{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 3rem 0;
  
  }
  .socials li{
    margin: 0 10px;
  
  }
  .socials a{
    text-decoration: none;
    color: #fff;
  }
  .socials a i{
    font-size: 1.1rem;
    transition: color .4s ease;
  
  }
  .socials a:hover i{
    color: aqua;
  }
  
  .footer-bottom{
    background-color: rgb(18, 14, 36);
    width: auto;
    padding-bottom: 20px ;
    text-align: center;
  
  }
  .footer-bottom p{
    font-size: 14px;
    word-spacing: 2px;
    text-transform: capitalize;
  }
  .footer-bottom span{
    text-transform: uppercase;
    opacity: 0.4;
    font-weight: 200;  
  }
  .footer-content h3{
 padding: 40px;
  }

/* MOBITEL */

@media (max-width: 991px)
/* BODY */
{
body{
    background: rgb(34, 51, 129);
}
/*  MAPA FORM I INFO */
.contactUs{
    padding: 20px;
}
.box{
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
    "form"
    "info"
    "map";

}

.formBox .row50
{
    display: flex;
    gap: 0;
    flex-direction: column;
}
.inputbox{
 
    width: 100%;
}
.contact{
    padding: 30px;
}
.map{
    padding: 0;
 min-height: 300px;
}
/* HEADER I LINKOVI*/
header {
    min-height: 10vh;
    width: auto;
    background-color: rgb(18, 14, 36);
    background-position: center;
    background-size: cover;
    position: relative;
  }
  .linkovi {
    position: static;
    display: block;
    text-align: center;
    margin-right: 0;
  }
  ul li {
    display: block;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .linksl {
    margin: 0 auto;
    display: block;
    width: 20%;
  }

  /* HEADER */
  .footer-content {
    padding: 20px;
  }
  .socials li {
    margin: 0 5px;
  }
  .info .infobox div p {
    color: #fff;
    font-size: 12px;
}
}