/* Palletes */
/*
#DC4F4C #FA9838 #F8EA74 #B1E73E #06D1B6 -- High contrast primary colors
#B87A89 #2F3D4B #245F86 #2A87C0 #7DB9D5 -- pink and blue
*/

body {
    font-family: 'Kanit', sans-serif;
    background-image: url('../img/backgroundfinalv2.jpg');
    background-position: center;
    background-size: cover; 
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
}

h1 {
    color: #da86a9;
    font-size: 5em;
    /* border: 2px dotted gray; */
    margin: 0px;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 1);
}

main {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

p {
    font-size: 1.5em;
    /* border: 2px dotted gray; */
    margin: 0px;
}

#left-block {    
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    width: 50%;
    padding: 10px;
}

#infoText {
    display: block;
    margin-top: 20%;
    margin-left: 30%;
    width: 60%;
 /* border: 2px dotted gray; */
}

.basicText {
    font-weight: 300;
    color: #fff;
    font-size: 1.5em;
    /* border: 2px dotted gray; */
}

.importantText {
    color: #009dff;
    font-size: 2em;
    /* border: 2px dotted gray; */
}

.clickable-image {
    width: 75%; /* Default width */
    transition: width 0.1s; /* Smooth transition on width change */
    transform-origin: center;
}

.clickable-image:hover {
    width: 80%;
}

@media (max-width: 1400px) {
    #infoText {
        display: block;
        margin-left: 0%;
        width: 100%;
    }

    main {
        flex-direction: column; /* Change the direction of the flex container */
        text-align: center;
    }

    #left-block {
        width: 100%; /* Make the left block take full width */
    }

    #infoText {
        margin-top: 1%;
    }

    #right-block {
        width: 100%; /* Make the right block take full width */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #right-block img {
        height: auto; /* Maintain the aspect ratio of the image */
    }
    
}