* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background-color: #def;
    background-image: radial-gradient(closest-side, transparent 98%,rgba(0, 0, 0, .3) 99%), radial-gradient(closest-side, transparent 98%, rgba(0, 0, 0, .3) 99%);
    background-size: 80px 80px;
    background-position: 0 0, 40px 40px;
    bottom: 0;
}

.top-bar {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    height: 100px;
    background: rgba(0, 0, 0, 0.65);
    display: grid;
    grid-template-columns: 1fr 300px 1fr;
    align-items: center;
    overflow: visible;
}

.nav-left {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-right: 40px;
}

.nav-left a {
    color: aliceblue;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-left a:hover {
    color: white;
}

.nav-right {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-left: 40px;
}

.nav-right a {
    color: aliceblue;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-right a:hover {
    color: white;
}

.cloud-link {
    position: relative;
    width: 300px;
    height: 100px;
    display: block;
    z-index: 2;
}

.cloud {
    position: absolute;
    left: 50%;
    top: 0px;
    transform: translateX(-50%);
    width: 400px;
    height: auto;
    z-index: 2;
}

.left {
    text-align: center;
}

.test {
    text-align: center;
    font-size: clamp(1.8rem, 4vw + 1rem, 3.2rem);
    line-height: 1.2;
    margin: 0.5em 0;
    font-weight: 700;
}


.maxxed {
    max-width: 450px;
    padding: 15px;
    margin: 0 auto;
}

.content {
    text-align: center;
    align-content: center;
    width: 95%;
    max-width: 800px;
    padding: 5px;
    margin-inline: auto;
    background: rgb(236, 243, 231);
}

.content img {
    max-width: 97%;
    height: auto;
}

footer {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    margin-top: 50px;
    padding: 5px;
    background-color: rgb(92, 60, 12);
    color: white;
    text-align: center;
    overflow-wrap: anywhere;
}

footer p {
    margin: 5px 0;
    text-align: left;
}

footer p, h3, h6, h4 {
    margin: 5px 0;
}

footer a {
    color: azure;
    overflow-wrap: anywhere;
}

.column {
  float: left;
  width: 50%;
  padding: 5px;
}


.row:after {
  content: "";
  display: table;
  clear: both;
}

.avatar {
  vertical-align: middle;
  width: 60px;
  height: 60px;
  border-radius: 50%;
}


.box-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.profile {
    max-width: 300px;
    margin: 5px auto;
    text-align: center;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 10px;
    box-sizing: border-box;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn:hover {
    background-color: #45a049;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 10px;
}

.social-links img {
    margin: 0 5px;
    width: 30px;
    height: 30px;
}

.profile h2 {
    margin: 5px 0;
}

.profile h4 {
    margin: 3px 0;
}

.profile p {
    margin: 3px 0;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
}

.divider::before, .divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ccc;
}

.divider span {
    padding:0 1rem;
}

.tidningar {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.tidningar img {
    width: 140px;
    height: auto;
    margin: 10px;
}

@media (max-width: 400px) {
    .cloud-link {
        position: relative;
        width: 100px;
        height: 50px;
        display: block;
        z-index: 2;
    }
    .cloud {
        position: absolute;
        left: 50%;
        top: 20px;
        transform: translateX(-65%);
        width: 130px;
        height: auto;
        z-index: 2;
    }
    .top-bar {
        position: sticky;
        top: 0;
        z-index: 1000;
        width: 100%;
        height: 50px;
        background: rgba(0, 0, 0, 0.65);
        display: grid;
        grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr);
        align-items: center;
        overflow: visible;
    }
    .nav-right {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        padding-left: 10px;
    }
    .nav-left {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        padding-right: 20px;
    }
    .nav-left a {
        color: aliceblue;
        text-decoration: none;
        font-size: 0.7rem;
        font-weight: 700;
        white-space: nowrap;
        transition: color 0.2s ease;
    }
    .nav-right a {
        color: aliceblue;
        text-decoration: none;
        font-size: 0.7rem;
        font-weight: 700;
        white-space: nowrap;
        transition: color 0.2s ease;
    }

}