html{
  font-family: "Poppins", sans-serif;
  background-image: url('../images/background.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body {
  margin: 0;
  padding: 0;
}

/* MENU */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-attachment: fixed;
  background: #1e1e2f;
  color: white;
  padding: 20px;
}

header .logo {
    font-size: 1.4em;
    font-weight: bold;
}

nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #00aaff;
}

/* O MNE NA HLAVNEY STRANKE */
.main-container {
  display: flex;
  flex-direction: column;   
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.profile-container {
  display: flex;
  gap: 50px;
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  max-width: 1000px;
  width: 100%;
}

.profile-photo {
  text-align: center;
}

.profile-photo img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #00aaff;
}

.profile-photo h1 {
  margin-top: 15px;
  font-size: 1.5em;
}

.profile-info {
  flex: 1;
}

.profile-info h2 {
  color: #00aaff;
}
/* VIDEO */
.video-conteiner {
  background-color: white;
  display: flex;
  flex-direction: column;   
  justify-content: center;
  align-items: center;
  margin: 120px;
  border-radius: 2%;
}
/*TABULKA*/

.tabulka_about {
    border-collapse: collapse;
    border: 2px solid black;
}

.tabulka_about th, .tabulka_about td {
    border: 2px solid black;
    padding: 5px;
}

th{
   background-color: teal;
}

.tabulka_about td:first-child, 
.tabulka_about th:first-child {
    width: 100px;
}

#tabulka {
  background-color: white;
  display: flex;
  flex-direction: column;   
  justify-content: center;
  align-items: center;
  padding: 1%;
  margin: 20px 20%;
  border-radius: 2%;
}
/* NADPIS V SECTION "Viac o mne"*/
#nadpis {
  background-color: #7ca2d3;
  border: 2px solid black;
  border-radius: 10px;
  padding: 1%;
  text-align: center;
}

.section-block {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
}

.inf_main{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 15%;
  background-color: #7ab1dd;
  padding: 40px;
  border-radius: 8px;
  font-size: 14px;
}

.inf {
  background-color: #f0f0f0;
  padding: 20px;
  border-radius: 8px;
  font-size: 14px;
}

.back-inf {
  background-color: rgba(51, 53, 71, 0.4);
  padding: 30px;
  border-radius: 12px;
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* MUNU LIST */
.menu {
  list-style: none;
  display: flex;
  gap: 25px;
  padding: 0;
  margin: 0;
}

.menu a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}
/*KONTAKTNY FOLMULAR*/
#contactForm #name #email #message{
  width:100%;
  padding:10px;
  margin:8px 0;
  border-radius:8px;
  border:1px solid #ddd;
}

.container {
  max-width:1000px;
  margin:0 auto;
  padding:20px;
}

.page {
  animation: fadeIn 0.5s ease both;
  opacity: 0;
}

/* KARTY V "Moje diela"*/
@keyframes fadeIn {
  to { opacity: 1; transform: none; }
}
  .project-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:18px;
  }
  .project-card {
    border-radius:12px;
    overflow:hidden;
    background:#ffffff;
    border:1px solid #ffffff;
    transition:transform .25s ease, box-shadow .25s ease;
  }

  .project-card img {
    width:100%;
    height:160px;
    object-fit:cover;
  }

  .project-card .p-body {
    padding:14px;
  }

  .project-card:hover img {
  transform: scale(1.08);
  }

  .btn-accent {
    display:inline-block;
    background:var(--accent);
    background: #0b395f;
    color:#ffffff;
    padding:8px 12px;
    border-radius:8px;
    text-decoration:none;
  }

  .btn-accent:hover{
    background: #1a5a8f;
  }

  form {
    max-width: 500px;
    margin: auto;
    background-color: #c5c6c7;
    padding: 30px;
    border-radius: 10px;
    color: white;
  }

  input, textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0 20px -10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
  }

  input::placeholder, textarea::placeholder {
    color: #888;
  }

  button {
    background-color: #0b395f;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
  }

  button:hover {
    background-color: #104e81;
  }

.wrapper {
  max-width: 1000px;
  margin: 50px auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  text-align: center;
}

.wrapper .description {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.image-text-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.image-text-list .item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
}

.image-text-list img {
  width: 150px;
  height: auto;
  border-radius: 15px;
}

.sidebar-quote {
    background-color: #ffffff;
    max-width: 700px;        
    margin: 40px auto;       
    padding: 20px 25px;      
    border-radius: 10px;     
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    text-align: center;      
}

.sidebar-quote blockquote {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.5;
    font-style: italic;
}

.sidebar-quote cite {
    display: block;
    margin-top: 10px;
    font-size: 0.95rem;
    color: #555;
}

footer{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #222236;
    color: grey;
    padding: 15px 0;
}



