

*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background:black;
    /* align-items: center; */
}
/* 
header{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
} */

/* .navigation a{
    color: darkgreen;
    text-decoration: none;
    padding: 6px 15px;
    border-radius: 20px;
    margin: 0 10px;
}

.navigation a:hover{
    background-color: darkgreen;
    color: white;
} */

.parallax{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 61vh;
}

#text{
    position: absolute;
    color: white;
    font-weight: 600;
    font-size: 50px;
    text-shadow: 4px 4px 8px rgba(0,0,0, .8);
}

.parallax img{
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    pointer-events: none;
    /* height: 100%; */
}

.c2{
    position:relative;
    background: linear-gradient(rgba(0,0,0,1), rgba(0,0,0,0.7)), url('https://borovoe.kz/upload/medialibrary/ac9/ac992061478f12d3f53ddcd3aeff4506.jpg') ;
    background-size: cover;
    padding: 20px;
    color: white;
/*     
    text-align: center; */
    
    width: 100%;
    margin: auto;
    
}



header {
    /* background-color: black; */
    color: #fff;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 10px;
}

.main-content {
    display: flex;
    /* justify-content: space-around; */
    align-items: center;
    margin: 10px;
    width: 90%;
    margin: auto;
    /* text-align: center; */
}

.place-info {
    /* flex: 1; */
    /* width: 300px; */
    text-align: center;
    height: 500px;
    margin: 10px;
}

.place-info img {
    /* max-width: 100%; */
    border-radius: 10px;
    margin-bottom: 1em;
}

.ranking {
    font-size: 1.2em;
    color: #e67e22;
    margin: 7px 0;
    font-weight: bold;
}

.interesting-facts {
    margin: 50px;
    padding: 10px;
    /* width: 30%; */
}

.interesting-facts h2 {
    color: #3498db;
    margin: 20px 0;
}

.image-gallery {
    text-align: center;
    margin: 2em;
}

.gallery-container {
    display: block;
    /* justify-content: space-around;
    flex-wrap: wrap; */
}

.image-gallery h2{
    margin-bottom: 30px;
}


/* .gallery-container img {
    max-width: 100%;
    margin: 1em;
    border-radius: 10px;
} */

footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 5px;
    position: fixed;
    bottom: 0;
    width: 100%;
}



.card {
    display: block;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #fafafa;
    background-color: rgba(0,0,0, .8);
    /* border: 1px solid #fafafa; */
    border-radius: 25px;
    padding: 30px;
    width: 600px;
}

/* CSS for the image inside the card */
.card img {
    width: 270px;
    height: 270px;
    object-fit: cover;
    border-radius: 5px;
}

/* CSS for the text content on the right of the image */
.card .card-text {
    flex: 1;
    padding: 0 20px;
}

/* CSS to style the heading and description text */
.card h2 {
    font-size: 18px;
    margin: 15px;
    color: white;
}

.card p {
    font-size: 14px;
    text-align: left;
}



.card1 {
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #fafafa;
    background-color: rgba(64, 84, 97, .5);
    /* border: 1px solid #fafafa; */
    border-radius: 25px;
    padding: 30px;
    width: 100%;
}

/* CSS for the image inside the card */
.card1 img {
    width: 270px;
    height: 270px;
    object-fit: cover;
    border-radius: 5px;
}

/* CSS for the text content on the right of the image */
.card1 .card-text1 {
    flex: 1;
    padding: 0 20px;
}

/* CSS to style the heading and description text */
.card1 h2 {
    font-size: 20px;
    margin: 15px 0;
    color: white;
    text-align: left;
}

.card1 p {
    font-size: 18px;
    text-align: left;
}

.card1:hover{
    transform: scale(1.03);
    background-color: rgb(72,129,167,0.5);
}

@media only screen and (max-width: 600px){
    .parallax{
        height: 150px;
    }
    #text{
        font-size: 20px;
    }
    .c2 header{
        padding-top: 0;
        display: contents;
        text-align: center;
    }
    .card{
        padding: 0;
    }
    .main-content{
        margin: 0;
        display: block;
        width: 100%;
    }

    .place-info {
        margin: 0;
    }

    .place-info .card{
        width: 330px;
    }

    .card1{
        display: block;
        padding: 5px;
    }

    .footer{
        display: none;
        position: relative;
    }
    .image-gallery{
        margin: 0;
    }

    .image-gallery img{
        margin-top: 5px;
    }
}