@charset "UTF-8";

/* Kohandatud navigatsiooniriba taustavärv ja vahemikud */
.custom-navbar {
    background-color: #1A237E; /* Tume sinine värv */
    padding: 20px 0;
}

/* Navigatsiooni pealkiri */
.navbar-title {
    color: white;
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Valged ikoonid navigatsioonis */
.icon-white {
    color: white;
    font-size: 2.5rem;
}

/* Praeguse lehe ikooni värv (helesinine) */
.icon-current {
    color: #00A5FF;
    font-size: 2.5rem;
}

/* Desktop vaade - väiksem pealkiri */
@media (min-width: 768px) {
    .navbar-title {
        margin-bottom: 0;
        font-size: 1.8rem;
    }
}


/* Jaluse taustavärv */
.card-footer{
    background-color: #9A9A9A;
    color: #373737;
}

/* Keha taustavärv - helehall */
body{
    background-color: #f2f2f2;
}


/* Tervitussektsioon suure taustapildiga */
.welcome{
    position: relative;
    min-height: 500px;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    justify-content: center;
    display: flex;
}

/* Tumenenud kiht pildi peal */
.welcome-overlay{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #00a6ffaf, #1a227ece); /* Gradient taust */
    display: flex;
    align-items: center;
}

/* Tervitussisu stiilid */
.welcome-content{
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Responsiivsed pealkirja suurused */
.welcome-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem); 
}


/* "Uuri rohkem" nupp */
.btn-info{
    background-color: #1A237E;
    border: none;
    height:50px;
    width:200px;
    border-radius: 10px;
    margin-top: 25px;
    text-align: center;
    font-size: 30px;
}

/* Nupu hover efekt */
.btn-info:hover{
    background-color: #00A5FF;
}

/* Kohandatud sinine nupp */
.btn-custom-blue {
    background-color: #00A5FF;
    border-color: #00A5FF;
    color: black;
    font-weight: 500;
    font-size: 1.5rem;
    padding: 12px 60px;
}

/* Ümarad nupud */
.btn-pill {
    border-radius: 50px;
}

/* nupu hover efekt */
.btn-custom-blue:hover {
    background-color: #1A237E;
    border-color: #1A237E;
    color: white;
}


/* Sissejuhatuse sektsiooni keskendamine */
.introduction{
    text-align: center;
}

/* Infokaartide stiil - valge taust ja vari */
.infoKast{
    background-color: white;
    box-shadow: 5px 5px 5px gray;
    border-radius: 0.5rem;
}

/* Infokaardi hover */
.infoKast:hover{
    box-shadow: 10px 10px 5px gray;
}

/* "Miks on vaja teada küberturvalisust?" sektsiooni marginid */
.whyNeed{
    margin-top: 2rem;
    margin-bottom: 2rem;
}
/* ülemine margin kui oled telefonis */
@media only screen and (max-width: 600px) {
    .whyNeed div div {
    margin-top: 2rem;
}
}
/* ülemine margin kui oled telefonis */
@media only screen and (max-width: 600px) {
    .paroolid div div {
    margin-top: 2rem;
}
}

/* Grid-paigutus pettuste kaartidele */
.pettus-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Kaks veergu */
    gap: 2rem;
}
/* Üks veerg kui vaadata telefonist */
@media only screen and (max-width: 600px) {
    .pettus-types-grid {
    grid-template-columns: repeat(1, 1fr); /* Kaks veergu */
}
}

/* Üksiku pettuskaardi stiilid */
.pettus-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left-width: 4px;
    border-left-style: solid;
    border-left-color: red; /* Punane ääris vasakul */
}

/* Pettuskaardi hover */
.pettus-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Hoiatusmärkide konteineri stiil */
.warning-signs {
    margin-top: 1rem;
    padding: 1rem;
    background: #fff3cd;
    border-radius: 5px;
}


/* Galerii ümbritsev konteiner */
.gallery-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

/* Keritav konteiner piltidele */
.scroll-container {
    overflow-x: hidden; /* Peida horisontaalne kerimisriba */
    scroll-behavior: smooth; /* Sujuv kerimine */
    border: 3px solid #0000004f;
    border-radius: 12px;
    background-color: #fff;
}

/* Galerii pildid */
.gallery-img {
    flex: 0 0 100%; /* Iga pilt võtab kogu laiuse */
    width: 100%;
    height: 600px;
    object-fit: contain; /* Säilita pildi proportsioonid */
    padding: 20px;
}

/* Navigatsioonipulgad galerii all */
.bar {
    width: 60px;
    height: 10px;
    border: 2px solid #00000062;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Aktiivne navigatsioonipulk */
.bar.active {
    background-color: #00A5FF;
}


/* Kohandatud loetelu seadmete nõuannetele */
.näpunäitedList {
    list-style: none; /* Eemalda punktid */
}

/* Loetelu elemendid */
.näpunäitedList li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

/* punktid loetelu ees */
.näpunäitedList li::before {
    content: "";
    font-weight: bold;
    margin-right: 15px;
    background-color: #00A5FF; /* Sinine ring */
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

/* Nummerdatud loetelu nakatunud seadmete jaoks */
.nakatunudList{
    list-style: decimal inside none;
    text-align: left;
}


/* Horisontaaljoone laius */
hr{
    width: 65%;
}