body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

body {
    background-color: rgb(0, 0, 0);
    scroll-behavior: smooth;
    font-family: "Times New Roman", Times, serif;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}

.index {
    background-image: url('../img/futuristisk med kod.jpeg');
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.backgroundImage /*----- kan behövas justeras för nya sidor*/
{
    width: 90%;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-left: 5%;
    margin-right: 5%;
}

.backgroundImage img {
    width: 100%;
    height: 110vh;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.navbar-scrolled {
    background-color: rgba(137, 207, 240, 0.0); /* Ändra bakgrundsfärg vid scroll */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Lägg till en liten skugga */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smidig övergång */
}

.nav-Ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-right: 30px;
    display: flex;
    justify-content: flex-start;
}

.nav-Li {
    display: inline-block;
    margin-right: 50px;
    margin-left: 40px;
}

.logo {
    opacity: 0.8;
    height: 40px;
    width: auto;
}

.nav-text {
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    font-weight: bold;
    /* background: linear-gradient(90deg, #ffffff, #5f5e5e, #ffffff); */
    background: linear-gradient(90deg, #ee971c, #ffffff, #f9a528);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-transform: uppercase;
    font-weight: 400;
}

/*----- Hamburger Menu - Remove Underline and Color ---*/
.icon {
    font-size: 25px; /* Specifik storlek för hamburgermenyikonen */
    color: white;    /* Färgen för hamburgermenyn */
    cursor: pointer; /* Handpekare när man hovrar */
    text-decoration: none; /* Ta bort eventuell understrykning */
    padding-right: 40px;
    display:none;
}

/*------- nedre delen --------*/
.infoBoxar {
    margin-top: 0px;
    display: flex;
    justify-content: space-evenly;
}

.infoBox1 {
    width: 300px;
    text-align: center;
    font-size: 16px; 
}

.boxtextH {
    background: linear-gradient(90deg, #ffffff, #5f5e5e, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 25px;
}

#boxtextP {
    color: rgb(255, 255, 255);
}

.pLogo /*----- nu logo med animation -----*/
{
    position: relative;
    font-family: sans-serif;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 4px;
    overflow: hidden;
    background: linear-gradient(90deg, #ee971c, #ffffff, #f9a528);
    background-repeat: no-repeat;
    background-size: 80%;
    animation: animate 3s linear infinite;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(255, 255, 255, 0);
}

.pLogo a {
    text-decoration: none;
}

@keyframes animate {
    0% {
        background-position: -500%;
    }
    100% {
        background-position: 500%;
    }
}

@media screen and (max-width: 1016px) {
    .nav-Ul {
        display: none; /* Döljer menyn på små skärmar */
        width: 100%;
        text-align: center;
    }

    .nav-Ul.active {
        display: block; /* Visar menyn när den är aktiv */
    }

    .icon {
        display: block; /* Visar hamburgermenyikonen */
    }
}

/*===== Responsiv sida =====*/
@media screen and (max-width: 866px) {
    .nav-Ul {
        display: none; /* Döljer menyn på små skärmar */
        width: 100%;
        text-align: center;
    }

    .nav-Ul.active {
        display: block; /* Visar menyn när den är aktiv */
    }

    .icon {
        display: block; /* Visar hamburgermenyikonen */
    }

/*====== tillhör EJ mall ======*/
    .infoBox1 
    {
        /* width: 80%; Gör infoboxarna större på små skärmar */
        font-size: 14px;
        width: 230px; 
    }
    .boxtextH 
    { 
        font-size: 20px;
    }
    /* .boxtextP 
    { 
        
    } */
}

/*---------------------------------------------------*/
hr.hr {
    height: 1.5px; /* Tjocklek på linjen */
    background-color: coral; /* Färg på linjen */
    box-shadow: 0 0 10px coral, 0 0 20px coral, 0 0 30px coral; /* Glowing effect */
    border: none; /* Tar bort den vanliga linjens border */
}
ul.ul{
    color:rgb(255, 255, 255, 0.9);
    font-size: 22px;
    
}
ul li::marker {
    color: coral; /* Change the color of the bullet */
}
a.a {
    color: rgb(255, 255, 255);
    text-decoration: none; /* Removes underline by default */
}

a.a:hover {
    color: rgb(255, 255, 255); /* Change color on hover */
    text-decoration: underline coral; /* Adds double underline with coral color */
    text-shadow: 0 0 5px coral, 0 0 10px yellow, 0 0 15px yellow; /* Glowing effect */

}


/*====== tillhör EJ mall ======*/
@media screen and (max-width: 738px)
{
    .infoBox1 
    {
        /* width: 80%; Gör infoboxarna större på små skärmar */
        font-size: 14px;
        width: 150px; 
    }
}
/*---------------------------------------------------*/
@media screen and (max-width: 491px)
{
    .pLogo
    {
        font-size: 15px;
        font-weight: 800;
    }

/*====== tillhör EJ mall ======*/
    .infoBoxar 
    {
        flex-direction: column;
        align-items: center;
    }

    .infoBox1 
    {
        width: 90%; /* Gör infoboxarna större på små skärmar */font-size: 13px; 
    }
    .boxtextH 
    { 
        font-size: 20px;
    }
/*---------------------------------------------------*/
}
 
footer {
    background-color: #000000;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}
.footer-content a {
    color: #00acee;
    text-decoration: none;
}
.footer-content a:hover {
    text-decoration: underline;
}
.social-links {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.social-links li {
    display: inline;
}
.social-links a {
    color: #00acee;
}