* {
    box-sizing: border-box;
}
body {
    background-color: lightgray;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}
header {
    position: sticky;
    top: 0;
    background-color: black;
    color: white;
    padding: 5px;
    z-index: 1;
}


nav {
    display: flex;
    justify-content: space-around;
}

nav a {
    color: white;
}

.section0 {
    height: fit-content;
}

.section0 img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin: 100px 0 0;
}

.section0 .text {
    position: relative;
    bottom: 300px;
    background-color: rgba(211, 211, 211, 0.863);
    padding: 20px;
    
}

.section1 {
    position: relative;
    bottom: 100px;
}


.prt {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;    
}

.prt div {
    display: flex;
    margin: 10px;
    background-color: gray;
    border: 3px solid gray;
    border-radius: 10px; 
}

.prt p, .prt a {
    align-content: center;
    padding: 5px;
    font-weight: bold;
    color: black;
}

.prt img {
    width: 200px;
    border-radius: 10px;
}

footer {
    background-color: white;
    padding: 5px;
    width: 100%;
}

footer .box {
    display: flex;
    align-items: center;
}

footer img {
    width: 35%;
    justify-content: start;
    padding: 20px;
}

.box div {
    display: block;
    padding: 20px;
    text-align: left;
}

footer p {
    font-size: 0.7em;
    text-align: left;
    margin: 3px;
}


a:hover {
    background-color: darkblue;
    border: 3px solid darkblue;
    border-radius: 10px;
    font-size: 1.1em;
    color: lightblue;
    padding: 3px;
    text-decoration: none;
}
.prt a:hover {
    background-color: lightgray;
    border: none;
}

a:active {
    font-size: 0.9em;
    color: darkblue;
    cursor: progress;
}




@media screen and (max-width: 600px) {

    .prt div {
        justify-content: center;
    }

    .prt img {
        width: 100%;
    }

    .prt a {
        display: none;
    }

    footer .box {
        display: block;
        margin: auto;
    }
    footer img {
        width: 100%;
        padding: 0px
    }
    .box div {
        background-color: rgba(255, 255, 255, 0.767);
        position: relative;
        bottom: 300px;
        text-align: center;
    }
}


@media screen and (max-width: 410px) {
    h1, h2 {
        font-size: 1.5em;
    }
    .box div {
        bottom: 200px
    }
}

@media screen and (max-width: 350px) {
    nav {
        justify-content: space-between;
    }
    h1, h2 {
        font-size: 1.2em;
    }
}

