body, html {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }

.top{
    background: rgb(228, 178, 120);
}

.top-text {
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.1em 5%; /* use relative padding */
    text-align: center;
    font-size: 1.5rem; /* use relative font size */
    font-family: Lato;
    color: black;
    background-color: rgba(228, 178, 120, 0.75);
    z-index: 1;
    backdrop-filter: blur(10px);
}

.top-text-1:hover{
    color: papayawhip;
    text-decoration: underline;
    cursor: pointer;
}

.space{
    height: 5rem;
}

.space2{
    height: 2rem;
}

.homepage{
    width: auto;
    display: flex;
    flex-direction: column;
}

.description{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.description-img-1{
    width: 48%;
    position: relative;
    overflow: hidden;
}

.description-img-1 img {
    width: 100%;
    height: auto;
    transition: transform 0.5s, opacity 0.5s;
}

.description-img-1:hover img {
    transform: scale(1.1) translateZ(0);
    opacity: 0.8;
  }

.description-text{
    width: 50vw;
    text-align: center;
    /*padding: 0.1em 11%; /* use relative padding */
}

.description-text-1{
    padding-top: 10%;
    font-family: Merriweather;
    font-size: 2.5vw;
    letter-spacing: 0.2rem;
}

.description-text-2{
    font-family: Lato;
    font-size: 1.8vw;
    letter-spacing: 0.05rem;
}

.description-text-3{
    font-family: Lato;
    font-size: 1.8rem;
    letter-spacing: 0.05rem;
    color:rgba(228, 178, 120, 0.1);
}

.description-text-3::selection {
    color:firebrick;
    background-color: rgba(228, 178, 120, 0.1);
}



.description-img-2 {
    width: 100%;
}

.description-img-2 img {
    width: 100%;
    height: auto;
}

.bottom{
    background: rgb(228, 178, 120);
}

body {
    margin: 0; /* set margin to 0 */
}

.end{
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.05em 5%; /* use relative padding */
    text-align: left;
    font-size: 1.5rem; /* use relative font size */
    font-family: Lato;
    color: black;
    background-color: rgba(228, 178, 120, 0.9);
    backdrop-filter: blur(10px);
}

.second a {
    color: black;
}

.frist{
    font-family: Lato;
    font-size: 2.5vw;
    font-weight: bold;
    padding-top: 8%;
    padding-bottom: 8%;
}

.second{
    font-family: Lato;
    font-size: 1.6vw;
}


.end-text-right{
    font-family: Lato;
    font-size: 2.5vw;
}

.end-text-right:hover{
    color: papayawhip;
    text-decoration: underline;
    cursor: pointer;
}

/*photo*/
#gallery {
    line-height: 0;
    -webkit-column-count: 5;
    -webkit-column-gap: 5px;
    -moz-column-count: 5;
    -moz-column-gap: 5px;
    column-count: 5;
    column-gap: 5px;
    position: relative;
    overflow: hidden;
  }
  
  .image-box {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 5px;
  }
  
  .image-box img {
    width: 100%;
    height: auto;
    filter: grayscale(60%);
    transition: transform 0.5s, opacity 0.5s;
  }
  
  .image-box:hover img {
    filter: none;
    transform: scale(1.05) translateZ(0);
    opacity: 0.95;
  }
  
  .text-box {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4rem;
    background-color: rgba(211, 211, 211, 0.8);
    font-family: Lato;
    color: #323232;
    padding-left: 3%;
    box-sizing: border-box;
  }
  
  .image-box:hover .text-box {
    display: block;
  }

/*News*/
.news_block{
    text-align: center;
    font-family: Lato;
    font-size: 2.5vw;
}

.news_block:hover{
    color: rgb(254, 213, 147);
    text-decoration: underline;
    cursor: pointer;
}

.news{
    display: flex;
    left: 0;
    flex-direction:row;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    font-size: 1.8vw; /* use relative font size */
    font-family: Lato;
    color: black;
    backdrop-filter: blur(10px);
}

.preview-block {
    width: 50%;
    box-sizing: border-box;
    float: left;
}

.preview-block iframe {
    width: 46vw;
    height: 46vh;
}

/* Media query for screens smaller than 480px */
@media (max-width: 480px) {
    .description{
        flex-direction: column;
        align-items: center;
    }

    .description-img-1{
        width: 100%;
        /*margin-bottom: 1rem;*/
    }

    .description-text{
        top: 0;
        width: 100%;
        max-width: 600px;
        /*padding: 0 1rem;*/
    }

    .description-text-1{
        padding-top: 0%;
        font-size: 1.5rem;
        letter-spacing: 0.1rem;
    }

    .description-text-2{
        font-size: 1rem;
        letter-spacing: 0.05rem;
    }

    .description-text-3{
        font-family: Lato;
        font-size: 1.8rem;
        letter-spacing: 0.05rem;
        color:rgba(228, 178, 120, 0.1);
    }
    
    .description-text-3::selection {
        color:firebrick;
        background-color: rgba(228, 178, 120, 0.1);
    }

    .description-img-2 {
        width: 100%;
    }
    
    .description-img-2 img {
        width: 100%;
        height: auto;
    }

    .frist{
        font-family: Lato;
        font-size: 0.8rem;
        font-weight: bold;
        padding-top: 5%;
        padding-bottom: 5%;
    }
    
    .second{
        font-family: Lato;
        font-size: 0.6rem;
    }
    
    
    .end-text-right{
        font-family: Lato;
        font-size: 1.2rem; 
    }
    #gallery {
    -moz-column-count:    2;
    -webkit-column-count: 2;
    column-count:         2;
    }

    .news_block{
        text-align: center;
        font-family: Lato;
        font-size: 4.5vw;
    }

    .text-box {
        display: none;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4rem;
        background-color: rgba(211, 211, 211, 0.8);
        font-family: Lato;
        font-size: 2.5vw;
        color: #323232;
        padding-left: 3%;
        box-sizing: border-box;
      }

    .news{
        display: flex;
        left: 0;
        flex-direction:column;
        justify-content: space-between;
        align-items: center;
        text-align: center;
        font-size: 3vw; /* use relative font size */
        font-family: Lato;
        color: black;
        backdrop-filter: blur(10px);
    }

    .preview-block {
        width: 100%;
        box-sizing: border-box;
        float: left;
    }
    
    .preview-block iframe {
        width: 90vw;
        height: 45vh;
    }    
}


@media (max-width: 800px) {
    #gallery {
     -moz-column-count:    3;
     -webkit-column-count: 3;
     column-count:         3;
    }

    .news_block{
        text-align: center;
        font-family: Lato;
        font-size: 4.5vw;
    }

    .text-box {
        display: none;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4rem;
        background-color: rgba(211, 211, 211, 0.8);
        font-family: Lato;
        font-size: 2vw;
        color: #323232;
        padding-left: 3%;
        box-sizing: border-box;
    }

    .frist{
        font-family: Lato;
        font-size: 0.8rem;
        font-weight: bold;
        padding-top: 5%;
        padding-bottom: 5%;
    }
    
    .second{
        font-family: Lato;
        font-size: 0.6rem;
    }
    
    
    .end-text-right{
        font-family: Lato;
        font-size: 1.2rem; 
    }
}

@media (max-width: 700px) {
    #gallery {
        -moz-column-count:    2;
        -webkit-column-count: 2;
        column-count:         2;
       }
    
    .news_block{
        text-align: center;
        font-family: Lato;
        font-size: 4.5vw;
    }

    .text-box {
        display: none;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4rem;
        background-color: rgba(211, 211, 211, 0.8);
        font-family: Lato;
        font-size: 2.5vw;
        color: #323232;
        padding-left: 3%;
        box-sizing: border-box;
      }

    .news{
        display: flex;
        left: 0;
        flex-direction:column;
        justify-content: space-between;
        align-items: center;
        text-align: center;
        font-size: 3vw; /* use relative font size */
        font-family: Lato;
        color: black;
        backdrop-filter: blur(10px);
    }

    .preview-block {
        width: 100%;
        box-sizing: border-box;
        float: left;
    }
    
    .preview-block iframe {
        width: 90vw;
        height: 45vh;
    }

    .frist{
        font-family: Lato;
        font-size: 0.8rem;
        font-weight: bold;
        padding-top: 5%;
        padding-bottom: 5%;
    }
    
    .second{
        font-family: Lato;
        font-size: 0.6rem;
    }
    
    .end-text-right{
        font-family: Lato;
        font-size: 1.2rem; 
    }
}