:root {
--blue-color:#5386E4;
 --gray-color:#b9bec4;
 
}


body {
    background-color:whitesmoke ;
    margin:0;
    font-family:sans-serif;
    
}

/*Dark/light-mode styling*/
.dark-mode-nav, .dark-mode-main .hero-text button  {
    background-color:#104099;
}

.dark-mode-main, .dark-mode-main .container{
    background-color: rgb(66, 64, 64);
    color: white;
}

.dark-mode-main #contactForm {
    background-color: rgb(35, 34, 34);
    color: white;
}

.dark-mode-main .hero-text h1, .dark-mode-main .hero-text p{
    color: white;
}

.dark-mode-footer{
    background-color: #5d5e5e;
    color: white;
}

.toggle-container {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
}

.toggle-container #darkLigthModeBtn {
    padding: 0.5rem;
    border-radius: 10px;
}

nav {
    display:flex;
    flex-direction: column;
    background-color:#5386E4;
    color:white;
    padding:5px; 
}

.skyview {
    display:flex;
    gap:30px;
}

.skyview p {
    font-size: 50px;
    margin:0px;
}

#home {
    border: solid white;
    color:black;
    padding:0px 12px 0px 12px;
    border-radius: 5px;
}

.hamburger {
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    align-self: flex-start;
}

#navMenu{
    display:none;
    flex-direction: column;
    gap:15px;
    padding-top:10px;
    text-align: center;
    margin:0px;
    list-style:none;
}

#navMenu.show{
    display:flex;
}

#navMenu a {
    text-decoration: none;
    color:white;
}

/*main  */
main {
    min-height: 550px;
}

.hero {

    flex-direction: column; 
    padding:30px;
  
}

.hero-text {
    max-width: 500px;
}
.hero-text h1 {
    font-size:48px;
    margin-bottom:20px;
    color:#1e293b;
}

.hero-text p {
    font-size: 30px;
    margin-bottom:25px;
    color:#475569;

}
.hero-text button {
    padding: 12px 25px;
    border:solid 2px black;
    background:#3b82f6;
    color:#ffffff;
    font-size:20px;
    margin:10px;
    border-radius: 10px;

}

button a {
    text-decoration: none;
    color:white;
}

.hero-text button:hover {
    background: #2563eb;

    animation-name: spin;
    animation-duration: 3s;
    animation-timing-function:ease;
    animation-delay:1s;
    animation-fill-mode: forwards;

}


@keyframes spin {

    0%{
    }

    50%{
        scale:2;
        transform:rotate(0);
    }

    100%{

        transform:rotate(360deg);
        scale:2;
    }
}






.hero-image img {
    width: 300px;
    border: 5px solid #a9a9a9;
    border-radius:20px;
}



/*main*/


footer {
    background-color: #b9bec4;
    left: 0px;
    bottom: 0px;
    width: 100%;
    text-align: center;
    padding: 10px 0px;
    
}

.social-icons{
    display: flex;
    justify-content: center;
    gap: 20px;
}


@media screen and (min-width:1024px){

    .hamburger{
        display:none;
    }

    #navMenu{
        display:flex;
        flex-direction: row;
        gap:30px;
        justify-content: space-around;   
    }

        
    .hero {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap:50px;
        padding:80px ;
        min-height:80px;
    }

    .hero-text {
        max-width: 500px;
    }
    .hero-text h1 {
        font-size:48px;
        margin-bottom:20px;
        color:#1e293b;
    }

    .hero-text p {
        font-size: 18px;
        margin-bottom:25px;
        color:#475569;

    }
    .hero-text button {
        padding: 12px 25px;
        border:solid 2px black;
        background:#3b82f6;
        color:#ffffff;
        font-size:15px;
        border-radius:5px;
    }

    button a {
        text-decoration: none;
        color:white;
    }

    .hero-text button:hover {
        background: #2563eb;

    }

    .hero-image img {
        width: 350px;
    }

    
}





/* Anteckningar **/ 
/* Home , APi, About, Contact 