@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
*{
    box-sizing: border-box;
}

body{
    font-family: 'Playfair Display', sans-serif;
}

.logo{
    float: left;
}
header>div{
    padding: 10px;
    font-family: 'Oswald', cursive;
    background-color: #eee;
}
.heading{
    font-size: 4em;
    color: black;
    padding: 10px;
}
.subheading{
    font-size: 1.5em;
    color: #333333;
    padding: 0 5px;
    margin-bottom: 30px;
}
.heading, .subheading{
    text-align: center;
}
.subheading{
    text-align: center;
}
header nav{
    background-color: yellow;
    margin:0;
}
header nav ul{
    list-style: none;
    margin:0;
    padding:0;
    position:relative;
    float:left;
}

header nav ul li{
    display:inline-block;
    background-color: limegreen;
}

header nav a{
    display:block;
    padding:0 10px;
    font-size: 1em;
    line-height: 40px;
    text-decoration: none;
    background-color: green;
    color:white;
}
header nav a:hover{
    background-color: rgb(0,255,0,0.5);
    color:white;
}

.menu{
    display:none;
    padding: 5px;
}
.menu:hover{
    background-color: darkblue;
    color: white;
}

.nav{
    clear:both;
}

.main{
    background-color: rgba(128, 128, 128, 0.331);
    clear:both;
}

.main img{
    float:left;
    padding: 10px;
    max-width:96%;
    border: 10px white solid;
    margin: 2%;
}

.main article{
    padding: 10px;
    font-size: 1.2em;
    border-bottom: 1px solid black;
    overflow: hidden;
}

.main article p::first-letter{
    font-size: 2em;
    color: red;
}
.footer:after{
    content: "";
    display: table;
    clear: both;
}
.footer{
    background-color: black;
    color: white;
    text-align: center;
    padding: 20px;
}
.footer>div{
    float:left;
    border: 1px solid #eee;
}
.first, .third{
    width:100%;
}
.col{
    margin:auto;
    width: 80%;
}
.second{
    text-align: left;
    width: 100%;
}

.hidemenu{
    
}
.hide{
    display:block;
}

@media all and (max-width: 740px){
    header nav ul li{
        display:block;
        text-align:center;
    }
    .main img{
    width:100%;
    }
    header nav ul{
        width:100%;
    }
    .menu{
        width: 100%;
        background-color: black;
        color: white;
        display: block;
        text-align: center;
    }
    .subheading{
    margin-bottom: 0px;
    }
    .heading{
    padding: 0px;
    }
    .first, .third{
    width:100%;
    }
    .col{
    margin:auto;
    width: 100%;
    }
    .second{
    text-align: center;
    width: 100%;
    }
    .second li{
        list-style: none;
    }
    .hide{
    display:none;
    }
}
