/* Generel styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
body {
    height: 100vh;
    overflow-x: hidden;
    width: 100%;
}
img {
    max-width: 100%;
}
p {
    line-height: 1.6;
}
/*Header og navigation*/
header{
    background-color: black;
}
header a{
    text-decoration: none;
    color: white;
}
header ul{
    list-style: none;
    background-color: black;
}
#mobileMenuTrigger{
    border: none;
    background-color: transparent;
    cursor: pointer;
}
#mobileMenuTrigger div{
    width: 30px;
    height: 3px;
    background-color: black;
    margin: 5px;
    border-radius: 5px;
    transition: transform 0.5s ease;
}
.nav-logo-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
}
.nav-links{
    text-align: center;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 30px 0px 40px;
}
.nav-links li{
    padding: 10px 0px 40px;
}
.nav-links-container{
    border: solid;
    max-height: 0px;
    overflow-y: hidden;
    transition: max-height 0.5s ease-in-out;
}
.active{
    max-height: 2000px;
}
.active .line1 {
    transform: rotate(-45deg) translate(-7px, 6px);
}
.active .line2{
    opacity: 0;
}
.active .line3{
    transform: rotate(45deg) translate(-5.2px, -4px);
}
/*SoMe i navigation*/
.nav-some{
    display: flex;
    justify-content: center;
    padding-bottom: 35px;
    gap: 20px;
}
.nav-some i {
    color:white;
    font-size: 1.8rem;
}
/*Cirkel rundt om hamburgermenu*/
.circle-wrapper {
    position: relative;
    display: inline-block;
    width: 50px; 
    height: 50px;
    border-radius: 50%;
    background-color: #FCAA32; 
    display: flex;
    align-items: center;
    justify-content: center;
}
/*Main sektion med video*/
.main_frontpage {
    height: 80vh;
    color: white;
    text-align: center;
}
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.video-container h1{
    opacity: 0;
    transform: translateY(20px);
    font-size: 3.4rem;
    animation: fadeIn 1.5s ease-out forwards;
}
.video-container h2{
    font-size: 2.8rem;
    animation: fadeIn 2s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}
@keyframes fadeIn {
    to {
        opacity: 1; 
        transform: translateY(0);
    }
}
.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
}
/*Brun linje*/
.brown_line {
    height: 50px;
    background-color: #9F581F;
    margin-bottom: 20px;
}
/*Eventsektion*/
#events {
    color: black;
    display: flex;
    margin-top: 10px;
    margin-bottom: 20px;
    justify-items: center;
    grid-template-columns: repeat(4, 1fr);
    overflow-x: auto;
}
#events a{
    color: black;
    text-decoration: none;
}
.date_title{
    display: grid;
    grid-template-columns: 15% 85%;
}
.box{
    display: grid;
    grid-template-rows: 80% 20%;
    width: 75vw;
    margin-left: 15px;
}
.pic_event img{
    border-radius: 10px 10px 0 0;
    aspect-ratio: 5/3;
    width: 100%;
    object-fit: cover;
}
.date {
    background-color: #ED9F2D;
    display: flex;
    flex-direction: column;
    font-weight: bold;
    line-height: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 0 10px;
}
.number {
    font-size: 1rem;
}
.eventtitle{
    background-color: #1D383F;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    border-radius: 0 0 10px 0; 
}
/*Untappd og maps sekstion*/
.untappd_maps{
    background-color: #122226;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
}
/*Untappd på forside*/
.untappd {
    background-color: #1D383F;
    width: 100%;
    margin-right: 15px;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}
.untappd img {
    width: 120px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.untappd h2 {
    margin-top: 30px;
}
.untappd h3 {
    font-size: 30px;
    margin-top: 10px;
}
.untappd p {
    margin-bottom: 100px;
}
/*Maps på forside*/
.maps{
    background-color: #1D383F;
    width: 100%;
    padding-bottom: 50px;
}
.maps h2{
    margin-top: 30px;
    margin-bottom: 10px;
}
.maps p {
    margin-bottom: 20px;
}
.maps iframe{
    border-radius: 10px;
}
/*Billedsektion på forside*/
.pictures_frontpage {
    background-color: #122226;
    display: flex;
    gap: 10px;
    overflow-x: auto;
}
.pictures_frontpage img {
    border-radius: 50px;
    width: 75vw;
    padding: 30px 0px 30px 0px;
    aspect-ratio: 7/5;
    object-fit: cover;
}
/*Grøn linje*/
.green_line {
    height: 2rem;
    background-color: #172D32;
}
/*Footer*/
footer {
    background-color: #ED9F2D;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
}
footer h4{
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 10px;
}
.contact_footer {
    display: flex;
    align-items:  center;
    flex-direction: column;
    order: 1;
    margin-bottom: 30px;
}
.contact_footer a {
    color: black;
}
.tekst_contact {
   align-items: center;
}
.some_footer{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: bold;
    order: 2;
    margin-bottom: 50px;
}
.contact_footer a {
    text-decoration: none;
}
/*SoMe-ikoner*/
.fa-square-instagram, .fa-square-facebook{
    font-size: 45px;
    color: black;
    padding: 10px;
}
/*Åbningstider*/
.opening{
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 0;
    align-items: center;
    order: 0;
    margin-bottom: 30px;
}
.opening img{
    width: 150px;
    height: 150px;
}
/*Farvet bar i bunden af footer */
.colorbar {
    height: 2rem;
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.colorbar div{
    flex: 1;
    height: 100%;
}
.dark_green{
    background-color: #1D383F;
}
.yellow{
    background-color: #FCAA32;
}
.orange {
    background-color: #E6792B;
}
.brown{
    background-color: #71221C;
}
.red {
    background-color: #DF5429;
}
/*Om os*/
.ombrewpub {
    display: flex;
    flex-direction: column; 
    gap: 20px; 
    padding: 30px;
}
.ombrewpub h1 {
    text-align: center;
    margin-bottom: 10px; 
}
.video-omos video{
    height: 50vh;
    border-radius: 20px;
    width: 100%;
    object-fit: cover;
}
.historie {
    background-color: #122226;
    color: white;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: start;
    padding-left: 20px;
}
.vores {
    background-image: url('../img/beerbackground.jpg');
    background-size: cover;
    height: 100vh;
    padding-left: 10px;
    background-color: #122226;
}
.vores h3 {
    font-size: 2rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    padding-top: 150px;
}
.historie_tekst {
    background-color: #1D383F;
    color: white;
    padding: 40px 30px 30px 30px;
}
.beers {
    display: flex;
    gap: 20px;
    width: 100%;
    overflow-x: scroll;
    margin-top: 30px;
    height: auto;
}
.beers img {
    min-width: 250px;
}
.beer1 img, .beer2 img, .beer3 img {
    height: 45vh;
    border-radius: 15px 15px 0 0;
    object-fit: cover;
    display: block;
}
.beer_text {
    background-color: #000;
    color: white;
    height: 70px;
    border-radius: 0 0 15px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ejerne {
    padding: 20px;
}
.ejerne h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.ejerne img {
    border-radius: 20px;
    margin-bottom: 20px;
}
/*Blogside*/
.blog_text {
    padding: 30px;
}
.blog_text h1 {
    text-align: center;
    padding-bottom: 20px;
}
.blog_top {
    margin: 0 35px 30px 35px;
}
.blog_top h1 {
    text-align: center;
    margin: 20px 0 20px 0;
}
.blog {
    display: flex;
   flex-direction: column;
   gap: 20px;
   height: 60vh;
   overflow-y: auto;
   align-items: center;
}
.blog a {
    text-decoration: none;
}
.year {
    background-color: #1D383F;
    margin: 0px 25px 0 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.year h2 {
    color: white;
    text-align: center;
    margin: 15px 0 15px 0;
}
.year img {
    width: 90%;
    border-radius: 15px;
    margin-bottom: 15px;
}
.some_blog {
    margin: 40px 40px 30px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.some_blog h3 {
    margin-bottom: 10px;
}
.some_blog p {
    margin-bottom: 30px;
}
/*Side med blogindlæg*/
.blog_top h1 {
    background-color: #1D383F;
    color: white;
    border-radius: 15px;
    padding: 15px 0 15px 0;
}
.blog_indlæg, .blog_indlæg2 {
    margin: 0px 20px 30px 20px;
}
.blog_indlæg img, .blog_indlæg2 img {
    border-radius: 10px;
}
.blog_indlæg p, .blog_indlæg2 p {
    margin-top: 20px;
    margin-bottom: 20px;
}
/*Frivillig*/
.container1 {
    width: 100%;
    background-color: #1D383F;
    padding: 20px;
    color: white;
    padding-bottom: 50px;
}
.container1 h1 {
    color: white;
    font-size: 24px;
    text-align: center;
}
.container1 h2 {
    font-size: 16px;
    margin: 20px 0 20px 0;
    padding-top: 20px;
    font-size: 1rem;
}
.container1 img {
    margin-top: 20px;
    border-radius: 10px;
}
.container2 {
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
}
.brown_line {
    height: 50px;
    background-color: #9F581F;
    width: 100%;
}
form {
    margin-top: 20px;
    background-color: #1D383F;
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
}
form label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}
form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
form button {
    background-color: #ED9F2D;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 16px;
}
form button:hover {
    background-color: #B8CDE0;
}
/*Tablet version*/
@media screen and (min-width: 768px) {
/*Navigation*/
.circle-wrapper{
    display: none;
}
.nav-links-container{
    max-height: none;
}
.nav-links {
    flex-direction: row;
    justify-content: center;
    margin: 18px 0px 20px;
}
.nav-links li {
    border: none;
    padding: 0;
}
.nav-logo-container {
    justify-content: center;
    padding: 25px 0px 0px;
}
.nav-some {
    padding-bottom: 25px;
}
/*Frivillig*/
.frivillig {
    display: grid;
    justify-items: center;
}
/*Desktop-version*/
@media screen and (min-width:1025px) {
 /*Navigation*/
#navbar {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    max-width: 1800px;
    margin: auto;
    width: 100%;
}
.nav-logo-container {
    padding: 0px;
}
.nav-links-container {
    display: flex;
    width: 100%;
    align-items: center;
}
.nav-links {
    border: solid;
    flex: 1;
}
.nav-some {
    padding: 0;
}
/*Effekter på links og SoMe-ikoner*/
.nav-links-container {
    position: relative;
}
.nav-links-container .nav-some a {
    position: relative; 
    width: 50px;
}
.nav-links-container .nav-some a::before {
    content: '';
    height: 15px;
    width: 100%;
    background-color: white;
    position: absolute;
    bottom: -15px;
    left: 0;
    filter: blur(10px);
    transform: rotateX(90deg);
    transition: transform 0.3s ease;
}
.nav-links-container .nav-some a:hover::before {
    transform: rotateX(85deg);
}
.nav-links-container .nav-some a:hover i {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}
.nav-links li a {
    position: relative;
}
.nav-links li a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0px;
    height: 2px;
    width: 0px;
    background: white;
    transition: width 0.5s ease;
}
.nav-links li a:hover::before {
       width: 60px;
}
/*Eventsektion*/
#events {
    margin-top: 10px;
    margin-bottom: 40px;
}
.box{
    width: 40vw;
    margin-left: 15px;
}
.number {
    font-size: 1.8rem;
}
.month {
    font-size: 1.2rem;
}
.eventtitle{
    font-size: 2rem;
}
/*Untappd og maps sekstion*/
.untappd_maps{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap:40px;
    }
    .untappd {
        margin: 0;
        border-radius: 0 0 20px 0px;
    }
    .maps {
        border-radius: 0 0 0 20px;
    }
    .maps iframe {
       height: 60%;
    }
    .maps p {
        margin-bottom: 40px;
    }
    /*Billedsektion*/
    .pictures_frontpage img {
        width: 30vw;
    }
    /*Footer*/
    footer {
        display: flex;
        flex-direction: row;
    }
    .opening {
        order: 0;
        display: flex;
        flex-direction: row;
        gap: 15px;
        margin-top: 20px;
    }
    .some_footer {
        order: 1;
        margin-top: 20px;
    }
    .contact_footer {
        margin-top: 20px;
    }
    /*Om os*/
    .ombrewpub {
        margin: 0 50px 0 50px;
    }
    .video-omos {
        width: 40vw;
        margin: 0 auto;
    }
    .vores {
        display: flex;
        flex-direction: column;
        justify-content: end;
    }
    .vores h3 {
        font-size: 2.5rem;
        text-align: center;
    }
    .beers {
       display: flex;
       justify-content: center;
       width: 100%;
       padding-bottom: 60px;
    }
    .beer1, .beer2, .beer3 {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    .beer1 img, .beer2 img, .beer3 img {
        width: 100%;
        object-fit: cover;
    }
    .beer_text {
        width: 100%;
    }
    .historie {
        display: none;
    }
    .historie_tekst p  {
        margin: 20px 200px 20px 200px
    }
    .ejerne {
        display: flex;
        margin: 40px 200px 40px 200px;
        gap: 20px;
    }
    .tekst_ejerne {
        display: flex;
        flex-direction: column;
    }
    .ejerne img {
        height: 25vw;
    }
    /*Blog*/
    .blog {
        height: 90%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        margin: 0 70px 0 70px;
        overflow: hidden;
    }
    .blog_text {
        margin: 0 120px 30px 120px;
    }
    .year {
        justify-self: center;
    }
    .some_blog {
        display: flex;
        flex-direction: row;
        margin: 30px 100px 30px 100px;
        gap: 100px;
        font-size: larger;
    }
    /*Blogindlæg*/
    .blog_top {
        margin-left: 100px;
    }
    .blog_top h1 {
        width: 45%;
    }
    .blog_indlæg, .blog_indlæg2 {
        display: flex;
        gap: 20px; 
        margin: 35px 100px 35px 100px;
    }
    .blog_indlæg img, .blog_indlæg2 img {
        width: 50%;
        border-radius: 15px; 
    }
    .blog_tekst2 {
        order: 1;
    }
    /*Frivillig*/
    .container1 {
        padding: 40px 150px 50px 150px;
    }
    .frivillig {
        display: flex;
        gap: 30px;
        margin-top: 20px;
    }
    .frivillig img {
        order: 1;
        width: 20%;
        object-fit: cover;
        height: 300px;
    }
    .container2 {
        padding: 40px 150px 50px 150px;
        display: grid;
        justify-items: center;
    }
    .container2 h3 {
        line-height: 1.6;
    }
    .container2 form {
        width: 500px;
    }
