/* Opening section */

html {
    scroll-behavior: smooth;
}

body{
    background: #A5CCDD;
    margin: 0;
}

.container {
    position: relative;
    text-align: center;
}

.btnmenu {
    display: inline-flex;
}

.bkg {
    max-width: 100%;
}

.pretitle {
    position: absolute;
    z-index: auto;
    top: 30%;
    left: 51%;
    transform: transform(-50%, -50%);
    font-size: 3vw;
    font-family: Tahoma;
    color: #333399;
    text-shadow: #46434E 1px 1px 0, 3px 4px 2px #46434E;
}
/* 60px */
.centered {
    position: absolute;
    z-index: auto;
    top: 35%;
    left: 50%;
    transform: transform(-50%, -50%);
    font-size: 5.5vw;
    font-family: Tahoma;
    color: #333399;
    text-shadow: #e0e0e0  1px 1px 0, 3px 4px 2px #46434E;
}

.link {
    position: absolute;
    z-index: auto;
    top: 45%;
    left: 51%;
    transform: transform(-50%, -50%);
    font-size: 3vw;
    font-family: Tahoma;
    color: #333399;
    text-decoration: none;
    text-shadow: #e0e0e0  1px 1px 0, 3px 4px 2px;
}

button {
    border-radius: 25px 25px 25px 25px;
    outline: 3px double #333399;
    outline-offset: 0px;
    background-color: transparent;
}

button:hover {
    color: #D4778C;
    text-shadow: #46434E  1px 1px 0, 3px 4px 2px #46434E;
    outline: 3px double #D4778C;
}

/* Menu */

nav {
    margin: 5em;
    text-align: center;
}

ul {
    font-family: tahoma;
    list-style-type: none;
    font-size: 20px;
}

li a{
    text-decoration: none;
    color: #46434E;
}

li:hover {
    background-color: #BBB0C0;
}

li a:focus, li a:hover {
    color: white;
  }

li {
    border: 2px solid #46434E;
    background: transparent;
    padding: 3vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #46434E;
    width: 100%;       
    box-sizing: border-box;
    margin: auto;
}

.small-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 4 equal columns */
    gap: 2em;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    font-size: 1.5vw;
    max-width: 100vw; 
}

li i {
    font-size: 5vw; 
    margin-bottom: 1vw;
}

@media screen and (max-width: 800px) {
    li {
        margin: 50 20 50 20;
        border: 2px solid #46434E;
        background: transparent;
        padding: 20px 15px 20px 15px;
        display: inline-block;
        color: #46434E;     
    }
}


