
@import url("./fonts.css");

body {
  background: linear-gradient(180deg, rgba(38, 94, 185, 1.0), rgba(38, 94, 185, 0.5));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgb(61, 61, 61);
  background-attachment: fixed;
  font-family: 'Brandon Grotesque', sans-serif;
}
.ag-collection-block {
  padding: 15px 0;
}
.ag-format-container {
  width: 845px;
  margin: 0 auto;
}
.ag-collection_list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[4];
  grid-template-columns: repeat(4, 1fr);
  grid-auto-columns: minmax(250px, auto);
  grid-auto-rows: minmax(250px, auto);
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  margin-top: 20px;
}

.js-ag-collection_item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}


.linear-green {
  background: linear-gradient(180deg, #47e6bf, #06b78e);
  box-shadow: 0 10px 16px rgb(35 204 164 / 48%);
}
.linear-purple {
  background: linear-gradient(rgb(221, 42, 123) 0%, rgb(182, 29, 98) 100%);
  box-shadow: rgb(221 42 123 / 50%) 0px 10px 16px;
}
.linear-black {
  background: linear-gradient(rgb(0, 0, 0) 0%, rgb(0, 0, 0) 100%);
  box-shadow: rgb(0 0 0 / 50%) 0px 10px 16px;
}
.linear-blue {
  background: linear-gradient(180deg, #86e3fb, #4954ec);
  box-shadow: 0 10px 16px rgb(100 111 243 / 48%);
}
.linear-green-new {
  background: linear-gradient(180deg, #c6ef3b, #aad616);
  box-shadow: 0 10px 16px rgb(170 214 22 / 62%);
}
.linear-yellow {
  background: linear-gradient(180deg,#ffa419,#fe9900);
  box-shadow: 0 10px 16px rgb(255 160 15 / 38%);
}
.linear-orange {
  background: linear-gradient(180deg,#e62d12bd,#e62d12);
  box-shadow: 0 10px 16px #e62d129c;
}

 /* Background CSS */

 .linear-green-bg:before {
  background: linear-gradient(187deg, rgba(2,0,5,0) 0%, rgb(43 29 148 / 0%) 74%, rgb(25 197 156) 100%);
}
.linear-purple-bg:before {
  background: linear-gradient(187deg, rgba(2,0,5,0) 0%, rgb(43 29 148 / 0%) 74%, rgb(192 32 104) 100%);
}
.linear-black-bg:before {
  background: linear-gradient(187deg, rgba(2,0,5,0) 0%, rgb(43 29 148 / 0%) 74%, rgb(14 14 14) 100%);
}
.linear-blue-bg:before {
  background: linear-gradient(187deg, rgba(2,0,5,0) 0%, rgb(43 29 148 / 0%) 74%, rgb(84 110 239) 100%);
}
.linear-green-new-bg:before {
  background: linear-gradient(187deg, rgba(2,0,5,0) 0%, rgb(43 29 148 / 0%) 74%, rgb(178 221 12) 100%);
}
.linear-yellow-bg:before {
  background: linear-gradient(187deg, rgba(2,0,5,0) 0%, rgb(43 29 148 / 0%) 74%, rgb(254 155 4) 100%);
}
.linear-orange-bg:before {
  background: linear-gradient(187deg, rgba(2,0,5,0) 0%, rgb(43 29 148 / 0%) 74%, rgb(211 45 37) 100%);
}
.ag-collection_info {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: space-between;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 15px;
  background-color: #e7e7e7;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  position: relative;
  background: url(../img/sky.jpg);
  background-image: linear-gradient(338deg, rgb(90 24 126) 8%, rgba(166,68,229,0.7)),url(../img/sky.jpg);
  background-position: center;
  background-size: cover;
}
.ag-collection_img {
  max-width: 100%;
}

.ag-collection_title {
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-size: 22px;
  font-family: "Roboto", system-ui;
}

[class^="button"] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 42px;
  padding: 0 24px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  color: #fcfcfd;
  transition: all .2s;
  border: none;
  text-transform: uppercase;
  font-family: "Roboto", system-ui;
  max-width: 85%;
  margin: 0 auto;
  z-index: 1;
}

.js-ag-collection-popup_overlay {
  display: none;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background-color: rgba(0, 1, 2, .16);
  mix-blend-mode: normal;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.js-ag-collection-popup_overlay__show {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.js-ag-collection-popup_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 370px;
  width: 50%;
  padding-left: 0;
  padding-right: 0;
  background-color: transparent;
  z-index: 200;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  position: relative;
}

.js-ag-collection-popup_btn__close {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    z-index: 9999999;
    color: gray;
    font-family: 'Roboto';
}

.js-ag-collection-popup_btn_close:hover {
  color: #000;
}


.ag-collection-popup_col__right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  height: 100%;
  width: 100%;
  padding: 40px;
  background-color: #FFF;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}

.ag-collection-popup_name {
  -webkit-box-flex: 0;
  -ms-flex: 0 auto;
  flex: 0 auto;
  line-height: 1.2;
  margin: 0 0 15px;
  text-transform: none;
  font-weight: bold;
  font-size: 32px;
  color: #000;
}

.ag-collection-popup_text {
  line-height: 1.42;
  margin: 0 0 20px;
  font-size: 14px;
}

.ag-collection-footer-text {
  font-size: 18px;
  text-align: center;
  margin-top: 1rem;
  color: #fff;
}

.ag-collection-socials {
  text-align: center;
}

.ag-collection-follow img {
  margin: 0 10px;
  cursor: pointer;
  transition: transform 0.3s;
  width: 60px;
}

.ag-collection-follow img:hover {
  transform: scale(1.1);
}

.ag-collection-socials h2 {
  font-size: 40px;
  margin: 16px 0;
  color: #fff;
}
.ag-collection_info:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  border-radius: 10px;
}

.animate {
  animation: zoomInOut 1s ease-in-out infinite;
}

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

@media only screen and (max-width: 767px) {
  .ag-format-container {
    width: 96%;
  }

  .ag-collection-follow img {
    max-width: 50px;
  }

  .ag-collection_list {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(4, 1fr);
  }

  .js-ag-collection-popup_overlay__show {
    overflow-y: auto;
  }

  .js-ag-collection-popup_box {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .js-ag-collection-popup_box {
    height: auto;
    width: 90%;
    margin: 200px 0 50px;
  }

  .ag-collection-popup_col__left,
  .ag-collection-popup_col__right {
    width: auto;
  }

  .ag-collection-popup_col__left {
    -webkit-border-radius: 8px 8px 0 0;
    -moz-border-radius: 8px 8px 0 0;
    border-radius: 8px 8px 0 0;
  }

  .ag-collection-popup_col__right {
    -webkit-border-radius: 0 0 8px 8px;
    -moz-border-radius: 0 0 8px 8px;
    border-radius: 0 0 8px 8px;
  }

}

@media only screen and (max-width: 639px) {}

@media only screen and (max-width: 479px) {
  .ag-collection_list {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (4fr)[1];
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(auto, auto);
	 grid-column-gap: 5px;
  grid-row-gap: 5px;
  }
  .ag-collection_title {
    font-size: 10px;
    margin: 0;
    -webkit-line-clamp: 3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    max-width: 100%;
    margin-top: -5px;
}
.ag-collection_list{
margin-top: 6px;
}
.ag-collection_info img {
  height: auto!important;
  padding-top: 7px;
}
.ag-collection_info {
  padding: 6px;
}
[class^="button"] {
  font-size: 10px;
  height: 20px;
  padding: 0 8px;
  width: 100%;
  margin-top: 0px;
  margin-bottom: 1px;
  margin-left: -1px;
}
.js-ag-collection_item {
  min-height: 110px;
}
.ag-collection-footer-text {
  font-size: 12px;
}
.ag-collection-socials h2 {
  font-size: 22px;
}
}

@media (min-width: 768px) and (max-width: 979px) {
  .ag-format-container {
    width: 750px;
  }

  .ag-collection_list {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[3];
    grid-template-columns: repeat(4, 1fr);
  }

  .js-ag-collection-popup_box {
    width: 90%;
  }
}

@media (min-width: 980px) and (max-width: 1161px) {
  .ag-format-container {
    width: 960px;
  }

  .ag-collection_list {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[4];
    grid-template-columns: repeat(4, 1fr);
  }
}