/*To print*/
@import url("nyomtatas.css") print;

/*Main css*/
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

html {
    background-image: url("../media/hatter.jpg");
    background-attachment: fixed;
    background-size      : cover;
}

.rubik-f {
  font-family: "Rubik", sans-serif;
  /* font-optical-sizing: auto; */
  font-weight: 400;
  font-style: normal;
  font-size: 1.4rem;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 10px;
}

h1, h2{
    text-align: center;
    margin: 20px 0px !important; 
}

body {
    position: sticky;
    min-height: 100vh;
    width: 100%;
    height: 100%;
    margin          : 0px 0px 0px 0px;
    padding         : 0px 20px 0px 10px;
    background      : linear-gradient(45deg, rgba(170, 161, 134, 0.8), rgb(196, 191, 191, 1));
}

#selyemut {
    visibility: hidden;
}

nav#skiptocontent a {
    position: absolute;
    left    : -9999px;
}

nav#skiptocontent a:focus {
    position: static;
}

.aktiv {
    background: rgba(233, 218, 152, 0.833);
}

button {
    border-radius: 5px;
    vertical-align: middle;
}

#bdiv {
    display: flex;
    justify-content: center;
    align-items: center;
}

.row:first-child header{
    min-height: 100vh;
}

.row:first-child header {
    background: linear-gradient(45deg, rgba(233, 191, 64, 0.2), rgba(214, 182, 86, 0.9));
}

header {
    font-size: 2rem;
    border-right: 2px dashed black;
}

header div {
    text-align: center;
    padding: 10px;
}

header div:not(:first-child) {
    border: 2px dashed black;
    border-width: 2px 0px 0px 0px;
}

footer {
    position: relative;
    top: 0rem;
    text-align: center;
    vertical-align: bottom;
    font-size: 1.2rem;
}

/* Images */
img {
    max-width    : 100%;
    max-height   : 100%;
    height       : auto;
    display      : block;
    /* Ezt loptam */
    margin       : 10px auto;
    border-radius: 5px;
   /* box-shadow   : 2px 2px 5px rgba(0, 0, 0, 0.1); */
    
}

/* Linkek */
a:link {
  color: blue;
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: rgb(196, 148, 218);
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: red;
  background-color: transparent;
  text-decoration: underline;
}

a:active {
  color: cyan;
  background-color: transparent;
  text-decoration: underline;
}

/* Figcaption */
figcaption {
    text-align: center;
}

table {
    text-align: center;

}
/* Az összevonottak középen legyenek */
table tr td {
    vertical-align: middle;
}
/*
tbody {
    background: linear-gradient(45deg, rgba(233, 191, 64, 0.2), rgba(214, 182, 86, 0.9));
}
*/

tr:nth-child(n) td:nth-child(n), tr:nth-child(n) th:nth-child(n) {
    background-color: rgba(233, 218, 152, 0.833);
    border: 2px solid grey;
    border-width: 2px;
}

tr:nth-child(2n) td:nth-child(1){
    background-color: burlywood !important;
}

p {
    margin: auto;
    text-align: left;
   /* height: 100%;    */
}

video {
    display  : block;
    margin   : 10px auto;
    max-width: 100%;
    border-radius: 5px;
}

.col-4 img {
    vertical-align: center;
}

form {
    font-size: 2rem;
}

input {
    border-radius: 2px;
}

.mufaj {
    transform: scale(2);
}

input[type="radio"]{
    transform: scale(2);
}

.anyad {
    max-height: min-content;
}

legend {
    font-size: 2rem;
}

input[type="submit"], input[type="reset"] {
    background-color: bisque;
    border: 2px solid grey;
    border-radius: 5px;

}

input[type="textarea"] {
    height: 6rem;
}

.maxos {
    max-width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

header img {
    max-width: 40%;
}