@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Dancing+Script&family=Pacifico&display=swap');
body {
    /* 
    background-image: linear-gradient(to top, #3751af 0%, #c1f0ff 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    */
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    overflow-x: hidden;
}

.square {
    position: absolute;
    border-radius: 5px;
    /* border: 2px solid rgba(0, 0, 0, 0.247); */
    z-index: -1000;
}

h1 {
    font-family: 'Great Vibes', cursive;
    text-align: center;
    font-size: 60px;
    text-decoration: underline;
}

h2 {
    margin-left: 1%;
    padding: 0;
    font-family: 'Great Vibes', cursive;
    text-decoration: underline;
    font-size: 45px;
    text-align: center;
}

h3 {
    margin: 0 5%;
    padding: 5;
    font-family: Arial, sans-serif;
    font-size: 27px;
}

x {
    font-size: 30px;
}

a {
    font-size: 30px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}

.box {
    margin-bottom: 4%;
    margin-left: 2%;
    margin-right: 2%;
    /* aspect-ratio: 1 / 1; */
    border: 2px solid #0000003f;
    border-radius: 10%;
    transition: all 0.5s ease, color 0.3s ease;
    height: auto;
}

#popup {
    display: none;
    position: fixed;
    top: 5%;
    left: 5%;
    width: 90vw;
    height: 90vh;
    background-color: rgb(255, 255, 255); 
    border: 2px solid #0000003f;
    border-radius: 40px;
    z-index: 9999; 
    word-wrap: break-word;
}

button.popup {
    padding: 5;
    font-family: Arial, sans-serif;
    font-size: 27px;
    width: 45%;
    margin: 2%;
    border-radius: 15px;
    aspect-ratio: 5 / 1;
    border: 2px solid #000000;
    background-color: #00d9ff;
}

button.popup:hover {
    background-color: #00acca;
}

.slider {
    width: 100%;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: black;
    background-color: #5a5a5a;
    font-size: 50px;
    width: 50px;
    text-align: center;
    border-radius: 15px;
    right: 5%;
    top: 5%;
    aspect-ratio: 1 / 1;   
}

.close-btn:hover {
    color: red; 
}

#popup {
    padding-right: 0%; 
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1; 
}

::-webkit-scrollbar-thumb {
    background-color: #888; 
    border-radius: 10px; 
    border: 3px solid #f1f1f1; 
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555; 
}

.lock {
    position: absolute;
    top: 30%;
    left: 40%;
    z-index: 1000;
}

#img-lock {
    width: 20vw;
    aspect-ratio: 1 / 1;
}

@media only screen and (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .lock {
        left: 20%;
    }

    #img-lock {
        width: 50vw;
    }
}