body{
    background: #A5CCDD;
    margin: 0;
}

.container {
    position: relative;
    text-align: right;
}

.bkg {
    max-width: 100%;
    border-bottom: 5px solid #F59723;
}

.link {
    border-radius: 25px 25px 25px 25px;
    background-color: rgb(255,212,204,0.4);
    border: 1px solid transparent;
    font-size: 2vw;
    font-family: Tahoma;
    color: #c0b0b4;
    text-shadow: #46434E  1px 1px 0, 3px 4px 2px;
}

/* images */

.btn {
    background-color: #A5CCDD;
    border: none;
    font-family: monospace;
    color: #D4778C;
    text-shadow: 1px 1px 0 #4074b5, 1px -1px 0 #4074b5, -1px 1px 0 #4074b5, -1px -1px 0 #4074b5, 1px 0px 0 #4074b5, 0px 1px 0 #4074b5, -1px 0px 0 #4074b5, 0px -1px 0 #4074b5, -40px -40px 0px rgba(51,51,153,0);
    font-size: 20px;
}

#firstbtn i{
    transition: transform 0.3s ease, color 0.3s ease;
    color: #D4778C;
}

#firstbtn:hover i{
    color: grey;
}

#firstbtn.active i {
    transform: rotate(360deg);
    color: gold;
}

.content {
    display: none;
    color: #BC4C5A;
    font-family: monospace;
}


.content.show {
    display: block;
}

.header-top {
    margin-top: 8%;
    display: flex;
    gap: 12px;
}

.intro-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    text-align: center;
    font-family: monospace;
    color: #F59723;
    text-shadow: #393131 1px 1px 0;
}

.postion {
    margin-top: 10%;
}

.grid {
    margin: 10% auto;
    max-width: 1250px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: rgb(0,0,0, 9%);
    padding: 60px;
    overflow: hidden;
    box-shadow: 7px 5px 2px 1px #525252;
}

.img1 {
    max-width: 35%;
    margin: 5px;
    border-radius: 5px;
    height: 25vh;
    border-bottom: 2px dashed white;
    border-top: 2px dashed white;
    transition: transform 0.2s;
}

.img1:active{
    transform: scale(1.5);
    outline: none;
    border: 2px solid #F59723;
}


/* Responsive */

@media screen and (max-width: 1000px){
    .img:active, .img2:active {
        transform: scale(2.5);
        outline: none;
    }
}

@media screen and (max-width: 800px){
    .grid {
            display: grid;
            grid-template-columns: 1fr;
            text-align: center;
            margin-top: 5%;
            margin-left: 5%;
            padding-left: 80px
        }
    .img1 {
            max-width: 100%;
            height: 25vh;

        } 
    .img:active, .img2:active {
            transform: scale(1);
            outline: none;
        }

    }
/* menu */

nav {
    margin: 5em;
    text-align: center;
}

ul {
    font-family: tahoma;
    list-style-type: none;
    font-size: 20px;
}

li a{
    text-decoration: none;
    color: rgb(0,77,26);
}

li:hover {
    background-color: rgb(0,153,51, 0.3);
}

li a:focus, li a:hover {
    color: #F59723;
  }

li {
    border: 2px solid rgb(0,77,26);
    background: transparent;
    padding: 3vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgb(0,77,26);
    width: 100%;       
    box-sizing: border-box;
    margin: auto;
}

.small-container {
    display: grid;
    grid-template-columns: repeat(4, 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;
}