/************************************
      GALVENIE LAPAS PARAMETRI
************************************/


body {
    display: grid;
    margin: 0;
    /* Lapas režģis 10 rūtiņu platumā */
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-gap: 8px;
    padding: 8px; /* NEW */
    height: 100vh;
    background: #dddfe4;
    font-family: 'Roboto', sans-serif !important;
}

* {
    box-sizing: border-box;
}

/* Autentifikācijas formas URL konteineris */

.url {
    display: flex;
    flex-direction: row;
}

/* Saite pēc noklusējuma */

.url a {
    text-decoration: none;
    color: #3676C4;
    display: flex;
    margin: 30px 30px 10px 30px;
    font-weight: bold;
    transition: 0.3s;
}

/* Saite, kad uzlikts kursors */

.url a:hover {
    color: #73aef5;
}

/* ******Visas apmeklējamās lapas************ */

/* Slīdošā izvēlne */

nav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #d5d8df;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

/* PRK logo iekš slīdošās izēlnes */

nav h2 {
    font-size: 25px;
    margin: 0 0 0 -10px;
    color: #1f5896;
}

/* Aizvēršanas pogas krāsa */

#close {
    color: black;
}

/* Aizvēršanas pogas krāsa, kad uzvilkts kursors*/

#close:hover {
    color: gray;
}

/* Navigācijas saites */

nav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color: #3676C4;
    display: block;
    transition: 0.3s;
}

nav a:hover {
    color: #73aef5;
}

/*!* Navigācijas X krusta fiziskie parametri  *!*/

.navigation-row a {
    padding: 0;
    font-size: 25px;
}

nav .closebtn {
    /*font-weight: bold;*/
    /*font-size: 30px;*/
    /*padding: 0 0 30px 0;*/
    /*    position: absolute;*/
    /*    top: 0;*/
    /*    right: 25px;*/
    /*    font-size: 30px;*/
    /*    margin-left: 50px;*/
}

/* Galvenes sadaļa visām lapām */

header {
    display: flex;
    flex-direction: column;
    grid-row: 1;
    grid-column: 1/5;
}

/* Visi h1 būs gaiši zilā krāsā */

h1 {
    color: #3676C4;
    margin: 0 10px;
}

h2 {
    text-align: center;
    color: #3676C4;
    margin: 0 10px;
    font-size: 30px;
}

.main-text {
    text-align: center;
    bottom: 0;
    margin: 0;
}

main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 20px 5px;
}

.header-menu {
    height: 100%;
    font-size: 35px;
    cursor: pointer;
    margin: 0 10px;
    color: gray;
    font-weight: bold;
    float: left;
}

header span {
    float: left;
}

.event-map {
    width: 100%;
    padding: 10px;
}


/*.header-profile {*/
/*    float: right;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    text-align: center;*/
/*    margin: 5px;*/
/*}*/

/* Satura sadaļa ar "iespiestu" neumorfisma stilu */

main {
    display: flex;
    grid-column: 1/5;
    grid-row: 2/7;
    border-radius: 11px;
    justify-content: center;
    text-align: center;
    margin: 0 10px;
    background: #dddfe4;
    box-shadow: inset 12px 12px 24px #cecfd4, inset -12px -12px 24px #eceff4;
}

.host-logos {
    float: right;
    margin: 10px 0 0 0;
}

.host-logos img {
    height: 35px;
    width: inherit;
}

.information {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-row: 2/7;
    grid-column: 1/5;
    height: max-content;
}

.information button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    border-radius: 4px;
    border: none;
    box-shadow: 9px 9px 16px rgb(163, 177, 198, 0.6), -9px -9px 16px rgba(255, 255, 255, 0.5);
    background: #dddfe4;
    font-size: 15px;
    padding: 10px;
    margin: 10px 0 0 5px;
}

.information button:hover {
    box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, .1), -4px -4px 10px rgba(255, 255, 255, 1)
}

.information button:focus {
    transform: scale(0.95);
    box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, .1), -4px -4px 10px rgba(255, 255, 255, 1), 4px 4px 10px 0 rgba(0, 0, 0, .1) inset, -4px -4px 10px rgba(255, 255, 255, 1) inset
}

.information a {
    text-decoration: none;
    color: #3676C4;
}

.information p {
    text-align: left;
    font-family: sans-serif;
    font-weight: normal;
}


.information ul li {
    text-align: left;
    font-family: sans-serif;
    font-weight: revert;
}

footer {
    display: block;
    flex-direction: row;
    text-align: center;
    grid-row: 8;
    grid-column: 1/5;
    border-radius: 11px;
    justify-content: center;
    margin: 0 10px;
    padding: 10px;
    height: fit-content;
    background: #dddfe4;
    box-shadow: inset 12px 12px 24px #cecfd4, inset -12px -12px 24px #eceff4;
}

footer img {
    height: 30px;
    width: auto;
}

.navigation-row {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.competition-results {
    display: flex;
    flex-direction: column;
    grid-column: 1/5;
    border-radius: 11px;
    justify-content: center;
    text-align: center;
}

.competition-results button {
    width: 500px;
    border-radius: 4px;
    border: none;
    box-shadow: 9px 9px 16px rgb(163, 177, 198, 0.6), -9px -9px 16px rgba(255, 255, 255, 0.5);
    background: #dddfe4;
    font-size: 15px;
    padding: 10px;
    margin: 10px 0 0 5px;
}

.competition-results button:hover {
    box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, .1), -4px -4px 10px rgba(255, 255, 255, 1)
}

.competition-results button:focus {
    transform: scale(0.95);
    box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, .1), -4px -4px 10px rgba(255, 255, 255, 1), 4px 4px 10px 0 rgba(0, 0, 0, .1) inset, -4px -4px 10px rgba(255, 255, 255, 1) inset
}

.competition-results a {
    padding: 5px;
    text-decoration: none;
    color: #3676C4;
}

.competition-results p {
    text-align: left;
    font-family: sans-serif;
    font-weight: normal;
}


.competition-results ul li {
    text-align: left;
    font-family: sans-serif;
    font-weight: revert;
}

@media screen and (max-width: 488px) {
    h2 {
        font-size: 25px;
    }

    .header-menu {
        font-size: 35px;
    }

    .host-logos {
        margin: 5px 0 0 0;
    }

    .host-logos img {
        height: 30px;
    }
}

@media screen and (max-width: 413px) {
    h2 {
        font-size: 20px;
    }

    .header-menu {
        font-size: 30px;
    }

    .host-logos img {
        height: 25px;
    }
}

@media screen and (max-width: 339px) {
    h2 {
        font-size: 18px;
    }

    .header-menu {
        font-size: 25px;
    }

    .host-logos img {
        height: 20px;
    }
}

@media screen and (max-width: 307px) {
    h2 {
        font-size: 15px;
    }

    .header-menu {
        font-size: 20px;
    }

}

@media screen and (max-width: 150px) {
    body {
        position: fixed;
    }
}