body {
    background-color: #4e5f5e; 
    color: white;
    font-size: 30px;
    text-align: center;
}

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url('../BILDER/_DSC0040.JPG');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(78, 95, 94, 0) 0%,
        rgba(78, 95, 94, 0.5) 60%, 
        rgba(78, 95, 94, 0.9) 100% 
        );
    z-index: 2;
    pointer-events: none;
}

.content {
    background-color: #485855; 
    color: white;
    font-size: 30px;
    text-align: center;
    padding: 50px;
    position: relative;
    z-index: 3;
    border-radius: 10px;
}

h1 {
    text-align: center;
    font-size: 100px;
    color: white; 
    font-family: 'Times New Roman', Times, serif;
}

img {
    border-radius: 10px;
    transition: 0.3s;
}

#image1 {
    padding-right: 20px;
    width: 400px;
    height: 350px;
    float: left;
    transition: 0.3s;
}

#image1:hover {
    transform: scale(1.1); 
}

.txt1 {
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    background-color: #485855;
    color: white;
    width: 500px;
    margin: auto;
    border: 2px solid #485855;
    border-radius: 10px;
    padding: 20px;
}

#text1 {
    transition: 0.3s;
}

#text1:hover {
    transform: scale(1.1); /* Consistent hover effect */
    background: linear-gradient(135deg, #4e5f5e, white, #586667);
    color: black;
}

.txt2 {
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    background-color: #485855;
    color: white;
    width: 400px;
    margin: auto;
    border: 2px solid #485855;
    border-radius: 10px;
    float: left;
}

#text2 {
    transition: 0.3s;
}

#text2:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #4e5f5e, rgba(255, 255, 255, 0.753), #586667);
    color: black;
}

a{
    text-decoration: none;
    color:  rgb(255, 255, 255);
    transition: 0.3s;
}

a:hover{
    transform: scale(1.1);
    color: rgb(0, 0, 0)
}


.txt3 {
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    background-color: #485855;
    color: white;
    width: 400px;
    border: 2px solid #485855;
    border-radius: 10px;
    margin: auto;
}

#text3 {
    transition: 0.3s;
}

#text3:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #4e5f5e, rgba(255, 255, 255, 0.753), #586667);
    color: black;
}

.hero2 {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url('../BILDER/_DSC0040\ –\ Kopi.JPG');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    overflow: hidden;
}

.hero2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(78, 95, 94, 0) 0%,
        rgba(78, 95, 94, 0.5) 60%, 
        rgba(78, 95, 94, 0.9) 100% 
        );
    z-index: 2;
    pointer-events: none;
}

nav{
    background-color: #4e5f5e;
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 10px;
}

nav a{
    color: rgb(255, 255, 255);
    text-decoration: none;
    background-color: rgb(0, 0, 0);
    padding: 5px;
    margin: 5px;
    border-radius: 10px;
    
}

nav a:hover{
    transform: scale(1.1);
    background: linear-gradient(135deg, #4e5f5e, rgba(255, 255, 255, 0.753), #586667);
    color: black;
}

.hero3 {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url('../BILDER/_DSC0043\ –\ Kopi.JPG');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    overflow: hidden;
}

.hero3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(78, 95, 94, 0) 0%,
        rgba(78, 95, 94, 0.5) 60%, 
        rgba(78, 95, 94, 0.9) 100% 
        );
    z-index: 2;
    pointer-events: none;
}