@font-face { 
    font-family: 'Genos'; 
    src: url('../fonts/Genos/Genos-VariableFont_wght.ttf') format('truetype');
    src: url('../fonts/Genos/Genos-Italic-VariableFont_wght.ttf') format('truetype'); 
    font-weight: 400; 
    font-style: normal; 
}

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-image: url('../img/bg.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;

}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#name {
  font-family: 'Genos';
  font-size: 20px;
  font-weight: bold;
  background: white;
  width: 100%;
  height: 30px;
  text-align: right;
  padding-right: 10px;
}

#homebutton {
    color: black;
    text-decoration: line-through;
}

#top-menu {
  background: rgb(84, 82, 82);
  width: 100%;
  height: 35px;
  border-radius: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 10px;
  gap: 0px;
}

/* кнопки */
.button {
  background: rgb(251, 255, 9);
  color: black;
  width: 100px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.button:hover {
  background: rgb(227, 124, 61);
  color: white;
}

/* контейнер dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

/* сховане меню */
.dropdown-content {
  display: none;
  position: absolute;
  top: 35px;
  right: 0;
  background-color: rgb(255, 247, 2);
  min-width: 100%;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  border-radius: 5px;
  z-index: 1;
}

/* посилання у меню */
.dropdown-content a {
  color: black;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: rgb(227, 124, 61);
  color: rgb(247, 247, 247);
}

/* показуємо меню при наведенні */
.dropdown:hover .dropdown-content {
  display: block;
}

main {
  /*background: rgb(252, 250, 248);*/
  width: 100%;
  height: 1000px;
  font-family: 'Genos', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

iframe {
    display: block;
    margin: 0 auto;
    border: none;

}

footer {
    font-family: 'Genos';
    display: flex;
    justify-content: center;
    font-size: small;
    align-content: center;
    align-items: center;
    background: rgb(84, 82, 82);
    color: aliceblue;
    width: 100%;
    height: 25px;
    border-radius: 10px;
}
