@charset "utf-8";

body,
html {
    height: 100%;
    margin: 0;
    font-size: 100%;
    /* Default PX for webpage is 16px */
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    background-color: #292F36;
    color: white;
}

p {
    padding: 0.25em;
}

a {
    color: #2B9985;
}

.topnav {
    background-color: #2B9985;
    overflow: hidden;
}

.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 0.82em 0.94em;
    text-decoration: none;
}

.topnav a:hover,
.dropdown:hover .dropbtn,
.dropContent a:hover {
    background-color: #D4D2D5;
    color: #000000;
}

.active {
    background-color: #B3202B;
    color: white;
}

.topnav .icon {
    display: none;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: inherit;
    border: none;
    outline: none;
    color: white;
    padding: 0.82em 0.94em;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.dropContent {
    display: none;
    position: absolute;
    background-color: #6E6A6F;
    min-width: 8em;
    box-shadow: 0em 0.47em 0.94em 0em rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown:hover .dropContent {
    display: block;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

.bgimg-1,
.bgimg-2 {
    position: relative;
    opacity: 0.65;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bgimg-1 {
    background-image: url("Assets/Images/gallery/flattopSummit.jpg");
    min-height: 100%;
}

.bgimg-2 {
    background-image: url("Assets/Images/gallery/flattopDecent.jpg");
    min-height: 100%;
}

.header {
    width: 100%;
    background-image: url(Assets/Images/gallery/longsPeakDecent.jpg);
    height: 15em;
    position: relative;
    background-position: center;
    background-size: cover;
}

.caption {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    text-align: center;
    color: #fff;
}

.caption span.border {
    background-color: #2B9985;
    color: #fff;
    padding: 0.72em;
    font-size: 156%;
    letter-spacing: 0.4em;
    font-weight: 500;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
}

.break {
    color: #6E6A6F;
    background-color: #D4D2D5;
    padding: 1em 3em;
    text-align: justify;
}

.dropContent a {
    float: none;
    display: block;
    text-align: left;
}

#i1 {
    font-size: 120%;
    letter-spacing: 0.25em;
}

.show {
    display: block;
}

.gallery {
    line-height: 0;
    column-count: 5;
    column-gap: 0.3125em;
    margin-top: 0.3125em;
}

.gallery img {
    width: 100%;
    height: auto;
    margin-bottom: 0.3125em;
}

.gallery img:hover {
    transform: scale(1.2);
}

.about {
    column-count: 2;
    column-gap: normal;
    column-rule-style: solid;
    column-rule-color: blueviolet;
    margin: 0.25em;
}

.block2section {
    column-count: 2;
    column-gap: normal;
    margin: 0.5em;
    display: block;
}

.block2section img {
    width: 100%;
}

.block3section {
    column-count: 3;
    column-gap: normal;
    margin: 0.5em;
    display: block;
}

.block3section img{
    width: 100%;
}

.card {
    box-shadow: 0 0.25em 0.5em 0 rgba(0, 0, 0, 0.2);
    max-width: 18.75em;
    text-align: center;
}

.card a {
    text-decoration: none;
    font-size: 24px;
}

.card h3 {
    font-size: 18px;
    margin: 0.5em;
}

.major {
    color: grey;
    font-size: 18px;
}

.writeup {
    margin: 0.4em;

}

.container {
    display: flex;
    flex-direction: row;
    padding: 0.25em;
}

#writeup {
    padding: 0.25em 0.25em 0.25em 0.75em;
    width: 100%;
    margin: 0em;
}

.button {
    text-decoration: none;
    border: 0.01em solid #000;
    color: #000;
    background: #e6e4e4;
    padding: 0.25em;
    border-radius: 0.0625em;
}

.center {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
    margin-top: 1em;
    width: max-content;
    display: block;
}

/*MEDIA QUERIES*/
/*1024px*/
@media only screen and (max-device-width: 64em) {

    .bgimg-1,
    .bgimg-2 {
        background-attachment: scroll;
    }
}

/*1200px*/
@media screen and (max-width: 75em) {
    #gallery {
        column-count: 4;
    }

    .block3section {
        column-count: 2;
    }
}

/*600px*/
@media screen and (max-width: 60em) {

    .topnav a:not(:first-child),
    .dropdown .dropbtn {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }

    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }

    .topnav.responsive .dropdown {
        float: none;
    }

    .topnav.responsive .dropContent {
        position: relative;
    }

    .topnav.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
    }

    #gallery {
        column-count: 1;
    }

    .block2section {
        column-count: 1;
    }

    .block3section {
        column-count: 1;
    }
}
