/* Heading */

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

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

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

.fly {
    top: 50%;
    left: 60%;
    white-space: nowrap;
    opacity: 1;
    transition: transform 0.1s ease-out, opacity 1s ease;
    z-index: 100;
    color: #D4778C;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Photo section */

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    margin-top: 5%;
}

.grid1 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    margin-top: 10%;
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    text-align: center;
    margin-top: 10%;
}

.title {
    font-family: tahoma;
    text-align: center;
    margin-top: 8%;
    color: #46434E;
}

.title1 {
    font-family: tahoma;
    text-align: center;
    margin-bottom: 8%;
    color: #46434E;
    text-shadow: 2px 2px 0px #FFFFFF, 5px 4px 0px rgba(0,0,0,0.15);
}

.box {
    padding: 10px 0px 10px 0px;
    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);
}

.img {
    max-width: 50%;
    border: solid 1px;
    outline: 2px dashed #D4778C;
    outline-offset: 13px;
    transition: transform 0.2s;
}

.img2 {
    max-width: 70%;
    border: solid 1px;
    outline: 2px dashed #D4778C;
    outline-offset: 13px;
    transition: transform 0.2s;
}

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

/* Revealing text */

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

.header-top {
    margin-top: 5%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.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;
}

.content {
    max-height: 0;
    padding: 0 18px;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    color: #46434E;
    text-shadow: none;
}

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

#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;
}

.content1.show {
    display: block;
}

.btn.active + .content{
    max-height: 500px; 
}

/* Photo gallery */

.txt {
    font-family: monospace;
    text-align: center;
    margin-top: 8%;
    color: #46434E;
}

.gallery{
    margin: 10% auto;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .photo{
    margin: 5px;
    border-radius: 5px;
    height: 30vh;
    flex-grow: 1;
    object-fit: cover;
    opacity: 0.9;
    border: 1px dashed #46434E;
  }
  .photo:hover{
    opacity: 1;
  }

/* Responsive */

@media screen and (max-width: 1024px){
    .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%;
        }
    .grid1 {
            display: grid;
            grid-template-columns: 1fr;
            text-align: center;
            margin-top: 10%;
        }
    .grid2 {
            display: grid;
            grid-template-columns: 1fr;
            text-align: center;
            margin-top: 10%;
        }  
    .img:active, .img2:active {
            transform: scale(1.5);
            outline: none;
        }   
    }

@media screen and (max-width: 400px){ 
    .img:active, .img2:active {
            transform: none;
            outline: 2px dashed #D4778C;
        } 
    .photo{
        opacity: 10;
        }
    }

/* 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: #c0b0b4;
}

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(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;
}

.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;
}

#section2 button:hover, #section3 button:hover {
    opacity: 0.8;
    border: 1px dotted black;
}

#section2 button {
    margin-right: 1em;
    padding: 10px 5px 15px 10px;
}

#section3 button {
    margin-right: 1em;
    padding: 15px 20px 10px 15px;
}

.separator {
    border-bottom: 5px dashed #D4778C;
    margin-top: 5%;
}
