* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header {
    background-color: #3e2f29;
    width: 100%;
}

.top-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 8%;
    display: flex;
    align-items: center;
    color: aliceblue;
   font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.btn{
    height: 28px;
    display: flex;
    align-items: center;
    cursor: pointer;

}

.name {
    color: white;
    font-size: 20px;
    letter-spacing: 1px;
    margin: 0;
}

.news-search {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.news-search a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding-right: 20px;
}

.news-search a:hover {
    text-decoration: underline;
}

.search-box {
    display: flex;
    align-items: center;
  
}

.search-box input {
    height: 28px;
    padding: 5px;
    margin-right: 5px;
}

.search-box button {
    height: 28px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.search-icon {
    height: 16px;
    margin-right: 5px;
}

.menu-background {
    width: 100%;
}

.pic {
    width: 100%;
    height: 400px; 
    background-image: url("Snimki/background3.jpg");
    background-size: 100% 100%; 
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 40px;
}

.menu {
    background: black;
    height: 50px;
    background-color: #3e2f29;
}

.menu-1 {
    display: flex;
    list-style: none;
}
.menu-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 15px 20px;
    margin-left: 40px;
    border: 2px solid transparent;
}

.menu-link:hover {
    border-color: white;
    color:#3e2f29;
    background-color: white;
    border-radius: 10px;
}
body{
 background-color:rgb(230, 224, 217);
}
.tekst-background{
    text-align: center;
    padding-top: 10%;
    padding-right: 5px;
    left: 50%;
    color: white;
 text-shadow: 0 0 5px black;
 font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
font-size: 250%;
}

.news-layout {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
    gap: 20px;
    justify-content: center;
  margin-top: 40px;
}

.box-con {
    padding-top: 0px;
    margin-left: 30px;
    padding-bottom: 30px;
}

.pic-con {
    width: 500px;
    height: 500px;
    border: 2px solid black;
    display: flex;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    background-image: url("Snimki/newYearSpain.jpg");
    box-shadow: 0 0 20px #0000;
}

.box-mini-con {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    width: auto;
    max-width: 1000px;
    margin: 0;
}

.pic-con2 {
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 15px;
    border-radius: 10px;
      width: 310px;
    min-width: 250px;
    height: 245px;
    box-sizing: border-box;
}

.news-zaglavie{
    font-size: 30px;
    margin-bottom: 10px;
    color:white;
  padding-top:415px ;
 text-shadow: 2px 2px red;
 padding-left: 30px;
}

.box-mini-con:hover{
    cursor: pointer;
}
div.news-zaglavie{
      word-wrap: break-word;
}
div.mini-tekst{
      word-wrap: break-word;
}

.mini {
    display: block;
    margin-top: 8px;
    word-wrap: break-word;
}
.con{
    margin-bottom: 50px;
}
.site-footer{
    background-color: #1f1f1f;
    color: #eaeaea;
    padding: 40px 20px 20px;
    text-align: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.tekst-background{
left: 50%;
color: white;
 padding-top: 10%;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;;
 padding-left: 50px;
font-size: 250%;
border: shadowed 2px solid white;
text-align: center;

}

.site-footer {
    background-color: #1f1f1f;
    color: #eaeaea;
    padding: 40px 20px 20px;
    text-align: center;
   font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    width: 100%;
    flex-shrink: 0;
}

.footer-cont {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0;
    margin: 0 0 20px;
    flex-wrap: wrap;
}

.footer-cont a {
    color: #eaeaea;
    text-decoration: none;
    font-size: 15px;
}

.footer-cont a:hover {
    color: #4da3ff;
}

.socialni-mreji {
    display: flex;
    gap: 10px;
    margin-top: 5px;
    justify-content: center;
    padding-bottom: 20px;

}
.fa {
  font-size: 60px;
 
}

.news-zaglavie2{
    background-image: url("Snimki/Japan-tr.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
    border-radius: 2px;
    font-size: 18px;
    color: white;
    text-shadow: 0 0 5px black;
    padding-left: 10px;
    padding-top: 10px;
}
.news-zaglavie3{
    background-image: url("Snimki/Abu.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
    border-radius: 2px;
   font-size: 18px;
    color: white;
    text-shadow: 0 0 5px black;
    padding-left: 10px;
    padding-top: 10px;
}
.news-zaglavie4{
    background-image: url("Snimki/rio.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
    border-radius: 2px;
     font-size: 18px;
    color: white;
    text-shadow: 0 0 5px black;
    padding-left: 10px;
    padding-top: 10px;
}
.news-zaglavie5{
    background-image: url("Snimki/France-trad.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
    border-radius: 2px;
     font-size: 18px;
    color: white;
    text-shadow: 0 0 5px black;
    padding-left: 10px;
    padding-top: 10px;
}
.news-zaglavie6{
    background-image: url("Snimki/Mexico.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
    border-radius: 2px;
     font-size: 18px;
    color: white;
    text-shadow: 0 0 5px black;
    padding-left: 10px;
    padding-top: 10px;
}
.news-zaglavie7{
    background-image: url("Snimki/Holi.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
    border-radius: 2px;
     font-size: 18px;
    color: white;
    text-shadow: 0 0 5px black;
    padding-left: 10px;
    padding-top: 10px;
}
.date{
    padding-top: 5px;
     font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}
.news-con{
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 30px;
}

.news-con{
    display: flex;
    align-items: center;
    position: relative;
}

.nai-novi-con{
    position: absolute;
    left: 0;
    margin-left: 11%;
    padding-top: 70px;

}

.novini-con{
    margin: 0 auto;
    padding-left: 30px;
}

.nai-novi-novini{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
   font-size: 30px; 
   color: red;
}

.title{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 40px; 
}
@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .top-bar {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
    }

    .news-search {
        display: flex;
        margin-left: 0;
        margin-top: 10px;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .menu {
        width: 100%;
        overflow-x: auto;
    }

    .menu-1 {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: max-content;
        padding: 0;
        margin: 0;
    }

    .menu-link {
        width: auto;
        margin: 0;
        padding: 12px 16px;
        font-size: 14px;
        white-space: nowrap;
        border: none;
    }

    .menu-link:hover {
        background: none;
        color: white;
    }

    .pic {
        width: 100%;
        height: 260px;
        background-size: cover;
        background-position: center;
    }

    .tekst-background {
        width: 90%;
        font-size: 22px;
        padding-top: 40px;
        padding-left: 0;
        margin: 0 auto;
        text-align: center;
    }

    .mini-tekst {
        width: 90%;
        font-size: 14px;
        margin: 0 auto;
        text-align: center;
    }

    .news-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
        gap: 30px;
    }

    .box-con {
     width: 100%;
    margin-left: 0;
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
    }

    .pic-con {
        width: 90%;
        height: 300px;
        
    }

    .news-zaglavie {
        font-size: 22px;
        padding-top: 240px;
        padding-left: 15px;
    }

    .box-mini-con {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        max-width: 100%;
    }

    .pic-con2 {
        width: 90%;
        height: auto;
    }

    .news-zaglavie2 {
        width: 100%;
        height: 180px;
        font-size: 16px;
        padding-left: 10px;
        padding-top: 10px;
    }

    .news-zaglavie3 {
        width: 100%;
        height: 180px;
        font-size: 16px;
        padding-left: 10px;
        padding-top: 10px;
    }

    .news-zaglavie4 {
        width: 100%;
        height: 180px;
        font-size: 16px;
        padding-left: 10px;
        padding-top: 10px;
    }

    .news-zaglavie5 {
        width: 100%;
        height: 180px;
        font-size: 16px;
        padding-left: 10px;
        padding-top: 10px;
    }

    .news-zaglavie6 {
        width: 100%;
        height: 180px;
        font-size: 16px;
        padding-left: 10px;
        padding-top: 10px;
    }

    .news-zaglavie7 {
        width: 100%;
        height: 180px;
        font-size: 16px;
        padding-left: 10px;
        padding-top: 10px;
    }

    .site-footer {
        padding: 30px 15px;
    }

    .footer-cont {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0;
        margin: 0;
    }

    .fa {
        font-size: 40px;
    }
}

