body{
    background-image: url(/photos/Background3.png);
}

#features{
    box-sizing: border-box;
    text-align: justify;
    background-color: rgba(255, 255, 255, 0.44);
    backdrop-filter: blur(1vw);
    padding: 3vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3vw;
}

.category{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2vw;
}

.catalog{
  display: flex;
  flex-direction: row;
  gap: 2vw;
}

.entry{
    background-color: rgba(255, 255, 255, 0.46);
    backdrop-filter: blur(1vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 19vw;
    height: 18.5vw;
    transition: 0.3s ease-in-out;
    border: none;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

.entry:hover{
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.05);
    transition: 0.3s ease-in-out;
}

.entry-img{
  width: 18vw;
  height: 18vw;
}



.close:hover{
    color: rgba(52, 82, 108, 1);
    cursor: pointer;
}

@media (max-width: 768px) {
  .catalog{
    flex-direction: column;
  }

  .entry.rounded{
    width: 80vw;
    height: 75vw;
  }

  .entry-img.rounded{
    width: 78vw;
    height: 78vw;
  }

  #info1{
        height: 60vw;
    }

    #photo1{
        height: 60vw;
    }

    .entry-title{
        font-size: 3vw;
    }
    .modal{
        display: block; 
        position: fixed; 
        z-index: -1; 
        left: 0;
        top: 0;
        width: 100%; 
        height: 100%; 
        overflow: auto; 
        background-color: rgba(0, 0, 0, 0.7); 
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    .modal-content{
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fefefe;
        margin: 5% auto; 
        padding: 1vw;
        border: 1px solid #888;
        width: 90vw; 
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    } 

    #photo1-img{
        height: auto;
    }
}

@media (min-width: 768px) {
    .entry-img.rounded{
         height: 12.5vw;
    }

    #info1{
        height: 12vw;
    }

    #photo1{
        height: 12vw;
    }

    .entry-title{
        font-size: 0.9vw;
    }

    .modal{
        box-sizing: border-box;
        display: block; 
        position: fixed; 
        z-index: -1; 
        left: 0;
        top: 0;
        width: 100%; 
        height: 100%; 
        overflow: auto; 
        background-color: rgba(0, 0, 0, 0.7); 
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    .modal-content{
        position: fixed;
        top: 2vw;
        left: 50%;
        transform: translateX(-50%);
        background-color: #fefefe;
        margin: 5% auto; 
        padding: 1vw;
        border: 1px solid #888;
        width: 60%; 
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    } 

    #photo1-img{
        width: 30vw;
    }
}

