* {
    padding: 0;
    margin: 0;
}

@font-face {
    font-family: "Sanrio";
    src: url(Keepsmile-1GY12.otf);
}

body {
    background-image: url(https://img.magnific.com/premium-photo/pink-white-checkered-pattern-with-pink-checkered-background_1222383-86688.jpg);
    background-size: 150px;
}

#main {
    display: block;
    border: 3px solid #8bd9d1;
    border-radius: 30px;
    background-color: white;
    padding: 1%;
    margin: 2%;
}

#header {
    display: block;
    border: 3px solid #8bd9d1;
    border-radius: 18px;
    background-image: url(hongy-bg.jpg);
}

#header h1 {

    font-family: "Sanrio";
    font-weight: 50;

    padding: 1%;
    text-align: center;
    font-size: 50px;

   -webkit-text-fill-color: rgb(255, 255, 255);
   -webkit-text-stroke-width: 2px;
   -webkit-text-stroke-color: #fb83af;

   transition-duration: 0.5s;
}

#header h1:hover {
    font-size: 70px;

    -webkit-text-fill-color: rgb(255, 160, 231);
   -webkit-text-stroke-width: 2px;
   -webkit-text-stroke-color: #369eff;
}

.about {
    display: block;
    border: 3px solid #8bd9d1;
    border-radius: 18px;
    background-color: #fee2ec;
       
    padding: 1%;
    margin-top: 1%;
}

.about p {
    font-size: 30px;
    padding-bottom: 5px;
    font-family: "Sanrio";
    color: #3fbaaf;
    letter-spacing: 5px;
    padding-left: 10px;
}

.about ul {
    padding-left: 50px;
    font-family: Arial, sans-serif;
    color: #782323;
    line-height: 25px;
}

.about button {
    padding-left: 40px;
    background: none;
    border: none;
    transition-duration: 0.5s;
}

.about button:active {
    opacity: 0.3;
}

.about img {
    padding-top: 5px;
    height: 100px;
    transition-duration: 0.5s;
}

/* modals */

.modal {
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all 0.3s ease-in-out;
    z-index: -1;

    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-inner {
    background-color: #e7fcfa;
    border: 5px solid #d98bd4;
    border-radius: 10px;
    padding: 15px;
    height: 55%;  
    width: 25%;

    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;    
    gap: 10px;              
}

.modal-inner img {
    flex-grow: 1;          
    min-height: 0; 
    width: 100%;
    object-fit: contain;  
}

.modal-inner h1 {
    text-align: center;
    font-size: 20px;
    font-family: Arial, sans-serif;
    color: #782323;
}

.closeModal {
    flex-shrink: 0; 
    
    background-color: #fee2ec;
    color: #782323;
    border: 2px solid #8bd9d1;
    border-radius: 8px;
    padding: 6px 12px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    font-weight: bold;
}

.closeModal:hover {
    background-color: #d98bd4;
    color: white;
    border-color: #d98bd4;
}

.modal.open {
    opacity: 1;
    z-index: 999;
    pointer-events: auto;
}

/* end of modal */

.outer-clmn {
    border: 3px solid #8bd9d1;
    border-radius: 18px;
    background-image: url(https://img.magnific.com/premium-photo/pink-white-checkered-pattern-with-pink-checkered-background_1222383-86688.jpg);
    background-size: 200px;
    margin-top: 1%;
    padding: 1%;
}

.columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1%;
}

.paragraph {
    border: 3px solid #8bd9d1;
    border-radius: 18px;
    background-color: #e7fcfa;
    padding: 15px;
}

.columns .paragraph h1 {
    border: 3px solid #d98bd4;
    border-radius: 11px;
    background-color: rgb(255, 223, 250);
    padding: 10px;
    color: #782323;
    font-weight: 800;
    font-size: 15px;
}

.paragraph p {
    padding-top: 15px;
    line-height: 1.5;
    font-family: Arial, sans-serif;
    text-align: justify;
    color: #893a84;
}

.paragraph h1 {
    font-family: Arial, sans-serif;
    font-weight: bold;
}

.column2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding-top: 1%;
    gap: 1%;
}

.footer {
    border: 3px solid #8bd9d1;
    border-radius: 18px;
    background-color: #e7fcfa;
    padding: 15px;
}

.footer .top {
    border: 3px solid #d98bd4;
    border-radius: 11px;
    background-color: rgb(255, 223, 250);
}

.footer .top p{
    padding-left: 15px;
    color: #176173;
}

.content {
    padding-top: 15px;
}

.content button{
    background: none;
    border: none;
}

.content p {
    font-family: Arial, sans-serif;
    color: #176173;
    line-height: 25px;
}

.content .loc a {
    text-decoration: none;
    font-weight: bold;
    color: #176173;
    background-color: #ffc3da;
    border-radius: 5px;
    padding: 5px;

    transition-duration: 0.5s;
}

.content .loc a:hover {
    background-color: #8bd9d1;
    font-size: 18px;
}

.content img {
    padding-top: 5px;
    height: 40px;
    transition-duration: 0.5s;
}

.content img:hover {
    filter: hue-rotate(90deg);
    height: 50px;
}

/* Mobile Version */
@media screen and (max-width: 768px) {
    
    .modal-inner {
        width: 85%;       
        height: 65%;     
        padding: 20px;
    }

    .modal-inner h1 {
        font-size: 16px;  
    }

    .columns {
        grid-template-columns: 1fr; 
        gap: 10px;
    }

    .column2 {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #header h1 {
        font-size: 32px;
    }
    
    #header h1:hover {
        font-size: 36px; 
    }

    .about ul {
        padding-left: 20px; 
        text-align: justify; 
        font-size: 13px;
    }
    
    .about button {
        padding-left: 10px;
    }

    #main {
        display: block;
        border: 3px solid #8bd9d1;
        border-radius: 30px;
        background-color: white;
        padding: 3%;
        margin: 3%;
    }
    .about {
        margin-top: 3%;
        margin-bottom: 3%;
    }

    .columns {
        margin: 2.3%;
    }

    .columns p {
        font-size: 13px;
    }

    .footer {
        margin-top: 2.3%;
    }

    .footer .content p{
        font-size: 13px;
    }
}