* {
    box-sizing: border-box;
}

html { 
    background-color: rgb(255, 255, 255);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
} 


body {
    min-height: 100vh;
    width: 100%;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

#IndexBody {
    width: 100%;
    height: auto;
}

.IndexContainer {
    background-color: rgb(255, 227, 162);
    width: 100%;
    min-height: 600px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); 
    margin-top: 80px;
    padding-bottom: 50px;
}

.NavBar {
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    background: white;
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgb(255, 166, 0);
}

.NavBar ul {
    display: flex;
    align-items: center;
    width: 100%;
    height: 80px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.NavBar li.Nav a:hover {
    border-bottom: 2px solid rgb(255, 166, 0);
    background-color: #f1f1f1;
}

ul li a {
    display: block;
    color: rgb(0, 0, 0);
    text-align: center;
    font-size: 14px;
    text-decoration: none;
    padding: 24px 40px;
}

.Logo {
    margin-right: auto;     
    display: flex;      
    align-items: center;
}

.Logo img {
    width: 100%;
    height: 100%;
    min-width: 100px;
    object-fit: contain; 
}

.Container {
    margin: 0 auto;
    margin-top: 100px;
    position: relative;
    background-color: rgb(255, 255, 255); 
    width: 60%; 
    min-height: 400px; 
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2); 
    border-radius: 15px; 
    padding: 20px;
}


.Container-Kontakt {
    position: absolute;
    left: 25%;
    top: 85px;
    border: 2px solid rgb(255, 166, 0);
    background-color: rgb(255, 255, 255);
    width: 55%;           
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    border-radius: 15px;
    padding: 15px 0 60px; 
}

.SideBar {
    position: absolute;
    width: 20%;
    height: 80%;
    min-height: 650px;
    border: 2px solid rgb(255, 166, 0);
    background-color: rgb(255, 255, 255);
    left: 2.5%;
    top: 100px;
    border-radius: 25px;

}

#KontaktH1 {
    text-align: center;
    margin-bottom: 30px;
}

.map-wrapper {
    width: 80%;             
    margin: 0 auto;         
    position: relative;
    padding-bottom: 50%;    
    border-radius: 10px;
    overflow: hidden;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


.ImageContainer {
    width: 100%;
    height: 100vh;
    height: 100svh;
    background-image: url("/Images/tryckeri\ mockup.jpeg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; 
}

.InfoContainer {
    display: flex;
    flex-direction: row;
    width: 100%;
}

@media (max-width: 1000px) {
    .Container {
        width: 90%;
    }

    .InfoContainer {
        flex-direction: column;
        align-items: center;
    }

    .InfoDiv {
        width: 90%;
        margin-bottom: 20px;
    }

    .IndexInfoContainer {
        flex-direction: column;
        align-items: center;
    }

    .AboutUs, .Feedback, .FAQ, .InfoDiv {
        max-width: 95%;
        margin: 5% auto;
    }

    .Container-Kontakt, .SideBar {
        position: static;
        width: 90%;
        left: 0;
        margin: auto;
    }

    .SideBar {
        margin-top: 85px;
        margin-bottom: 5px;
    }

}

@media (max-width: 600px) {
    .Container {
        width: 90%;
        height: 90%;
        font-size: 10px;
    }

    .Work input,
    .Container input {
        width: 100%;
        max-width: none;
    }

    .ProductDiv:hover .InnerInfo {
        max-width: 100%;
    }

    .NavBar ul {
        flex-wrap: nowrap; 
        justify-content: center;
    }

    ul li a {
        padding: 12px 10px;
        font-size: 14px;
    }

    .Logo img {
        min-width: 80px;
    }
}

.ProductContainer {
    margin: 85px auto;
    padding-bottom: 85px;
}

.ProductDiv {
    background-color: white;
     transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

.ProductDiv:hover {
    transform: scale(1.03);             
    background-color: rgb(255, 166, 0);
    border-color: transparent;
    box-shadow: 2px 3px 15px rgba(0, 0, 0, 0.25);
    color: white;
}

.ProductDiv:hover h1,
.ProductDiv:hover p {
    color: white;
    transition: color 0.3s ease;
}

.ProductDiv:hover button {
    border-color: white;
    color: black; 
}

.InnerContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.InnerInfo {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    object-fit: contain;
    background-color: white;
}

.InnerInfo img {
    object-fit: contain;
    object-position: center center;
    width: 100%;
    height: 100%;
}

.InnerInfo img[src*=""] {
    transform: translateY(-50px);

}

.ProductDiv:hover .InnerInfo {
    max-width: 300px;  
    min-height: 300px;  
    opacity: 1;
    padding: 10px;
    margin-bottom: 10px;
    width: 100%;
}


.ProductDiv:hover .InnerInfo:nth-child(1) { transition-delay: 0s; }
.ProductDiv:hover .InnerInfo:nth-child(2) { transition-delay: 0.1s; }
.ProductDiv:hover .InnerInfo:nth-child(3) { transition-delay: 0.2s; }
.ProductDiv:hover .InnerInfo:nth-child(4) { transition-delay: 0.3s; }
.ProductDiv:hover .InnerInfo:nth-child(5) { transition-delay: 0.4s; }
.ProductDiv:hover .InnerInfo:nth-child(6) { transition-delay: 0.5s; }

.InnerInfo:hover {
    transform: scale(1.05);      
    border-color: white;          
    box-shadow: 0px 6px 15px rgba(0,0,0,0.25);
    color: white;
}

.IndexInfoContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-align: center;
}

.InfoDiv, .ProductDiv {
    padding: 2%;
    margin-left: 2%;
    margin-right: 2%;
    border: 2px solid rgb(255, 166, 0);
    background-color: rgb(255, 255, 255);
}


.InfoDiv:hover, .ProductDiv:hover, .FAQ:hover, .AboutUs:hover, .Feedback:hover {
    background-color: rgb(255, 166, 0);
    border: 0;
    box-shadow: 2px 3px 10px rgb(218, 156, 0);
    color: white;
    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

.InfoDiv:hover button, .FAQ:hover button, .ProductDiv:hover button {
    color: rgb(0, 0, 0);
}

.InfoContainer:hover button:hover, .FAQ:hover button {
    border-color: rgb(240, 240, 240);
    transform: translateX(-3px);
    color: rgb(255, 166, 0);
    box-shadow: 2px 3px 5px rgb(255, 255, 255);
}

.AboutUs, .FAQ, .Feedback {
    border: 2px solid rgb(255, 166, 0);
    background-color: rgb(255, 255, 255);
    margin-left: 1.25%;
    margin-right: 1.25%;
    margin-top: 15px;
    flex: 1 1 300px;  
    padding: 20px;
    border-radius: 8px;
}

.AboutUsH1 {
    font-size: 2em;
    margin: 10px 0 10px 0;
}

.AboutUsHeader {
    font-size: 2.5em;
}

.AboutUsP1 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

#VisitKortBtn {
    margin-top: 35px;
}

.MerBtn {
    width: 120px; 
    height: 40px; 
    background-color: rgb(253, 253, 253); 
    border: 0;
    border-radius: 5px;
    margin-left: 20px;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.MerBtn:hover {
    transform: translateY(-2px);
    border: 1px, solid, rgb(199, 122, 0);
    color: rgb(199, 122, 0);
}

#ContactShortCut, #CalculatorShortCut  {
    background-color: rgb(255, 255, 255);
    border: 2px, solid, rgb(255, 166, 0);
    cursor: pointer;
    width: auto;
    height: 8%;
    font-size: 1rem;
    border-radius: 5px;
}

#ContactShortCut {
    margin-left: 20px;
}

#CalculatorShortCut {
    margin-left: 3%;
}

#ContactShortCut:hover, #CalculatorShortCut:hover  {
    background-color: rgb(255, 166, 0);
    border: 0;
    transform: translateY(-2px);
    box-shadow: 2px 3px 10px rgb(218, 156, 0);
    color: white;
}

.NavContainer {
    display: block;
}

h1 {
    text-align: center;
    color: rgb(28, 29, 28);
}

p {
    text-align: center;
}

#IndexH1 {
    padding-top: 10%;
    font-size: 2.5em;
    text-align: left;
    padding-left: 50px;
    color: rgb(28, 29, 28);
}

#IndexP1 {
    text-align: left;
    padding-left: 50px;
    font-size: 1.5em;
}

#IndexP2 {
    font-size: 35px;
    font-family: sans-serif;
    margin-top: 50px;
    color: rgb(28, 29, 28);
}

.FAQP1 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.FeedbackP1 {
    font-size: 1.5em;
}

.FeedbackP2 {
    font-size: 1.3em;
    margin-top: -20px;
    font-weight: 550;
}


.WorkSection {
    margin-bottom: 30px;
}

.WorkHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
} 

.Timmar, .Timdebitering { 
    margin: 0;
}

.Work, .Work2 {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f9f9f9;
    padding: 5px 10px;
    border-radius: 5px;
}

.Work select, .Work input, .Work2 select, .Work2 input {
    flex: 1;
    height: 35px;
    font-size: 1em;    
    padding: 2px 5px;
}

.Work input, .Work2 input {
    max-width: 20%;
    text-align: right;
}

.Work2 section {
    font-size: 2px;
}

.DelBtn {
    width: 40px;
    height: 35px;
    background-color: rgb(250, 120, 120);
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}

.AddButtonWrapper {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
}

.Button1 { 
    width: 120px; 
    height: 35px; 
    background-color: rgb(121, 220, 250); 
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.Button1:hover {
    background-color: rgb(90, 180, 220);
}

.BtnShortCut {
    width: 120px; 
    height: 40px; 
    background-color: rgb(253, 253, 253); 
    border: 0;
    border-radius: 5px;
    margin-left: 20px;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.BtnShortCut:hover {
    transform: translateY(-2px);
    border: 1px, solid, rgb(199, 122, 0);
    color: rgb(199, 122, 0);
}

