﻿* { 
    box-sizing: border-box;
}
/* --- Vertical Tabs (Desktop) --- */
h1 {
    width: 96%;
}
.tab {
    float: left;
    width: 18%;
    background-color: #f1f1f1;
    min-width: 149px;
    max-width: 180px;
    margin-left: 2%;
}
.tab button {
    display: block;
    background-color: inherit;
    color: black;
    padding:15px;
    width:100%;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
}
.tab button:hover {
    background-color: #ddd;
}
.tab button.active {
    background-color: #ccc;
}

/* --- Content Area --- */

.tabcontent {
    float: left;
    width: 80%;
    display: none;
    min-width: 350px;
    background-color: #64888f;
    min-height: 480px;
    margin: 0%;
}
h2, h3, h4 {
    
    color: black;
    padding: 2% 0 2% 2%;
    margin-block-start: 0;
    margin-block-end: 0;
}
h2 {
    background-color: #64888f;
}
ul{
    padding-right:2%;
}

/* --- Mobile Responsive Behavior --- */

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

    /* Tabs become horizontal at top */
    .tab {
        width: 95%;
        margin: 0% 2% 0% 2%;
        float: none;
        display: flex;
        overflow: auto;
        max-width: none;
    }
    .tab button {
        display: inline-block;
        min-width: auto;
        text-align: center;
        padding: 12px;
        border-right: 1px solid #ccc;
        font-size: 14px;
        text-decoration: none;
    }
    .tabcontent {
        width: 95%;
        float: none;
        margin: 0% 0% 0% 2%;
    }
    h1 {
        width: 95%;
    }
/* --- Super small phone screens --- */

@media screen and (max-width: 500px) {
    #logo {
        width: 110px;
        height: auto;
    }
    #navBut {
        height: 55px;
        width: 55px;
    }
    .tab button {
        font-size: 13px;
        padding: 10px;
    }
    h2, h3 {
        font-size: 18px;
    }
}