*{
    margin: 0;
    padding: 0;
}

body {
    background-color:  rgba(192, 227, 255, 0.5);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html, body {
    height: 100%;
}
main, .container {
    flex: 1;
}
header{
        background-color: rgba(105, 187, 255, 0.5);
        padding: 10px 16px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}

.nav-links {
    display: flex;
    align-items: center;
}
.nav-links a:hover{
    color: papayawhip;
    text-decoration: underline;
}
#current:hover {
    color: peachpuff;
}
nav a {
    color: black;
    text-decoration: none;
    margin-left: 24px;
}
a {
    font-size: large;
}
#current {
    color: white;
}

.logga-container {
    display: flex;
    align-items: center;
}

.logga {
    height: 75px;
    width: 100px;
    object-fit: cover;
    margin-right: 20px;
}

.logga:hover {
    cursor: pointer;
}

.name {
    font-weight: bold;
    font-size: 24px;
    color: black;
}

a {
    transition: color 0.3s;
}

footer {
    background-color: darkcyan ;
    color: white;
    padding: 40px 20px;
    opacity: 0.8;
    font-size: 16px;
    margin-bottom: 0;
    margin-top: auto;
}
.footcontainer {
    display: flex;
    justify-content: space-between;
    text-align: center;
}
.footer-section {
    width: 30%;
    overflow-wrap: anywhere;
}
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    opacity: 0.7;
}
.lifoot {
    list-style: none;
    margin: 8px 0;
    text-align: center;
}
ul a {
    color: #cbd5f5;
    text-decoration: none;
}
ul a:hover {
    text-decoration: underline;
    color: cornsilk;
    padding-left: 5px;
}
.footer-section h3 {
    margin-bottom: 10px;
}
hr {
    margin-top: 30px;
}
@media (max-width: 1024px) {
    .ffbg {
        height: 50vh;
    }

    .intro-text {
        font-size: 18px;
    }
}
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links a {
        margin: 10px 0;
        font-size: 16px;
    }
}