.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.grid-content {
    display: block;
    flex: 0 0 calc(50% - 10px);
    padding: 5px;
}

.grid-content.tri-col {
    display: block;
    flex: 0 0 calc(30% - 10px);
    padding: 5px;
}

.grid-content.wide {
    display: block;
    flex: 1 1 100px;
    padding: 5px;
}

.div-card {
    border-radius: 12px;
    border: 2px solid darkgray;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 8px;
}

.div-card {
		display: block;
    border-radius: 25px;
    background-color: #003c71;
    border: 2px solid #003c71;
    overflow: hidden;
    height: 440px;
    max-height: 440px;
}

.card-descr {
		display: block;
    background-color: white;
    border-radius: 25px;
    width: 103%;
    padding: 5px;
    height: 200px;
    transform: translateX(-4.75px) translateY(-6px);
}

.div-card.bullet {
		display: block;
    border-radius: 25px;
    background-color: #003c71;
    border: 2px solid #003c71;
    overflow: hidden;
		height: 550px;
    max-height: 550px;

}

.card-descr.bullet {
		display: block;
    background-color: white;
    padding: 5px;
    border-radius: 25px;
    width: 103%;
    height: 265px;
    transform: translateX(-4.75px) translateY(-6px);
}

.format-img {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
    border-collapse: separate;
    transition: transform 0.5s ease-in-out;
    cursor: zoom-in;
}

.format-img:focus {
    transform: scale(1.3);
    border: 2px solid #003c71;
    cursor: zoom-out;
}

#zoombox {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    background: rgba(0, 0, 0, 0.5);

    display: flex;
    align-items: center;
    align-content: center;

    visibility: hidden;
    opacity: 0;
    scale: 0;

    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, scale 0.4s ease-in-out;
}

#zoombox.show {
    visibility: visible;
    scale: 1;
    opacity: 1;
}

#zoombox img {
    width: 100%;
    height: auto;
    scale: 75%;
    border: 6px solid #003c71;
    border-radius: 25px;
    object-fit: cover;
}

.format-img.card {
		display: block;
    border-radius: 25px;
    transform: scale(0.95);
    max-width: 100%;
    height: auto;
    border-collapse: separate;
    transition: transform 500ms ease;
}

.format-img.card:hover {
    transform: scale(1);
}

.center {
    align-content: center;
    justify-content: center;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.table-div {
    max-width: 100%;
    width: 50%;
}

.left {
    flex: 0 0 65%;
    padding: 5px;
}

.right {
    flex: 0 0 30%;
    padding: 5px;
}

.inter-content {
    border-radius: 8px;
    max-width: 100%;
}

.YT-embed {
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    width: 100%;
}

.roundbutton {
    display: inline-block;
    padding: 8px;
    margin: 10px;
    max-width: 100%;
    text-align: center;
    transition: transform 0.5 ease-in-out;
}

.roundbutton:hover {
	transform: scale(1.1);
}

.roundbutton:active {
	transform: scale(0.9);
}

.button-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

@media (max-width: 1350px) {
  .grid-content {
  	flex: 0 0 calc(50% - 10px);
  }
    
	.grid-content.tri-col {
    display: block;
    flex: 0 0 calc(50% - 10px);
    padding: 5px;
	}
}

@media (max-width: 599px) {
    .data-table {
        table-layout: fixed;
        align-content: center;
        justify-content: center;
    }

    .data-table thead th:not(:nth-child(1)):not(:nth-child(3)),
    .data-table tbody td:not(:nth-child(1)):not(:nth-child(3)) {
        display: none;
    }

    .data-table thead th:nth-child(1),
    .data-table tbody td:nth-child(1),
    .data-table thead th:nth-child(3),
    .data-table tbody td:nth-child(3) {
        width: 50%;
    }

    .left,
    .right {
        flex: 0 0 100%;
        width: 100%;
    }

    .grid-container {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .grid-content {
        display: block;
        flex: 0 0 auto;
        width: 100%;
    }

    .grid-content.wide {
        flex: 0 0 auto;
        width: 100%;
    }

    .button-row {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .format-img {
        justify-content: center;
        align-content: center;
        border-radius: 12px;
        max-width: 100%;
        height: auto;
        border-collapse: separate;
    }
    
    .format-img.card {
    	transform: scale(1);
		}

    .inter-content {
        justify-content: center;
        border-radius: 8px;
        max-width: 100%;
        height: auto;
    }

    .order1 {
        order: 1;
    }

    .order2 {
        order: 2;
    }

    .order3 {
        order: 3;
    }

    #mapdiv1 {
        order: 2;
    }

    #mapdiv2 {
        order: 1;
    }
}