body{
    background-color: lightcyan;
    color: #222121;
}

p {
    text-align: justify;
    font-size: 110%;
    font-family: "Times New Roman", Georgia, serif;
}

summary{
    text-align: center;
    font-size: 90%;
    color: black;
}

footer{
    font-size: 80%;
}

nav {
    background-color: darkblue;
    width: 100%;
    display: flex;
}

nav a {
    flex: 1;
    text-align: center;
    color: white;
    text-decoration: none;
    padding: 10px;
}

nav a.active {
    background-color: purple;
}

aside table {
    background-image: url('bg.png');
    width: 100%;
    height: 280px;
    border: 1px solid black;
    border-collapse: collapse;
}
aside th, aside td{
    border: 1px solid black;
    border-collapse: collapse;
}

#kep1 {
    width: 100%;
}

#kep2 {
    width:  60%;
    height: 40%;
    margin-bottom: 40px;
}

#kep3 {
    width:  60%;
}

#kep4 {
    width:  55%;
    height: 50%;
    margin-bottom: 60px;
}

#kep5 {
    width:  55%;
    height: 55%;
    margin-left: 160px;
}

#par{
    margin-bottom: 100px;
}

.hasab {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 200px;
}

figure.vid{
    text-align: center;
}

.vid details{
    text-align: left;
}

video{
    width: 40%
}

input{
    margin-bottom: 50px;
}

textarea{
    margin-bottom: 45px;
}

button{
    width: 15%;
    height: 12%;
    margin-right: 113px;
}

.fontsize_button{
    margin-right: 20px
}

.high-contrast-toggle{
    width: 10%
}

#description{
    margin-left: 425px;
    color: black;
}

table{
    color: black;
}

a.kulso {
    color: rgb(7, 7, 128);
    text-decoration: underline;
}

a:visited.kulso{
    color: rgb(150, 38, 181);
    text-decoration: underline;
}

.skip-link {
    position: absolute;
    top: -600px;
    left: 10px;
}

.skip-link:focus {
    top: 10px;
}

@media (max-width: 1024px) {
    .hasab {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 767px) {
    .hasab {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    nav {
        flex-direction: column;
    }

    nav a {
        flex: 1 1 auto;
    }
}

body.high-contrast {
    background-color: white;
    color: black;
}

body.high-contrast p,
body.high-contrast summary,
body.high-contrast footer,
body.high-contrast aside table,
body.high-contrast aside th,
body.high-contrast aside td,
body.high-contrast table,
body.high-contrast a.kulso,
body.high-contrast a:visited.kulso,
body.high-contrast #description {
    color: black;
}

body.high-contrast h1, h2{
    color: black;
}

body.high-contrast p {
    font-size: 120%;
}

body.high-contrast summary,
body.high-contrast footer {
    font-size: 100%;
}

body.high-contrast nav a {
    font-size: 110%;
}

body.high-contrast table th,
body.high-contrast table td {
    font-size: 110%;
}