.main-container {
  background: #ff0000 url(../image/background.avif) top center repeat-y;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

@font-face {
  font-family: organical;
  src: url(/font/organical.ttf);
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 30vh;
}

.footer {
  background-color: rgb(136, 205, 228);
  display: flex;
  justify-content: center;
  align-items: center;
}

.infocontainer {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
  background-color: #ffffffb8;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin: 100px;
  padding: 0px;
}

/* contact-style */

.contacts {
  height: auto;
  width: 900px;
  border: 2px solid black;
  margin: auto;
  background-color: rgb(136, 205, 228, 0.5);
}

input[type="text"],
select,
textarea {
  width: 100%;
  padding: 12%;
  border: 1px solid #ccc;
  margin-top: 6%;
  margin-bottom: 16%;
  resize: vertical;
}

input[type="submit"] {
  background-color: #04aa6d;
  color: white;
  padding: 12% 20%;
  border: none;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #45a049;
}

.contacts-container {
  background-color: transparent;
  padding-bottom: 10%;
}

.contact-column {
  float: left;
  width: 50%;
  margin-top: 6%;
  padding: 2%;
}

.row{
  display: flex;
  align-items: center;
  justify-content: center;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

@media screen and (max-width: 600px) {
  .column,
  input[type="submit"] {
    width: 100%;
    margin-top: 0;
  }
}

#img1 {
  width: 40%;
  position: relative;
  left: 8%;
  top: 18%;
  padding: 1%;
  border: solid black 2px;
}

.h3 {
  font-size: 200%;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

input[type="text"],
select,
textarea {
  position: relative;
  top: 150%;
  width: 100%;
  height: 10%;
  padding: 12px;
  border: 2px solid #080404;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type="submit"] {
  background-color: #04aa6d;
  color: white;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  border: #333333 2px solid;
  margin-top: 6px;
  margin-bottom: 16px;
}

input[type="submit"]:hover {
  background-color: #45a049;
}

.container {
  border-radius: 5px;
}

.column {
  float: left;
  width: 100%;
  margin-top: 6px;
  padding: 20px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
  position: relative;
  top: 100%;
}

@media screen and (max-width: 600px) {
  .column,
  input[type="submit"] {
    margin: 0;
  }
}

/* homepage logo */

.loader {
  position: relative;
  margin: 0;
  padding: 0;
}

.loader h1 {
  position: absolute;
  color: #fff;
  transform: translate(-50%, -50%);
  font-size: 8em;
  font-family: organical;
  padding: 0;
  margin: 0;
}

.loader h1:nth-child(1) {
  color: transparent;
  -webkit-text-stroke: 1px #23232d;
}

.loader h1:nth-child(2) {
  color: #6997af;
  animation: animate 4s ease-in-out infinite;
}

@keyframes animate {
  0%,
  100% {
    clip-path: polygon(
      0% 59%,
      15% 44%,
      32% 50%,
      54% 60%,
      70% 61%,
      84% 59%,
      100% 52%,
      100% 100%,
      0% 100%
    );
  }

  50% {
    clip-path: polygon(
      0% 60%,
      16% 65%,
      34% 60%,
      51% 62%,
      67% 50%,
      90% 45%,
      100% 46%,
      100% 100%,
      0% 100%
    );
  }
}

/* navbar */
.menu {
  display: flex;
  justify-content: space-evenly;
}

.menu div {
  display: flex;
  width: 100%;
}

.menu div a {
  text-align: center;
  color: black;
  width: 100%;
  text-transform: uppercase;
  font-size: 25px;
  font-weight: 600;
  background-color: #5d739a;
  text-decoration: none;
  padding: 10px;
}

.menu div a:hover {
  transition: all ease 0.5s;
  color: white;
  background-color: #54688b;
}

#after {
  background-color: #6996af43;
  color: black;
}

#after:hover {
  transition: all ease 0.5s;
  background-color: #54688b;
  color: #fff;
}

.homeinfo {
  font-size: 20px;
  margin: auto;
}


/* about page */

p{
  font-size: 150%;


}

.infocontainer-about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  background-color: #ffffffb8;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin: 100px;
  padding: 30px;
}




/* content box */

.box {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 50px;
}

.content {
  height: 300px;
  width: 800px;
  border: 2px solid black;
  padding-top: 20px;
  background-color: rgb(136, 205, 228, 0.5);
  border-radius: 20px;
}

.content p {
  font-size: 110%;
  margin: 30px 20px 0px 0px;
}

/*Horizontal Line */
.line {
  display: flex;
  justify-content: center;
}

.line hr {
  border-color: black;
  margin-top: 40px;
  width: 75%;
  text-align: center;
  margin-bottom: 20px;
}

/* Info */

/* button */
.info .link {
  text-align: center;
}

.link a {
  border: 1px solid black;
  border-radius: 10px;
  padding: 10px;
  color: black;
  text-decoration: none;
  background-color: #dcd8dc;
}

.link a:hover {
  transition: all ease 0.5s;
  background-color: #c1c0c1;
}

.link {
  margin-bottom: 30px;
}

/* footer */

.link-footer a {
  font-size: 30px;
  color: black;
  text-decoration: none;
}

.footer .contact-info .rotate-image {
  width: 80px;
  height: auto;
}
.link-footer {
  margin-left: 90px;
  transform: translateY(-170%);
}

.footer .contact-info:hover .rotate-image {
    transition: all ease 1.5s;
    transform: rotate(360deg);
    
}

@media screen and (max-width: 690px) {
    .menu{
        flex-wrap: wrap;
    }

    .menu div a{
        margin: 2px;
        padding: 10px;
    }

    .loader{
        font-size: 7px;
        
    }

    .infocontainer{
        margin:10px;
        
    }
  

}

/* game box */
#infocontainer {
  display: flex;
  height: 100%;
  padding-top: 6%;
  padding-bottom: 6%;
  text-align: center;
  background-color: #ffffffb8;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin: 100px;
  justify-content: space-evenly;
}
.gamebox {
  width: 300px;
  height: 350px;
  background-color: lightblue;
  box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  margin-right: 30px;
  border: 2px solid;
}

.gamebox img {

  width: 100%;
  border-radius: 20px 20px 0px 0px;
}

.gamebox hr {
  margin: 10px;
  border: 0.3px solid black;
}

.gamebox div a{
    text-decoration: none;
    background-color: white;
    padding: 10px;
    border-radius: 20px;
    color: black;
}

.gamebox div{
    margin-top: 40px;
}

.gamebox div a:hover{
    transition: all ease 0.5s;
    background-color: rgb(221, 207, 207)
}

#galgje img{
  height: 150px;
  width: auto;
}

.infocontainer-game {
  display: flex;
  height: 100%;
  padding-top: 6%;
  padding-bottom: 6%;
  text-align: center;
  background-color: #ffffffb8;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin: 100px;
  justify-content: space-evenly;
}

@media screen and (max-width: 700px) {
  .infocontainer-game{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-left: 15%;
    padding-right: 15%
  }
.gamebox{
  margin-bottom: 20px;
}
.main-container{
  height: 30%;
}
  }
