html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    /*background-image: url("../Pic/nedladdning.png");
  background-position: center;
  background-size: cover;*/
    background: linear-gradient(135deg, #020024, #090979, #00D4FF);
    font-family: Arial, sans-serif;
    z-index: 5;
    overflow-x: hidden;
}

#whitebackground {
    display: flex;
    flex-direction: row;
    align-items: flex-start; /* så loggor + tabell börjar upptill */
    justify-content: flex-start;
    gap: 5vh; /* lite avstånd mellan loggor och tabell */

    background-color: white;
    z-index: 3;
    margin-top: 23vh;
    margin-left: -6.5vh;
    width: 155vh;
    border-radius: 5vh;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 1.5);
    padding: 4vh;
}


    #whitebackground .logos {
        display: flex;
        flex-direction: column;
        gap: 2vh;
        margin-left: 20px;
    }

        #whitebackground .logos img {
            height: 30px;
            width: auto;
        }

.company-logo {
    height: 20px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle; 
}



#info-div {
    flex: 1; 
    z-index: 4;
    width: auto; 
    padding-left: 5vh;
    padding-right: 5vh;
}

#topline {
    position: absolute;
    height: 0.3vh;
    width: 300vh;
    background-color: white;
    margin-top: -11vh;
    margin-left: -40vh;
}

/*#bottomline {
    position: absolute;
    height: 0.3vh;
    width: 300vh;
    background-color: white;
    margin-top: 77vh;
    margin-left: -40vh;
}*/


#rubrik {
    margin-top: 8vh;
    margin-left: 31vh;
    font-size: 4vh;
    font-weight: 700;
    color:white;
}

#intro-text {
    position: absolute;
    color: white;
    width: 80vh;
    margin-left: 31.5vh;
    margin-top: 3vh;
}

#button-tillbaka {
    display: inline-block;
    margin-top: 85vh;
    margin-left: -5vh;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #090979, #00D4FF);
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s;
}

    #button-tillbaka:hover {
        transform: scale(1.05);
        opacity: 0.9;
    }

#tradingview-widget-container {
    margin-top: 17vh;
    margin-left: -5vh;
    width: 150vh;
    /*height: 120vh;*/
    position: absolute;
}

#nvdalogo {
    position: absolute;
    height: 2.3vh;
    width: 3.1vh;
    margin-top: 11.5vh;
    margin-left: 20.2vh;
}

#msftlogo {
    position: absolute;
    height: 2.5vh;
    width: 2.5vh;
    margin-top: 16vh;
    margin-left: 20.7vh;
}

#appllogo {
    position: absolute;
    height: 3.2vh;
    width: 5.5vh;
    margin-top: 20vh;
    margin-left: 19.2vh;
}

#googlogo {
    position: absolute;
    height: 2.6vh;
    width: 2.6vh;
    margin-top: 25vh;
    margin-left: 20.8vh;
}

#amznlogo {
    position: absolute;
    height: 3.2vh;
    width: 3.2vh;
    margin-top: 29.3vh;
    margin-left: 20.4vh;
}

#metalogo {
    position: absolute;
    height: 2.3vh;
    width: 2.3vh;
    margin-top: 34vh;
    margin-left: 20.9vh;
}

#tslalogo {
    position: absolute;
    height: 2.5vh;
    width: 2.5vh;
    margin-top: 38.5vh;
    margin-left: 20.8vh;
}

#hint-text {
    z-index: 9;
    position: absolute;
    margin-top: 15vh;
    margin-left: 30.8vh;
    font-style: italic;
    color: #e0e0e0;
    font-size: 1.6vh;
}

#stockTable a {
    position: absolute;
    display: inline-block;
    padding: 0.2rem 0.5rem; 
    font-size: 1.45vh; 
    font-weight: 600;
    color: white;
    background-color: #007bff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease; 
}

    #stockTable a:hover {
        background-color: #0056b3;
        text-decoration: underline; 
    }
