* {
    padding: 0;
    margin: 0;
}

body {
    background-color: black;
    font-family: Arial, Helvetica, sans-serif;
}

header {
    display: flex;
    justify-content: center;
    padding: 20px;
    position: sticky;
    top: 0;
    background-color: black;
    border-bottom: 1px solid #334155;
}

header>img {
    width: 5rem;
    height: auto;
}

section {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 20px;
    align-items: center;
}

section h1,
section h2 {
    text-align: center;
    color: white;
}

section h1 {
    color: #c5a55a;
}

section>input {
    padding: 5px;
    color: black;
}

/* landing pages container*/
section>div {
    padding: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-around;
}

/* child of landing pages containers*/
section>div>div {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 10px;
    background-color: #1e293b;
    color: white;
    width: 30%;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

section>div>div:hover {
    background-color: #334155;
}

section>div>div>img {
    height: 10rem;
    width: auto;
    border: 1px solid #c5a55a;
    border-radius: 10px;
}

section>div>div>img:hover {
    cursor: pointer;
    border: 2px solid #b4944a;
    ;
}

section>div>div>h3 {
    color: #c5a55a;
}

section>div>div>a {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #c5a55a;
    border-radius: 10px;
    color: black;
    text-decoration: none;
}

section>div>div>a:hover {
    background-color: #b4944a;
}

/* Modal Code */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(118, 111, 111, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: xx-large;
    cursor: pointer;
    -webkit-text-stroke: 2px #fff;
    padding: 5px;
    color: #666;
}

.close-btn:hover {
    color: red;
    -webkit-text-stroke: 3px red;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

/* Cellphone screen */
@media (max-width: 767px) {

    section h1,
    section h2 {
        font-size: 24px;
    }

    section>div>div {
        width: auto;
    }

    section>div>div h3 {
        font-size: 14px;
    }

    section>div>div h4 {
        font-size: 12px;
    }

    .modal{
        width:21rem;
        padding:10px;
        background-color: rgba(249, 248, 248, 0.8);
    }
    /* .modal-content img {
        max-width: 80%;
    } */

    .modal-content {
        position: relative;
        background-color: #fff;
        padding: 10px;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        margin-left:auto;
        margin-right:auto;
    }

}