
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    color: #333;
}

body {
    display: flex;
    flex-direction: column;
}


.page-wrapper {
    width: 100%;
    max-width: 1080px; 
    margin: 0 auto; 
    flex: 1 0 auto; 
    display: flex;
    flex-direction: column;
}


header {
    background-color: #6C757D;
    padding: 1rem 2rem;
    width: 100%;
}


.logo-link,
.logo-link:visited {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

header .logo img {
    height: 50px;
    margin-right: 15px;
}

header h1 {
    font-size: 1.8rem;
}


}


nav {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e0e0e0; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 0 20px; 
}

nav ul {
    list-style-type: none;
    display: flex; 
    justify-content: center;
    flex-wrap: wrap; 
}

nav ul li a,
nav ul li a:visited {
    display: block;
    padding: 15px 20px;
    color: #333; 
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid transparent; 
    transition: all 0.3s ease; 
}

nav ul li a:hover {
    background-color: #f5f5f5; 
    color: #000;
    border-bottom: 2px solid #5865F2; 
}



main {
    padding: 30px;
    background-color: #fff;
    flex-grow: 1; 
}

main h2 {
    margin-bottom: 15px;
    color: #333;
}

		
a.other:link {
		color:#000000;text-decoration:none;
		}
a.other:visited {
		color:#000000;text-decoration:none;
		}
a.other:hover {
		text-decoration:underline;
		}


footer {
    max-width: 1080px;
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    background: #6C757D;
    color: #fff;
    text-align: center;
    flex-shrink: 0;
    border-radius: 5px;
}


@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    nav ul {
        flex-direction: column; 
        align-items: center;
    }

    nav ul li a,
    nav ul li a:visited {
        width: 100%; 
        text-align: center; 
        border-bottom: 1px solid #eee; 
    }
    
    nav ul li a:hover {
        border-bottom: 1px solid #ddd; 
    }

    main {
        padding: 20px;
    }
}
