@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow&display=swap');

/* General Layout */

body {
    margin: 0;
}

h3 {
    letter-spacing: 4px;
    font-size: 35px;
    font-family: 'PT Sans Narrow', sans-serif;
}

.container {
    display: grid;
    grid-template-rows: 90px;
    grid-template-columns: 1fr;
}

/* Header Layout */

.item-header-links-panel {
    display: flex;
}

.item-header-links-panel-index {
    display: flex;
}

.item-header-logo {
    height: 25px;
    display: flex;
    padding-left: 20px;
    align-items: center;
}

/*Black Header*/

.container-header-black {
    grid-row-start: 1;
    grid-row-end: 2;
    display: flex;
    align-items: center;
    background-color: #000000;
    opacity: 0.75;
    color: #FFFFFF;
    padding: 20px;
    justify-content: space-between;
}

.item-header-links-black {
    display: flex;
    align-items: center;
    color: #FFFFFF;
    text-decoration: none;
    padding: 0 20px 0 20px;
    font-family: 'PT Sans Narrow', sans-serif;
    letter-spacing: 0.1rem;
    height: 40px;
    font-size: 1.2rem;
}

.item-header-links-black:hover {
    background-color: #353535;
    border-radius: 5px;
}

/* White Header */

.container-header-white {
    grid-row-start: 1;
    grid-row-end: 2;
    display: flex;
    align-items: center;
    opacity: 0.75;
    padding: 20px;
    justify-content: space-between;
}


.item-header-links-white {
    display: flex;
    align-items: center;
    color: #000000;
    text-decoration: none;
    padding: 0 20px 0 20px;
    font-family: 'PT Sans Narrow', sans-serif;
    letter-spacing: 0.1rem;
    height: 40px;
    font-size: 1.2rem;
}

.item-header-links-white:hover {
    background-color: #353535;
    color: #FFFFFF;
    border-radius: 5px;
}

/* Footer Layout */

footer {
    background-color: #353535;
    color: #FFFFFF;
}

.container-footer {
    display: flex;
    align-items: center;
    padding-left: 150px;
    padding-bottom: 100px;
    padding-top: 50px;
    column-gap: 200px;
    font-size: 1.2rem;
    line-height: 2rem;
    font-family: 'PT Sans Narrow', sans-serif;
    letter-spacing: 0.1rem
}

.item-footer-logo {
    padding-left: 150px;
    height: 30px;
    padding-top: 80px;
}

/* Button Animations */

.discrete-button:hover {
    animation-name: discrete-button;
    animation-duration: 0.4s;
    animation-timing-function: ease;
}

/* Links */

.picture-links {
    text-decoration: none;
    color: black;
}

.picture-links:visited {
    color: #000000;
}

@keyframes discrete-button {
    0%, 100% {
        transform: scale(1.0, 1.0);
    }
    50% {
        transform: scale(1.07, 0.96);
    }
}

/* Dropdown Menu tutorial: https://www.youtube.com/watch?v=bk3Y4heVdFs&ab_channel=Mr.WebDesigner */

#drop-down-menu {
    display: none;
}

header label {
    cursor: pointer;
    display: none;
}

/* Responsive */

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

    .container-header-white .container-header-black {
        padding: 0px;
    }

    .item-header-links-white .item-header-links-black{
        font-size: 1rem;
        padding: 0 15px 0 15px;
    }
 
    .item-header-logo {
        width: 170px;
    }

    .container-footer {
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 50px;
        padding-top: 25px;
        column-gap: 120px;
        font-size: 1rem;
        line-height: 1.5rem;
    }
    
    .item-footer-logo {
        padding-left: 40px;
        height: 20px;
        padding-top: 60px;
    }
   
    .container {
        grid-template-rows: 80px;
    }
}

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


    .container-header-white .container-header-black{
        padding: 0px;
    }

    .item-header-links-white .item-header-links-black {
        font-size: 0.8rem;
        padding: 0 10px 0 10px;
    }
 
    .item-header-logo {
        width: 150px;
    }

    .container-footer {
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 40px;
        padding-top: 25px;
        column-gap: 100px;
        font-size: 0.9rem;
        line-height: 1.5rem;
    }
    
    .item-footer-logo {
        padding-left: 40px;
        height: 20px;
        padding-top: 50px;
    }   
    .container {
        grid-template-rows: 70px;
    }

 /* How to make dropdown menu: https://www.youtube.com/watch?v=bk3Y4heVdFs&ab_channel=Mr.WebDesigner */
    
    header label {
    display: initial;
    }

    .item-header-links-panel {
        position: absolute;
        top: 70px; left:0; right:0;
        background: #fff;
        border-top: 1px;
        display: none;
    }

    .item-header-links-panel-index {
        position: absolute;
        top: 70px; left:0; right:0;
        background: rgb(0, 0, 0);
        border-top: 1px;
        display: none;
    }

    .item-header-links-white .item-header-links-black {
        width: 100%;
    }

    #drop-down-menu:checked ~ .item-header-links-panel {
        display: initial;
    }

    #drop-down-menu:checked ~ .item-header-links-panel-index {
        display: initial;
    }
}

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


    .container-header-white .container-header-black{
        padding: 0px;
    }

    .item-header-links-white .item-header-links-black{
        font-size: 0.6rem;
        padding: 0 7px 0 7px;
    }

    .container-footer {
        padding-left: 25px;
        padding-right: 20px;
        padding-bottom: 30px;
        padding-top: 25px;
        column-gap: 100px;
        font-size: 0.8rem;
        line-height: 1.5rem;
    }
    
    .item-footer-logo {
        padding-left: 25px;
        height: 15px;
        padding-top: 40px;
    }

    .item-header-logo {
        width: 125px;
    }
    
}

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

    .container-header-white .container-header-black{
        padding: 0px;
    }

    .item-header-links-white .item-header-links-black{
        font-size: 0.4rem;
        padding: 0 5px 0 5px;
    }

    .item-header-logo {
        width: 100px;
    }
    
    .container-footer {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 20px;
        padding-top: 20px;
        column-gap: 60px;
        font-size: 0.6rem;
        line-height: 1.2rem;
    }
    
    .item-footer-logo {
        padding-left: 20px;
        height: 10px;
        padding-top: 30px;
    }
 
}