* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "MyFont", sans-serif;
    scroll-behavior: smooth;
}

@font-face {
    font-family: "MyFont";
    src: url("Pixeled.ttf") format("truetype");
}


.welcome-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url("sculk minecraft wallpaper.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    overflow-x: hidden;
}

.welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.titlebox {
    background-color: rgb(42, 55, 55);
    padding: 15px 25px;
    border-radius: 20px;
    width: fit-content;
    max-width: 90%;
    text-align: center;
    margin-top: -40px;
}


.title {
    color: #1B512D;
    text-align: center;
    text-shadow: 2px 2px black;
    font-size: clamp(2rem, 6vw, 4.5rem);
}


.container1 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.popup {
    background: rgb(42, 55, 55);
    border-radius: 15px;
    text-align: center;
    padding: 25px;
    color: #ddd;
    width: 90%;
    max-width: 1000px;
}


.popuptext,
.popuptext2,
.popuptext3 {
    font-size: clamp(14px, 2vw, 25px);
    margin-bottom: 15px;
    line-height: 1.5;
}


.tick {
    width: clamp(80px, 15vw, 150px);
    cursor: pointer;
}

.ethan-credit-link{
    color: #ffffff;
    transition: ease-in-out .5s;
}

.ethan-credit-link:hover{
    background-image: url("sculk minecraft wallpaper.jpg");
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

@media (min-width: 769px) and (max-width: 1440px) and (max-height: 900px){
    .titlebox {
        margin-top: -120px; 
        padding: 10px 20px;
    }

    .title {
        font-size: clamp(2rem, 4vw, 3.5rem);
    }

    .popup {
        width: 70%;
        max-width: 800px;
        padding: 20px;
    }

    .popuptext,
    .popuptext2,
    .popuptext3 {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .tick {
        width: 90px;
    }
}

@media (min-width: 769px) and (max-width: 1366px) and (max-height: 768px) {

    .titlebox {
        margin-top: -150px;
    }

    .popup {
        width: 65%;
        max-width: 700px;
        padding: 15px;
    }

    .popuptext,
    .popuptext2,
    .popuptext3 {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .tick {
        width: 75px;
    }
}

@media screen and (max-width: 768px) {

    .welcome-page {
        display: block;
        width: 100%;
        min-height: 100vh;
        padding: 15px;
        overflow-x: hidden;
    }

    .welcome {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .titlebox {
        display: block;
        width: 90%;
        max-width: 350px;
        margin: 20px auto;
    }

    .container1 {
        display: block !important;
        width: 100%;
    }

    .popup {
        width: 90%;
        max-width: 350px;
        margin: 0 auto;
    }
}