body{
    display: block;
    margin: auto;
    padding-top: 0;
    margin-top: 0;
}

nav{
    margin-top: 0px;
    padding-top: 0px;
    margin-bottom: 0;
    background: none;
    color: black;
    height: auto;
}



.navbar{
    margin-bottom: 0;
    background: #271c13;
}

.nav li a:hover, .navbar-brand:hover{
    color: white;
    transition: .4s;
}

@media (max-width: 1200px) {
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in { 
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }
}

.container{
    bottom: 0;
}

#mainphoto{
    display: block;
    width: 100%;
    height: 350px;
    background-image: url('https://philippebayassociation.org/img/header1.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin: auto;
    margin-top: 0;
    padding-top: 0;
    color: white;
}

#mainphoto h1{
    font-size: 70px;
    padding-top: 40px;
    
}

#mainphoto h2{
    font-size: 25px;

}

#main-content{
    animation-name: fadein;
    animation-duration: 1.5s;
    animation-iteration-count: 1;
}

@keyframes fadein{
    from{opacity: 0;}
    to{opacity: 1;}
}

#main-content p{
    font-size: 17px;

}

#mainphoto1{
    display: block;
    width: 100%;
    height: 325px;
    background-image: url('https://philippebayassociation.org/img/header1.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin: auto;
    margin-top: 0;
    padding-top: 0;
    color: white;
}

#mainphoto1 h1{
    font-size: 70px;
    padding-top: 40px;
    
}

#mainphoto1 h2{
    font-weight: bold;
    padding-top: 250px;
    font-size: 40px;

}

@media screen and (max-width: 600px){
    
    #mainphoto h1, #mainphoto1 h1{
        font-size: 55px;
        text-align: center;
    }
    #mainphoto h2, #mainphoto1 h2{
        font-size: 20px;
        text-align: center;
    }
}

.card, .card1{
    margin-bottom: 50px;
    border-style: solid;
    border-width: 2px;
    border-color: grey;
    border-radius: 25px;
    padding-bottom: 10px;
    height: auto;
}

.card img, .card1 img{
    height: auto;
    width: 100%;
    border-radius: 25px 25px 0px 0px;
}

.card h1, .card1 h1{
    font-size: 20px;
    font-weight: bold;
}

.card h2, .card1 h2{
    padding: 10px;
    padding-left: 20px;
    display: block;
    width: 100%;
    height: auto;
    margin: auto;
    margin-top: 0;
    background-color: #271c13;
    color: white;
}
.card p, .card1 p{
    min-height: 70px;
    font-size: 17px;
    margin-top: 20px;
}

.card a,.card p, .card1 a, .card1 p{
    margin-left: 20px;
}

.card span, .card1 span{
    display: block;
    width: auto;
    margin: auto;
}

.card .content, .card1 .content{
    text-align: center;
    display: block;
    margin: auto;
}



.card .content h2, .card1 .content h2{
    text-align: center;
    background: white;
    color: #131f1f;
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 100px;
}
.card .content h3, .card1 .content h3{
    color: grey;
}

.card .content a{
    margin-top: 25px;
}

#amtechlogo{
    height: 65px;
    width: 65px;
    border-radius: 50%;
}


.btn-primary{
    background-color: #271c13;
    color: white;
    border-color: #271c13;
    font-size: 17px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 10px;

}

.btn-primary:hover{
    background-color: #624531;
    border-color: #624531;
    transition: .4s;
}

.text-primary{
    color: #271c13;
}

#text-secondary{
    color: #131f1f;
}

.panel-heading{
    border-style: solid;
    border-width: 3px;
    border-color: black;
}


#amtechlogo-management{
    
    width: 100%;
    height: auto;
    border-radius: 25px;
    margin-left: 0;
    padding-left: 0;
}

#title-panel{
    font-size: 40px;
}

.upcoming{
    border-style: solid;
    border-width: 2px;
    border-color: #271c13;
    border-radius: 20px;
    display: block;
    min-height: 200px;
    width: 100%;
}


#copyright{
    text-align: center;
    padding-top: 50px;
    color: white;
}

footer{
    margin-top: 20px;
    background: #271c13;
    height: 150px;
    margin-bottom: 0;
}