@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Rampart+One&display=swap');

section {
  margin: 0px 0px 80px 0px;
  padding: 40px 0px;
  text-align: center;
  position: relative;
  z-index: 100;
}

body {
  background-image: url('/ma/src/img/pattern.jpg');
  margin: 0px;
  font-family: "Inter", serif;
  background-size: 30%;
  position: relative;
}

body:before {
  content: '';
  position: absolute;
  background-color: #fff;
  width: 100%;
  height: calc(100% + 80px);
  left: 0;
  top: 0;
  opacity: 0.6;
}

.place-img img {
  width: 100%;
  border: 2px #000 solid;
}

.title {
  font-family: "Rampart One", serif;
  font-weight: 400;
  font-size: 100px;
  margin: 0px 0px 20px 0px;
}

.title-red {
  /*color: #ff0000;*/
}

.place-text {
  font-size: 44px;
  line-height: 1;
  font-weight: 700;
  margin: 0px 0px 44px 0px;
}

.title-second {
  font-size: 62px;
  margin: 0px 0px 40px 0px;
  line-height: 0.7;
}

.wish-img {
  margin: 0px 0px 30px 0px;
}

.wish-text {
  margin: 0px;
  font-size: 4em;
  white-space: nowrap;
  font-weight: 900;
}

.main-img {
  filter: drop-shadow(15px 10px 5px black) 
  drop-shadow(-10px 0px 15px black);
}

.misha {
  position: absolute;
  top: 250px;
  left: -205px;
  animation:spin 2s infinite;
}

.anastasya {
  position: absolute;
    top: 50px;
    right: -205px;
    animation: spin2 2s infinite;
}

.title-main {
  text-shadow: 2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000, 1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
  position: relative;
  z-index: 1000;
  color: #fff;
}

@keyframes spin { 
    0% { 
        transform:rotate(-30deg); 
    } 
    50% { 
        transform:rotate(30deg); 
    } 
    100% { 
        transform:rotate(-30deg); 
    } 
}
@keyframes spin2 { 
    0% { 
        transform:rotate(30deg); 
    } 
    50% { 
        transform:rotate(-30deg); 
    } 
    100% { 
        transform:rotate(30deg); 
    } 
}

.wish-img img {
  width: 100%;
}

.wish-title {
  margin: 0px 0px -18px 0px;
  font-weight: 700;
  font-size: 44px;
}

@media screen and (max-width: 991px) {
  .title {
    font-size: 38px;
  }
  .wish-text {
    margin: 0px;
    font-size: 2em;
    white-space: normal;
    font-weight: 900;
  }
  section {
    margin: 0px;
    padding: 22px 0px;
    text-align: center;
    position: relative;
    z-index: 100;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .anastasya {
    position: absolute;
    top: -280px;
    right: 50px;
    animation: spin2 2s infinite;
    width: 50%;
  }
  .misha {
    position: absolute;
    top: 250px;
    animation: spin 2s infinite;
    width: 50%;
    left: 50px;
  }
}

.game {
  position: fixed;
  width: 100px;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  z-index: 10000;
  padding: 10px;
}
.game img {
  width: 100%;
}

.game span {
  position: absolute;
  top: 15px;
  width: 100%;
  text-align: center;
  font-weight: 700;
  color: #000 !important;
}