:root {
	--main-bg-position: center center;
}
.theme-abs1 {
	--header-text-color: #ddd;
	--main-text-color: #ddd;
	--menu-text-color: #333;
	--menu-bg-color: #ddd;
    --menu-opt-bg-color: #005580;
    --menu-web-bg-color: #002233;
    --main-bg-opacity: rgba(0, 0, 0, 0.4);
    --main-bg-image: url(/images/abs1.jpg);
}
.theme-abs2 {
	--header-text-color: #ddd;
	--main-text-color: #ddd;
	--menu-text-color: #333;
	--menu-bg-color: #ddd;
    --menu-opt-bg-color: #005580;
    --menu-web-bg-color: #002233;
    --main-bg-opacity: rgba(0, 0, 0, 0.4);
    --main-bg-image: url(/images/abs2.jpg);
}
.theme-abs3 {
	--header-text-color: #ddd;
	--main-text-color: #ddd;
	--menu-text-color: #333;
	--menu-bg-color: #ddd;
    --menu-opt-bg-color: #005580;
    --menu-web-bg-color: #002233;
    --main-bg-opacity: rgba(0, 0, 0, 0.4);
    --main-bg-image: url(/images/abs3.jpg);
}
.theme-abs4 {
	--header-text-color: #ddd;
	--main-text-color: #ddd;
	--menu-text-color: #333;
	--menu-bg-color: #ddd;
    --menu-opt-bg-color: #005580;
    --menu-web-bg-color: #002233;
    --main-bg-opacity: rgba(0, 0, 0, 0.4);
    --main-bg-image: url(/images/abs4.jpg);
}

.theme-ph1 {
	--header-text-color: #dbcacb;
	--main-text-color: #dbcacb;
	--main-bg-color: #dbcacb;
	--menu-text-color: #333;
	--menu-bg-color: #dbcacb;
    --menu-opt-bg-color: #6c5a70;
    --menu-web-bg-color: #bf6e5e;
    --main-bg-opacity: rgba(0, 0, 0, 0.4);
	--main-bg-position: center top;
    --main-bg-image: url(/images/ph1.jpg);
}
.theme-ph2 {
	--header-text-color: #d5dbd0;
	--main-text-color: #d5dbd0;
	--menu-text-color: #333;
	--menu-bg-color: #d5dbd0;
    --menu-opt-bg-color: #6d6a53;
    --menu-web-bg-color: #7c8960;
    --main-bg-opacity: rgba(0, 0, 0, 0.4);
    --main-bg-image: url(/images/ph2.jpg);
}
.theme-ph3 {
	--header-text-color: #fff;
	--main-text-color: #fff;
	--menu-text-color: #333;
	--menu-bg-color: #fff;
    --menu-opt-bg-color: #3b868c;
    --menu-web-bg-color: #b48870;
    --main-bg-opacity: rgba(0, 0, 0, 0.3);
    --main-bg-image: url(/images/ph3.jpg);
}
.theme-ph4 {
	--header-text-color: #2f3631;
	--main-text-color: #ddd;
	--menu-text-color: #2f3631;
	--menu-bg-color: #ddd;
    --menu-opt-bg-color: #2f3631;
    --menu-web-bg-color: #b96027;
    --main-bg-opacity: rgba(0, 0, 0, 0.4);
    --main-bg-image: url(/images/ph4.jpg);
}

/* General Styles */
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--main-text-color);
    background-image: var(--main-bg-image);
    background-color: var(--main-bg-opacity);
    background-position: var(--main-bg-position);
    background-blend-mode: multiply;
    background-size: cover;
    background-attachment: fixed;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    transition: background-color 5000s ease-in-out 0s, width 0.5s;
    -webkit-text-fill-color: inherit !important;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 1860px;
    margin: 0 auto;
}

.header__logo {
    flex: none;
    text-align: left;
    margin-right:25px;
    font-size:25px;
    font-weight:600;
    color: var(--main-text-color);
    display:none;
}

.header__menu {
    flex: auto;
    display: flex;
    justify-content: initial;
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.header__item {
    position:relative;
    height: 23px;
}

.header__link {
    text-decoration: none;
    color: var(--header-text-color);
    margin: 0 10px;
    padding-bottom: 2px;
}

.header__dropdown {
    display: none;
    position: absolute;
    left:10px;
    width: 243px;
    border-radius:5px;
    background-color: var(--menu-bg-color);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 0;
    top: 23px;
    box-shadow: 0 10px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19) !important;
    z-index: 100;
    list-style-type: none
}
.header__dropdown-item {
    float: left;
    width: 100%;
	position: relative;
}
.header__dropdown-item--with-my:hover {
	background: #ccc;
    opacity:1;
}
.header__dropdown-item--title {
    color: var(--menu-text-color);
    font-size: 85%;
    font-weight: bold;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 6px;
    padding-bottom: 7px;
    opacity:0.85;
}
.header__dropdown-link {
    float: left;
    width: 100%;
    color: var(--menu-text-color);
    padding: 7px 14px 7px 24px;
    text-decoration: none;
    font-size:90%;
    opacity:0.7;
}
.header__dropdown-link:hover {
	background: #ccc;
    opacity:1;
}
.header__dropdown-link--with-my {
    padding-left: 2px;
    float: right;
    width: 78%;
}
.header__dropdown-link--my {
    position: absolute;
    color: var(--menu-text-color);
    text-decoration: none;
    font-size: 90%;
    opacity: 0.7;
    left: 0;
    top: 0;
    padding: 7px 2px 7px 24px;
}
.header__dropdown-link--my:hover {
	opacity: 1;
}

.header__item:hover .header__dropdown {
    display: block;
}

.header__user {
    color: var(--main-text-color);
    flex: none;
    text-align: right;
    text-decoration: none;
}


/* Main Container Styles */
.main-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    height: 75vh;
}


.main-container__title {
    font-size: 2rem;
    text-align: center;
}

.main-container__search-form {
    width: 100%;
    max-width: 900px;
}
.search-form {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.search-form__input {
    color: var(--menu-text-color);
    background: var(--menu-bg-color);
    padding: 15px 25px;
    font-size: 1.2rem;
    width: 98.7%;
    height: 53px;
    border-radius: 50px;
    border:none;
    margin: 0 20px 0 0;
    outline: none;
    transition: width 0.5s;
    z-index: 99;
    position: relative;
}

.search-form__button {
    background-color: var(--menu-bg-color);
    flex-grow: 0;
    padding: 10px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    border-radius:50px;
    width:52px;
}

.menu {
    position:absolute;
    top: 0;
    color: white;
    border-radius: 0 50px 50px 0;
    padding: 17px 5px 17px;
    text-align: center;
    cursor: pointer;
}

.menu--opt {
    background: var(--menu-opt-bg-color);
    right: 320px;
    width: 270px;
    height: 53px;
    z-index: 22;
}

.menu--web {
    background: var(--menu-web-bg-color);
    right: 73px;
    width: 270px;
    height: 53px;
    z-index: 20;
}

.menu-round {
    background: var(--main-text-color);
    position: absolute;
    top: 0;
    right: 480px;
    width: 25px;
    height: 52px;
    border-radius: 0 50px 50px 0;
    z-index: 22;
}

.menu span {
    display:inline-block;
    width:40px;
    text-align:center;
}

.pop {
    background: var(--main-text-color);
    color:var(--main-text-color);
    position:absolute;
    top:24px;
    padding: 38px 0 10px;
    border: 1px solid #999;
    border-radius: 10px;
}
.pop--opt {
    right:320px;
    width:271px;
    z-index: 21;
}
.pop--web {
    right:73px;
    width:270px;
    z-index: 19;
}
.pop ul {
    padding: 0;
    margin: 0;
    list-style-type: none
}
.pop li {
    color:var(--menu-text-color);
    opacity: 0.7;
    font-size:90%;
    padding: 6px 0 6px 0;
    cursor: pointer
}
.pop li:hover {
    opacity: 1;
    background: #ccc;
}
.li-separator {
    cursor:auto !important;
    opacity: 0.7 !important;
    background: transparent !important;
}
.pop span {
    display:inline-block;
    width:45px;
    text-align:center;
}

.support-button {
    color:var(--menu-text-color);
    background: var(--menu-bg-color);
	position: fixed;
    right: 20px;
    bottom: 20px;
    width: 55px;
    height: 55px;
    line-height: 40px;
    margin: 0;
    padding: 0;
    font-size: 28px;
    text-align: center;
    border-radius: 50%;
    z-index: 99;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1); 
    transition: width 0.5s, height 0.5s, border-radius 0.5s, bottom 0.5s, right 0.5s;
}
.support-button.expanded {
    width: 450px;
    height: 95%;
    border-radius: 10px;
    font-size: 18px;
    line-height: 26px;
    padding: 20px 30px;
    text-align: left;
    overflow-y: auto;
}
.support-text {
    display: none;
    position: relative;
    font-size: 15px;
    line-height: 24px;
}
.support-icon {
    position: absolute;
    cursor: pointer;
    font-size: 28px;
    padding: 5px;
    top: 8px;
    right: 8px;
    transition: opacity 0.4s, top 0.4s, right 0.4s;
    opacity: 1;
}
.support-icon--hide {
    opacity: 0;
}
.support-text p {
    margin-top: 5px;
}
.support-text h3 {
    margin-bottom: 5px;
}
.support-text h4 {
    margin-bottom: 5px;
}
.support-text ul {
    margin-top: 0;
    padding-left:30px;
}
.flex-centered {
    display: flex;
    align-items: center;
}
.text__example {
    color: var(--menu-opt-color);
    margin-left: auto;
    width: 150px;
    text-align: left;
    font-size: 90%;
    font-style: italic;
}

.text__note {
    color: red;
    font-size:70%;
    margin-left:3px;
}

.support-button.expanded::-webkit-scrollbar {
    width: 0;
    background: transparent; 
}

.support-button.expanded {
    scrollbar-width: none;  /* Firefox */
}

.theme-container {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between;
    gap: 1%; /* provides spacing between the images */
}

.theme-container a {
    flex: 0 0 calc(50% - 1%); /* to accommodate for the 3% gap */
}

.theme-container img {
    width: 100%;
    max-width: 188px;
    display: block;
    margin-bottom: 10px
}


/* Responsive Styles */
@media (max-width: 767px) {
	.header {
		padding: 20px 0;
	}
	.header__item {
		text-align: center;
        flex: 1 1 0%;
        max-width: calc(100% / [number of items]);
    }
    .header__link {
	    font-size: 15px;
    }
	.header__dropdown {
		text-align: left;
	}
	.header__dropdown--center {
	    left:-80px;
	}
	.header__dropdown--right {
	    left:unset;
	    right:10px;
	}
	.search-form {
	    display: inline;
	    padding: 0 15px;
	}
	.search-form__input {
	    width: 100%;
	    margin: 0;
	}
	.support-button.expanded {
	    width: 90%;
	}
	.text__example {
	    width: 45%;
	}
	
	.theme-container img {
	    margin-bottom: 5px
	}
}
