* {
    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 IE, Edge and Firefox */
  overflow-x: hidden;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
    display: none;
}

main>header>h1 {
    color: aliceblue;
    text-align: center;
    font-size: 48px;
}

h2 {
    color: black;
    font-size: 40px;
    text-align: center;
    background-color: beige;
}

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)
}

article {
    margin: auto;
    color: aliceblue;
    max-width: 40rem;
}

header {
    position: relative;
    padding-top: 2rem;
}
/*https://codepen.io/ainalem/pen/LJYRxz - animation till hamburgarmenyn*/

caption {
    color: aliceblue;
}

.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;
}

.Readmore {
    padding: 12px 40%;
    color: black;
    background-color: beige;
    display: block;
    margin:auto;
}
#more {display: none;}

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;
}
/* 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 */

footer {
    color: #212E53;
    background-color: beige;
}

/* RESPONSIVE DESIGN PLATTA: */
@media screen and (min-width: 678px) {
    body {
        max-height: 900px;
    }
    tr>td {
        padding: 1rem 6.32rem;
        background-color: beige;
        align-items: center;
    }

    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;
    }
}