* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

.paypal_a{
    display: flex;
    justify-content: center;
    align-items: center;
}

.paypal_img{
    width: 80%;
    display: flex;
}

.popup {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.popup-content h1 {
    font-size: 40px;
    color: white;
    font-weight: 300;
    text-align: center;
    margin-bottom: 20px;
}

.popup-content h2 {
    font-size: 24px;
    color: white;
    font-weight: 200;
    text-align: center;
    margin-bottom: 10px;
}

.popup-content {
  background-color: rgba(0, 0, 0, 0.8);
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid white;
  width: 80%;
}

.popup-close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.popup-close:hover,
.popup-close:focus {
  color: red;
  text-decoration: none;
  cursor: pointer;
}

.shop-base button {
    background-color: rgba(102, 167, 253, 0.3);
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    font-size: 24px;
    margin-top: 10px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'VT323', monospace;
    width: 60%;
}

.homepage-base {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #222;
    font-family: 'VT323', monospace;
    position: relative;
    isolation: isolate;
}

.homepage-base::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('images/background.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: blur(2px);
    z-index: -1;
}

.logobase {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.logobase a {
    display: flex;
    justify-content: center;
    width: 100%;
}

.logobase img {
    width: 50%;
}

.welcomebase {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.welcomebase h1 {
    font-size: 32px;
}

.welcomebase h2 {
    font-size: 20px;
}

.homepage-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70vw;
    gap: 30px;
    padding-bottom: 20px;
}

.btn img{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
}

.btns {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.btns,
.popup-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 167, 253, 0.9) rgba(255, 255, 255, 0.15);
}

.btns::-webkit-scrollbar,
.popup-content::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.btns::-webkit-scrollbar-track,
.popup-content::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}

.btns::-webkit-scrollbar-thumb,
.popup-content::-webkit-scrollbar-thumb {
    background-color: rgba(102, 167, 253, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
}

.btns::-webkit-scrollbar-thumb:hover,
.popup-content::-webkit-scrollbar-thumb:hover {
    background-color: rgba(144, 194, 255, 0.95);
}

.btn {
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
    width: fit-content;
}

.btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-family: 'VT323', monospace;
}

.header h1 {
    font-size: 36px;
    margin: 20px 0;
}

.meeskond-base {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.meeskond-item img {
    width: 80%;
    height: auto;
    border-radius: 100px;
    margin-bottom: 10px;
}

.meeskond-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(102, 167, 253, 0.3);
    border: 2px solid white;
    padding: 10px;
    border-radius: 10px;
    width: 80%;
}

.meeskond-item h1 {
    font-size: 60px;
    margin-bottom: 10px;
    color: white;
}

.meeskond-item h2 {
    font-size: 30px;
    padding: 2px;
    font-weight: 300;
    color: white;
}

.meeskond-item h3 {
    font-size: 24px;
    padding: 2px;
    font-weight: 200;
    color: white;
    align-self: flex-start;
}

.meeskond-item h4 {
    font-size: 20px;
    padding: 2px;
    font-weight: 100;
    color: white;
    align-self: flex-start;
}

.shop-base {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.shop-item img {
    width: 100%;
    height: 20vh;
    border-radius: 10px;
    margin-bottom: 10px;
}

.shop-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(102, 167, 253, 0.3);
    border: 2px solid white;
    padding: 10px;
    border-radius: 10px;
    width: 80%;
}

.shop-item-info-trigger {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-item-info-trigger:hover,
.shop-item-info-trigger:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.shop-item h1 {
    font-size: 60px;
    margin-bottom: 10px;
    color: white;
}

.shop-item h2 {
    font-size: 30px;
    padding: 2px;
    font-weight: 300;
    color: white;
}

.shop-item h3 {
    font-size: 24px;
    padding: 2px;
    font-weight: 200;
    color: white;
    align-self: flex-start;
}

.shop-item h4 {
    font-size: 20px;
    padding: 2px;
    font-weight: 100;
    color: white;
    align-self: flex-start;
}

.spacer {
    width: 90%;
    height: 2px;
    background-color: white;
}

@media (min-width: 768px) {
    .btns {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .btn img{
        width: 50vh;
        height: 40vh;
    }

    .welcomebase h1 {
        font-size: 48px;
    }

    .welcomebase h2 {
        font-size: 28px;
    }

    .shop-base {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        width: 70%;
    }

    .shop-item {
        width: 250px;
        min-height: 400px;
        justify-content: flex-start;
    }

    .meeskond-base {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        width: 70%;
    }

    .meeskond-item {
        width: 250px;
        min-height: 400px;
        justify-content: flex-start;
    }

    .popup-content {
      width: 40%;
    }

    .header h1 {
        font-size: 48px;
    }

    .header {
        margin-bottom: 40px;
    }

    .header h2{
        font-size: 24px;
    }

    .paypal_img{
    width: 40%;
    display: flex;
    }
}