body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.clear {
    clear: both;
    visibility: hidden;
    height: 0;
    content: " ";
    display: block;
}

.name {
    display: inline-block;
    color: rgb(253, 115, 68);
    font-weight: 700;
    margin: 0px;
}

.title {
    font-size: 1.0rem;
    color: rgb(83, 98, 108);
    font-family: Roboto, sans-serif;
    margin: 0px;
    padding-bottom: 20px;
}

.personalia {
    display: flex;
    color: rgb(0, 0, 0);
    margin: 0px;
    border: 1px;
    font: inherit;
    vertical-align: baseline;    
    opacity: 1;
    /*transform: translateY(0px);*/
    animation: initial;
    box-sizing: border-box;
}

.mobile {
    color: rgb(0, 0, 0);
    margin: 0px;
    width: 48%;
    float: left;
}

.mobile-heading {
    color: rgb(140, 157, 169);
    font-size: 1.0rem;
    font-family: Raleway, sans-serif;
}

.mobile-text {
    font-weight: 700;
    color: rgb(20, 27, 32);
    font-size: 1.0rem;
}

.location {
    flex: 1 1 50%;
    min-width: 150px;
    padding: 0px 10px 20px;
    width: 48%;
    float: right;
}


.location-heading {
    color: rgb(140, 157, 169);
    font-size: 1.0rem;
    font-family: Raleway, sans-serif;
}

.location-text {
    font-weight: 700;
    color: rgb(20, 27, 32);
    font-size: 1.0rem;
}


.background {
    background-image: url('../img/cs-background.jpg'); /* Oppdater med riktig bakenforliggende bilde */
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
}

.container {
    align-items: center;
    height: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;    
    justify-content: center;
}

.left-right-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

@media (max-width: 768px) {
    .left-right-container {
        flex-direction: column;
    }
    img {
        max-width: 50%; /* Begrens bildets maksimale bredde til 100% av foreldrelementet */
        height: auto; /* Automatisk høyde for å opprettholde sideforhold */
    }    
}

.left {
    flex: 1;
    width: 50%;
    max-width: 300px;
    padding: 20px;
    box-sizing: border-box;
}

.right {
    background-color: white;
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    width: 50%;
    height: 527px;
    max-height: 527px;
}

@media (max-width: 768px) {
    .left, .right {
        width: 100%;
    }
}

.right h2 {
    font-size: 24px;
}

.social-buttons {
    margin-top: 20px;
}

.social-buttons a {
    display: inline-block;
    margin-right: 10px;
    /*padding: 10px 20px;*/
    color: #fff;
    text-decoration: none;
}


.linkedin-button {
    background-color: #0077b5; /* LinkedIn blue */
    background-image: url('../img/linkedin-logo.jpg');
    width: 49px;
    Height: 48px;
}

.x-button {
    background-color: #1da1f2; /* Twitter blue */
    background-image: url('../img/x-logo.png');
    width: 49px;
    Height: 48px;        
}

.facebook-button {
    background-color: #1877f2; /* Facebook blue */
    background-image: url('../img/facebook-logo.png');
    width: 49px;
    Height: 48px;    
}

.under {
    background-color: white;    
    text-align: center;
    margin-top: -30px;
    margin-left: 0px;
    margin-right: -20px;
    padding: 20px;
    width: 640px;
}

.webkilder-liste {
    list-style: none;
    padding: 0;
}

.webkilder-liste li {
    margin-bottom: 10px;
}

.webkilder-liste a {
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}
