* {
    font-family: "Eagle Lake", serif;
}

@keyframes fadeInPage {
  from { opacity: 0; }
  to { opacity: 1; }
}

body{
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: url('../index/img/backgrounds/berk 1 copy.png') no-repeat center center; background-size: cover;
    animation: fadeInPage 0.5s ease-in;
}

main {
    display: flex;       
    flex-direction: row; 
    flex-wrap: wrap;     
    gap: 20px;          
    padding: 20px;
    flex: 1 0 auto;
}

.intro {           
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 15px;
    margin: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
    background-color: #F7CC7E;
    border: 3px solid #DC1C13;
    border-radius: 20px;
    text-align: center;
    flex-basis: 100%;
}

main section {
    flex: 1;            
    min-width: 250px;    
    padding: 40px;
    margin: 20px;
    margin-top: 0px;
    border: 3px solid #DC1C13;
    border-radius: 20px;
    background-color: #F7CC7E95;
}

.header {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: linear-gradient(to bottom, #ff8133 0%, #F7CC7E 100%);
    padding: 20px;
    margin: 20px;
    margin-bottom: 5px;
    border: 3px solid #DC1C13;
    border-radius: 20px;
}

.header h1 {
    font-size: 50px;
    color: #DC1C13;
    justify-content: space-evenly;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: space-evenly;
    margin: 20px;
    margin-top: 0px;
    margin-bottom: 5px;
    padding: 10px;
}

.menu a {
    text-decoration: none;
    color: #DC1C13;
    font-size: 20px;
    font-weight: bold;
}

.menu a:hover {
    color: #ffffff;
    transition: 0.3s;
}

.menu li {
    padding: 15px;
    border: 3px solid #DC1C13;
    border-radius: 10px;
    background-color: #F7CC7E;
}

.menu li:hover {
    background-color: #ff8133;
    color: #F7CC7E;
    transition: 0.3s;

}

.content_1 {
    font-family: "Eagle Lake", serif;
    font-size: 15px;
    line-height: 1.5;
    color: #000000;
}

.BIT {
    width: 100%;
    max-height: 300px;
    max-width: 300px;
    border-radius: 10px;
    float: right;
    margin-bottom: 15px;
    margin-left: 15px;
}

.content_2 {
    font-family: "Eagle Lake", serif;
    font-size: 15px;
    line-height: 1.5;
    color: #000000;
}

.Runes {
    width: 100%;
    max-height: 400px;
    max-width: 400px;
    border-radius: 10px;
    float: left;
    margin-bottom: 15px;
    margin-right: 15px;
}

.footer {
    background: linear-gradient(to bottom, #F7CC7E 0%, #ff8133 100%);
    padding: 1px;
    margin-top: 5px;
    text-align: center;
    line-height: 70px;
    padding: 0 20px;
}

.footer a {
    text-decoration: none;
    color: #DC1C13;
    font-size: 20px;
    font-weight: bold;
}

.footer a:hover {
    color: #ffffff;
    transition: 0.3s;
}

#menu-toggle, .icon {
    display: none;
}

@media (max-width: 820px) {
    main {
    flex-direction: column;
    align-items: center;
    }   

    .menu {
		display: none;
        flex-direction: column;
    }

    .footer a {
        font-size: 15px;
    }

    .icon {
        display: block;
        padding: 15px;
        border: 3px solid #DC1C13;
        border-radius: 10px;
        background-color: #F7CC7E;
        margin-right: 20px;
        margin-left: 20px;
        margin-top: 10px;
        font-size: 24px;
        cursor: pointer;
    }

    #menu-toggle:checked + .icon + .menu {
        display: flex;
    }

    .header h1 {
        font-size: 30px;
    }

     .content_1, .content_2 {
        font-size: 15px;
    }

}
    