@import url('https://fonts.googleapis.com/css?family=Montserrat');

/* Theme styling */
body.dark-theme {
    background: #1f1f1f;
    background-size: 100%;
    background-repeat: no-repeat;
    color: white;
}

body.light-theme {
    background: #ffffff;
    color: #1f1f1f;
    background-image: none;
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    display: none;
}

.element::-webkit-scrollbar {
    width: 0 !important;
}

/* Links */
a {
    text-decoration: none;
    color: aliceblue;
}

body.light-theme a {
    color: #1f1f1f;
}

a:hover {
    color: #fecd40;
}

/* Logo */
header .logo a {
    background-image: url("mahalogo.png");
    background-size: 80px;
    background-repeat: no-repeat;
    display: inline-block;
    height: 200px;
    width: 111px;
    text-indent: -99999px;
    position: relative;
    top: -15px;
}

/* Nav */
li:first-child {
    float: left;
}

li {
    display: inline-block;
    padding-right: 7%;
    margin: 10px 0 0 0;
    font-size: 25px;
}

.topnav {
    list-style: none;
    font-family: 'Montserrat';
    color: aliceblue;
    margin: 50px 0 0 0;
    text-align: right;
}

/* Header */
section header {
    margin-top: 0px;
    font-family: 'Montserrat';
    font-size: 30px;
    margin-bottom: 30px;
}

.home {
    margin-top: 200px;
}

section {
    text-align: center;
    padding: 8%;

}

section nav {
    font-family: 'Montserrat';
    font-size: 36px;
    line-height: 55px;
    text-align: left;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

section .mybutton {
    font-family: 'Montserrat';
    font-size: 24px;
    color: #151D21;
    background: #fecd40;
    display: inline-flex;
    padding: 6px;
    margin-top: 30px;
    margin-right: 5%;
    margin-left: 5%;
    border: none;
    border-radius: 5px;
}
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    align-items: center ;
}

.features {
	color: gray;
	padding: 20px;
	display: flex;
    flex-direction: row;
    position: relative;
    top: -90px;
}

.features figure {
    margin: auto;
    padding: 5px;
	text-align: center;
    width: 300px;
}

.features figure img {
	border-radius: 50%;
	width: 300px;
	height: 300px;
}

figure img:hover {
    filter: brightness(0.7);
}

figure figcaption {
    font-family: 'Montserrat';
    font-size: 36px;
    margin-top: 10px;
    margin-bottom: 100px;
}

figure figcaption a:hover {
    color: gray;
}

section .mybutton:hover {
    background: white;
    font-size: 26px;
    margin-top: 29px;
}

.par {
    margin-top: 500px;
    height: 650px;
}

footer {
    font-family: 'Montserrat';
    text-align: center;
    padding: 20px;
    background: #333;
    color: white;
}

/* Theme Toggle Button (Bottom Right) */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: background 0.3s, transform 0.3s;
}

.theme-toggle:hover {
    background: #fecd40;
    transform: scale(1.1);
}

body.light-theme .theme-toggle {
    color: #1f1f1f;
}

/* Responsive */
@media screen and (max-width: 1140px) {
    section nav {
        font-family: 'Montserrat';
        font-size: 24px;
        line-height: 36px;
    }

    li {
        font-size: 24px;
    }
}

