* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

:root {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color:aliceblue;
}


body {
    max-width: 800px;
    height: 1100px;
    max-height: 700px;
    margin: auto;
    /*background-image: url(../img/betaniabackground.jpg);*/
    background-color: #212E53;
    background-size: cover;
    background-position: center;
    /*https://alvarotrigo.com/blog/background-video-css/    hur man ska göra en video som bakgrund*/
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html, body {
    overflow-x: hidden;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

body>header>h1 {
    color: aliceblue;
    text-align: center;
    font-size: 48px;
}

h3 {
    color: aliceblue;
    margin: auto;
    font-size: 32px;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: aliceblue;
    font-size: 1rem;
}

a:hover {
    color: #fff5f9
}

nav {
    background-color: #2E5660;
}

/*Drop down meny*/
nav>.dropdown_menu a:hover {
    background-color: aliceblue;
    color: black;
}

nav>.dropdown_menu {
    display: block;
    height: 0;
    width: 100%;
    background-color: #8a4545;
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    position: absolute;
    box-shadow: 0px 4px 6px rgba(247, 51, 16, 0.1);
    z-index: 1000;
    /* Se till att menyn är överst */
    transition: height cubic-bezier(0.175, 0.885, 0.32, 1.275)
}

header {
    position: relative;
    padding-top: 2rem;
}

/*https://codepen.io/ainalem/pen/LJYRxz - animation till hamburgarmenyn*/
.ham {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hamRotate.active {
    transform: rotate(45deg);
}

.hamRotate180.active {
    transform: rotate(180deg);
}

.line {
    fill: none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke: #fffafa;
    stroke-width: 5.5;
    stroke-linecap: round;
}

.ham1 .top {
    stroke-dasharray: 40 139;
}

.ham1 .bottom {
    stroke-dasharray: 40 180;
}

.ham1.active .top {
    stroke-dashoffset: -98px;
}

.ham1.active .bottom {
    stroke-dashoffset: -138px;
}

.mySlides {
    width: 100%;

}

.w3-contentw3-section {
    max-width: 500px;
    margin: auto;
}
/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}
@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.photobutton>ul>li>a>img {
    max-width: 10rem;
    max-height: 10rem;
    border-radius: 1rem;
    margin: 0.5rem;
    align-items: center;
}

.photobutton>ul {
    display: flex;
}

nav>ul {
    display: flex;
}

nav>ul>li {
    display: none;
}

nav>ul>li>a {
    padding: 20px 10px;
}

nav>.dropdown_menu li {
    padding: 0.7rem;
    display: flex;
    justify-content: center;
}

nav>.dropdown_menu li>a {
    padding: 25px 100%;
}

nav>.dropdown_menu.open {
    height: 500px;
    margin: auto;
}
/* Hide the link that should open and close the topnav on small screens */
.topnav>.icon {
    display: none;
}

nav .dropdown_menu .action_btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

.toggle_btn {
    display: block;
    background-color: transparent; 
    border:none;
    position: absolute;
    right: 10px;
    top: -15px;
}

.toggle_btn i {
    font-size: 2.5rem;
}

main>ul>li>img {
    max-width: 7rem;
    align-items: center;
}

main>ul>li {
    display: flex;
    align-items: center;
    color: aliceblue;
    justify-content: space-around;
}
/* Style all font awesome icons */
.fa {
    padding: 20px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
}
/* Add a hover effect if you want */
.fa:hover {
    opacity: 0.7;
}

.fa-linkedin {
    background: #007bb5;
    color: white;
}

.fa-youtube {
    background: #bb0000;
    color: white;
}

.fa-instagram {
    background: #125688;
    color: white;
}

/* Set a specific color for each brand */

/* Facebook */
.fa-facebook {
    background: #3B5998;
    color: white;
}

/* Twitter */
.fa-twitter {
    background: #55ACEE;
    color: white;
}
/* Style the video: 100% width and height to cover the entire window */
input[type=text] {
    width: 130px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
}

/* When the input field gets focus, change its width to 100% */
input[type=text]:focus {
    width: 100%;
}

form>fieldset>legend {
    color: aliceblue;
}

form>fieldset>textarea {
    width: 21rem;
}

label {
    color: aliceblue;
}

footer {
    color: #212E53;
    background-color: beige;
}

/* RESPONSIVE DESIGN PLATTA: */
@media screen and (min-width: 678px) {
    body {

        max-height: 900px;
    }
    form>fieldset>textarea {
        width: 30rem;
    }
    .dropdown_menu {
        left: 2rem;
        width: unset;
    }
    .toggle_btn {
        display: none;
    }
    nav ul li {
        display: block;
    }
    nav {
        width: 100%;
        height: 60px;
        min-width: 360px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    gap: 1.5rem;
}


/* RESPONSIVE DESIGN dator: */
@media screen and (min-width: 1024px) {
    body {
        max-height: 950px;
    }

    nav {
        position: fixed;
        right: 0;
    }

    header {
        position: static;
        padding-top: 4.1rem;
    }

    .logo {
        padding: 1.5rem;
    }
}