/**
 * Copyright © Ovidiu Bara. Toate drepturile rezervate.
 *
 * Fișier: CSS
 * Descriere: Acest fișier definește stilurile vizuale ale paginilor web, inclusiv layout-ul, culorile,
 * fonturile și alte proprietăți de design. Este utilizat pentru a asigura o experiență consistentă și 
 * estetică pe toate dispozitivele și rezoluțiile.
 *
 * Autor: Ovidiu Bara
 * Anul creării: 2025
 * Ultima modificare: 25-01-2025
 *
 * Restricții:
 * - Acest fișier face parte din proiectul iq-test.
 * - Reproducerea, redistribuirea sau utilizarea fără acord scris sunt strict interzise.
 */

/* Importarea altor fișiere CSS externe */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('header.css');
@import url('home-content.css');
@import url('footer.css');
/* Resetare CSS pentru consistență între browsere */
* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', arial, sans-serif; /* Fontul aplicat pe întreaga pagină */
}

button, input {
    border-radius: 8px;
}

/* Stiluri globale pentru HTML și Body */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* Dimensiunea rămâne nativă */
    background-position: center; /* Imaginea este centrată pe pagină */
    background-repeat: repeat; /* Imaginea se repetă atât pe axa X cât și pe Y */
    background-attachment: fixed; /* Fundalul se mișcă odată cu conținutul */
    font-weight: 400;
    background-color: #FFFFFF;
    color: #333333;
}
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* Dimensiunea rămâne nativă */
    background-position: center; /* Imaginea este centrată pe pagină */
    background-repeat: repeat; /* Imaginea se repetă atât pe axa X cât și pe Y */
    background-attachment: fixed; /* Fundalul se mișcă odată cu conținutul */
    font-weight: 400;
    background-color: #FFFFFF;
    color: #333333;
}

a {
    font-weight: 400;
    color: #439AF0;
	text-decoration: none;
	font-size: 1em;
}

a:hover {
    font-weight: 400;
    color: #4b6cb7;
	text-decoration: none;
}

h1 {
	font-size: 1.8em;
	font-weight: 500;
	color: #439AF0;
}
h2 {
	font-size: 2em;
}
h3 {
	font-size: 1.6em;
	font-weight: 500;
}
h4 {
	font-size: 1.2em;
	font-weight: 100;
	color: white;
}
h5 {
	font-size: 1.2em;
}
h6 {
	font-size: 1em;
}

.btn {
    display: inline-block;
    padding: 5px 30px;
    font-size: 1.3em;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;	
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-45deg);
    transition: all 0.5s ease;
}

.btn:hover {
    background: linear-gradient(90deg, #2575fc, #6a11cb);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: scale(0.95);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.question {
    margin-bottom: 20px;
}
#next-button {
    margin-top: 20px;
}

/* Media Queries pentru mobile devices */
@media only screen and (max-width: 768px) {
    h1 {
        font-size: 1.6em;
        font-weight: 400;
        color: #439AF0;
    }    
	h2 {
		font-size: 1.5em;
	}	
	h3 {
		font-size: 1em;
	}	
	h4 {
		font-size: 1.2em;
		font-weight: 200;
		color: white;
	}	
	h5 {
		font-size: 0.6em;
	}	
	h6 {
		font-size: 0.4em;
	}
	a {
		font-size: 1em;
	}
}