@font-face {
    font-family: 'DoctorSoosBold';
    src: url('DoctorSoosBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
    background-image: url('bg-clouds.png');
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: cover; 
    margin: 0;
    font-family: 'DoctorSoosBold', Arial, sans-serif;
}

.container {
    width: 748px; 
    height: 503px; 
    background-image: url('bg-avatar.png'); 
    background-size: contain; /* Scale the image to fit while maintaining aspect ratio */
    background-repeat: no-repeat; /* Prevent tiling of the image */
    background-position: center; /* Center the image */
    position: relative;
}

.item {
    position: absolute;
}

.text {
    position: absolute;
    color: white;
    font-size: 16px;
}

.grid {
    position: absolute;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px; 
    width: 50px; 
    height: 50px; 
}

.grid-item {
    width: 100px;
    height: 100px; 
    transition: transform 0.3s;
    font-size: 45px; 
}

.grid-item:hover {
    transform: scale(1.25);
}

#saveButton:hover {
    content: url('savebuttonhl.png'); 
}
#saveButton2:hover {
    content: url('savebuttonhl.png'); 
}

#skipButton:hover {
    content: url('skipbuttonhl.png'); 
}

#closeButton:hover {
    content: url('closebuttonhl.png'); 
}

#selectedImage{ left: 210px; top: 365px; height:80px; width:80px; }
#avatarImage{ left: 475px; top: 125px; width: 110px; height: 110px; }
#userName{ color:black; left: 290px; top: 351px; font-size: 30px;}
#mainTitle{left: 375px; top: 10px; font-size: 50px; text-align:center;transform: translate(-50%, -50%);}
#closeButton{left: 560px; top: 380px; width:50px;}
#avatarGrid{left: 80px; top: 110px;}
#nameTag{color:black; left: 320px; top: 341px; font-size: 35px;}

#saveButton{left: 310px; top: 460px; width:150px;}
#saveButton2{left: 410px; top: 460px; width:150px;}
#skipButton{left: 210px; top: 460px; width:150px;}

#prevButton, #nextButton {
    width: 50px;
    height: auto;
    cursor: pointer;
}
.bottom-right-logo {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 150px; /* Adjust size as needed */
    height: auto;
    z-index: 1000; /* Ensure it's on top of other elements */
}
#prevButton{
    display:none; position: absolute; top: 50%; left: 10px; transform: translateY(-50%); cursor: pointer;
}
#avatarGrid{
    left: 100px; top: 120px;
}
#nextButton{
    position: absolute; top: 50%; right: 10px; transform: translateY(-50%); cursor: pointer;
}