* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/metropolis.regular.otf') format('opentype');
}
body {
    overflow-x: hidden;
}
/*Header*/

.headlogo {
    height: 72px;
    vertical-align: middle;
    margin-right: 50px;
    margin-left: 35px;
}
.headlink {
    color: gray;
    text-decoration: none;
    text-transform: uppercase;
    font-size: larger;
    font-weight: bolder;
    font-family: Metropolis;
    margin-right: 10px;
}

/*Banner*/
banner {
    display: block;
    position: relative;
    overflow: hidden;
}
banner img {
    width: 99.2vw;
    transition: 0.5s ease;
    display: block;
}
banner:hover img {
    transform: scale3D(1.03, 1.03, 1);
}
banner center {
    bottom: 100px;
    position: relative;
}
banner button {
    position: absolute;
    color: #ffffff;
    background-color: #f56301;
    font-size: 20px;
    line-height: 52px !important;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 50px;
    border: 2px solid transparent;
    font-weight: bolder;
    font-family: Metropolis;
    cursor: pointer;
    transition: 0.2s;
    transform: translateX(-50%);
}
banner button:hover {
    background-color: #e14f00 !important;
    color: #ebebeb !important;
}
.underbanner, .abovefooter {
    width: 99.99vw;
    display: block;
    text-align: center;
    background-color: #005fc9;
    padding: 10px 0;
    color: white;
    font-family: 'Metropolis';
    font-weight: bold;
}
/*grid*/
grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1fr; 
    gap: 20px;
    padding: 46px;
    background: #1a1c2c; /* Dark background matching the image */
    height: 41.5%;
}
grid > div {
    min-height: 250px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

grid div.orange {
    background-color: orange;
}
grid div.yellow {
    background-color: #f1c40f;
}
grid div.green {
    background-color: #2ecc71;
}
grid div.blue {
    background-color: #3498db;
}
grid div.pink {
    background-color: #e91e63;
}
grid div.purple {
    background-color: #4e1fa0;
}
grid div.teal {
    background-color: #008080;
}
grid div.cyan {
    background-color: #00bcd4;
}
grid div.indigo {
    background-color: #3f51b5;
}
grid div.lime {
    background-color: #cddc39;
}
grid div.brown {
    background-color: #795548;
}
grid div.grey {
    background-color: #9e9e9e;
}

grid div.checkereda {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("../img/patternadventure.png");
    background-repeat: repeat;
    background-position: center;
    background-size: 175px auto;
    opacity: 0.2;
    pointer-events: none;
}
grid div.checkeredc {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("../img/patternchevron.png");
    background-repeat: repeat;
    background-position: center;
    background-size: 175px auto;
    opacity: 0.1;
    pointer-events: none;
}

grid div.checkeredr {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("../img/patternrory.png");
    background-repeat: repeat;
    background-position: center;
    background-size: 175px auto;
    opacity: 0.1;
    pointer-events: none;
}

grid .text {
    top: 10px;
    left: 10px;
    position: relative;
    font-family: 'Metropolis';
}
grid .text.center {
    left: 0px;
}

.jointheislandtxt {
    bottom: 20px;
    top: unset !important;
    left: 0 !important;
    right: 0;
    text-align: center;
    font-size: larger;
    font-weight: bold;
    position: absolute !important;
    backdrop-filter: blur(8px);
    width: 26%;
    margin: 0 auto;
    padding: 5px;
    border-radius: 8px;
    background: #ffffff36;
}
.dlbtnforwin, .dlbtnforand {
    color: #ffffff;
    background-color: #005fc9;
    font-size: 22px;
    line-height: 40px !important;
    margin-top: 8px;
    border-radius: 50px;
    border: 2px solid transparent;
    width: 85%;
    font-family: 'Metropolis';
    font-weight: bolder;
    cursor: pointer;
    transition: 0.2s;
}
.dlbtnforwin:hover, .dlbtnforand:hover {
    background-color: #004bb5 !important;
    color: #ebebeb !important;
}
/*footer*/
#h1footer {
    padding: 10px;
}
#h1footer img {
    height: 64px;
}
.footerlinks {
    display: inline;
    position: relative;
    float: right;
    top: 25px;
}
#h2footer {
    padding: 10px;
}
#h2footer p {
    color: gray;
    font-family: 'Metropolis';
    font-size: 12px;

}
