/*Stylesheet for the ewmas page*/

main {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 50%);
    grid-template-rows: 500px min-content min-content min-content min-content;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

.ewmasheader {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    font-size: clamp(1rem, 4vw, 2rem);
    grid-column: 1/3;
    grid-row: 1/2;
    height: 100%;
    text-align: center;
    place-items: center;
    padding-left: 50px;
    padding-right: 50px;
    background-image: url("../Images/AdobeStock_1833560380.jpeg");
    background-size: cover;
}

.ewmasinfo {
    display: flex;
    flex-direction: column;
    grid-column:1/3;
    grid-row: 2/3;
    font-size: clamp(1rem, 1.5vw, 2rem);
    text-align: center;
    align-content:space-evenly;
    background-color: rgb(24, 38, 49);
    font-family: Arial, Helvetica, sans-serif;
    padding: 10px;
}

.updates {
    display: flex;
    flex-direction: column;
    grid-column:1/3;
    grid-row: 5/6;
    font-size: clamp(1rem, 1.5vw, 2rem);
    text-align: center;
    align-content:space-evenly;
    background-color: rgb(66, 77, 83);
    font-family: Arial, Helvetica, sans-serif;
    padding: 10px;
}

#ewmasprivacy {
    text-decoration: underline;
}

.apps {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    grid-template-rows: repeat(3, 33%);
    justify-items: center;
}

.apps > p {
    width: 250px;
    border-style: solid;
    border-color: white;
    border-width: 3px;
    border-radius: 10px;
    padding: 5px;
    background-color: gray;
}

#centerapp {
    grid-column: 1/3;
}

.tab {
    display: inline-flex;
    justify-content: space-evenly;
    width: 100%;
    background-color: rgb(116, 135, 146);
    grid-column: 1/3;
    grid-row: 3/4;
}

.tab button {
    background-color: inherit;
    font-weight: bold;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: clamp(1rem, 1.5vw, 2rem);
}

.tab button:hover {
    background-color: #ddd;
}

.tab button.active {
    background-color: #ccc;
}

.tabcontent {
    display: none;
    text-align: center;
    padding: 6px 12px;
    background-color: rgb(31, 68, 89);
    color: white;
    font-size: clamp(1rem, 1.5vw, 2rem);
    font-weight: bold;
    grid-column: 1/3;
    grid-row: 4/5;
}

@media screen and (max-width: 600px) {
    main {
        grid-template-rows: 200px min-content min-content min-content min-content;
    }

    .apps > p {
        width: 140px;
    }
}