* {
    margin: 0;
    padding: 0;
    color: #222222;
}

  @keyframes pop {
    0% {
      transform: scale(0.8);
      opacity: 0;
    }
    50% {
      transform: scale(1.1);
      opacity: 1;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  @keyframes grow {
    0% {
      transform: scale(0);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  @font-face {
    font-family: "Montserratarm-Regular";
    src: url("resources/Montserratarm-Regular.otf") format("truetype");
  }

  @font-face {
    font-family: "Montserratarm-SemiBold";
    src: url("resources/Montserratarm-SemiBold.otf") format("truetype");
  }


body {
    background: linear-gradient(151.835deg, #FFFFFF 0%, #F4F4F4 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    font-family: "Montserratarm-Regular";
    color: #222;
}

b {
    font-family: "Montserratarm-SemiBold";
}

.disabled {
    filter: contrast(0.5) grayscale(1);
    pointer-events: none;
}

.home_box {
    background: linear-gradient(151.835deg, #FFFFFF 0%, #F4F4F4 100%);
    box-shadow: 0px 0px 64px #2222221A;
    min-width: 400px;
    max-width: 850px;
    border-radius: 20px;
    min-height: 112.5px;
    transform: scale(1);
    transition: all 250ms ease-in-out;
    cursor: pointer;
}

.home_box:hover {
    box-shadow: 0px 0px 64px #22222233;
    transform: scale(1.1) !important;
}

.normal_home_box {
    height: 250px;
    padding: 20px;
    box-sizing: border-box;
}

.mini_home_box {
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 27px;
    height: 112.5px;
}

.big_home_box {
    max-width: 850px;
    min-height: 250px;
    padding: 25px;
    box-sizing: border-box;
    display: flex;
}

.big_home_box:hover {
    transform: scale(1) !important;
    box-shadow: 0px 0px 64px #2222221A !important;
    cursor: default;
}

#home_container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    /*height: 100vh;*/
    max-width: 100%;
}

#home_inner_container{
    margin: 8vw 8vh;
    display: flex;
    /*max-width: 1264px;*/
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 6.5vw;
}

#home_right {
    max-width: 850px;
    gap: 50px;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    animation: pop 1s ease-out forwards;
}

#home_right_top {
    display: flex;
    justify-content: center;
    column-gap: 50px;
    row-gap: 25px;
    flex-wrap: wrap;
}

.home_right_top_mini {
    min-width: 400px;
    row-gap: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#page_title h1{
    float: right;
    font-size: 36px;
}

#users {
    width: 320px;
    height: 550px;
    display: flex;
    flex-direction: column;
    align-content: center;
}

#users_inner {
    width: 320px;
    height: 540px;
}

.user_img img{
    max-width: 300px;
    max-height: 300px;
    object-fit: cover;
    border-radius: 100%;
    animation: grow 1s ease-out forwards;
    display: block;
    box-shadow: 0px 0px 64px #22222233;
}

.big_user_img img{
    width: 300px;
    height: 300px;
    margin-left: 10px;
}

.medium_user_img img{
    width: 200px;
    height: 200px;
    margin-top: -50px;
}

.small_user_img img{
    width: 150px;
    height: 150px;
    margin-top: -225px;
    margin-left: 160px;
}

.join_as_pro_link {
    text-align: center;
    color: #666666;
    font-size: 16px;
    transition: transform 250ms ease-in-out;
}

.join_as_pro_link:hover {
    transform: scale(1.1);
}

.big_home_box_text {
    font-size: 24px;
    text-align: end;
    float: right;
    max-width: 645px;
    margin-bottom: 14px;
    margin-left: 160px;
}

.btn {
  text-decoration: none;
  display: flex;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  transition: all 250ms ease-in-out;
}

.big_btn {
  font-size: 28px;
  border-radius: 70px;
  width: 300px;
  height: 70px;
  float: right;
}

.blue_border_btn {
    color: #003CFF;
    border: 5px solid #003CFF;
    background: linear-gradient(to left, transparent 50%, #003CFF 50%) right;
    background-size: 200%;
}

.blue_border_btn:hover {
    color: #FFFFFF;
    background-position: left;
}

.footer_text {
    text-align: center;
    display: block;
    margin-bottom: 25px;
    margin-top: 5px;
}

.armenian_flag {
    display: block;
    border-radius: 13px;
}

.armenian_flag span {
    display: block;
    width: 172px;
    height: 5px;
}

.flag_red {
    background-color: #FF5F5F;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.flag_blue {
    background-color: #5B77FF;
}

.flag_apricot {
    background-color: #FFA64D;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

.home_box_link {
    text-decoration: none;
    color: #222222;
}

.icon {
  display: block;
}

.rocket_icon {
    display: block;
    position: absolute;
    width: 160px; height: 160px;
    background: url('resources/images/icons.png') -10px -10px;
}

.puzzle_icon {
    width: 160px; height: 160px;
    background: url('resources/images/icons.png') -190px -10px;
}

.chain_icon {
    width: 40px; height: 40px;
    background: url('resources/images/icons.png') -10px -190px;
}

.normal_box_text {
    font-size: 24px;
  float: right;
  text-align: right;
}

.p {
    display: block;
    height: 100%;
    font-size: 22px;
}

@media only screen and (max-width: 1400px) {
    #users {
        display: none;
    }
  }

  @media only screen and (max-width: 1026px) {
    .home_box_link {
        width: 100%;
    }

    .home_right_top_mini {
        width: 100%;
    }

    .home_box {
        width: 100%;
    }
  }

  @media only screen and (max-width: 455px) {
    .home_right_top_mini {
        min-width: 300px;
    }

    .home_box {
        min-width: 300px;
    }
    
    .big_home_box_text{
        margin-left: auto;
    }

    .rocket_icon {
        display: none;
    }

    .mini_home_box{
        font-size: 22px;
    }

    .big_home_box_text{
        font-size: 20px;
    }

    .normal_box_text{
        font-size: 22px;
    }

    #page_title h1 {
        font-size: 26px;
    }
  }