@charset "utf-8";
/* CSS Document */

html {
    height: 100%;
}

body{
	padding:0;
	height: 100%;
    margin: 0;
	font-family: 'Montserrat', sans-serif;
	font-weight:500;
    font-size:16px;
    position:relative;
    min-height:650px;
    overflow-x:hidden;
    line-height: 1.3;
    max-width:100%;
}

header{
	background:#000;
	color:white;
	padding:20px 15px 15px;
    border-bottom:solid 2px white;
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items: center;
    gap:40px;
}

header .container .contact{
    text-align:right;
}

header .container .contact i{
    font-family:"Font Awesome 6 Brands";
    font-style: normal;
    font-weight: 500;
}

header .container .contact .social i{
    font-size:1.3em;
    margin-left:5px;
    cursor:pointer;
}

header .container .contact a{
    text-decoration:none;
    color:white;
}

header #logo{
	width: 150px;
    height: auto;
    max-width:33%;
}

main{
    background:url('/images/st-just-cricket-club.jpg') no-repeat center bottom;
    background-size:cover;
    padding-bottom:250px
}

main .container.intro{
    padding-top:75px;
    max-width:1070px;
}

main h1,
main h2,
main p{
    text-align:center;
    color:white;
}

main p a:hover,
main h2,
header .container .contact a:hover,
header .container .contact a:focus{
    color:#eaea0c
}

main h1{
    margin-bottom:0;
    font-size:30px;
}

main h2{
    margin-top:0;
    font-size:24px;
}

main p{
    font-size:18px;
    margin:0 0 15px;
    line-height:1.4;
}

main p a{
    color:white;
}

.container{
	max-width:1500px;
	margin-left: auto;
	margin-right: auto; 
}

footer{
	background:#000
}

.responsive-iframe-container {
    margin-top:60px;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    border: solid 15px white;
    border-radius: 15px;
    box-shadow:5px 5px 8px rgba(0,0,0,0.3);
    max-width:calc(100% - 30px);
}

.responsive-iframe-container.mobile{
    margin-top:60px;
    display:none;
    padding-bottom:calc(100vh - 220px);
}

.responsive-iframe-container iframe,
.vresponsive-iframe-container object,
.vresponsive-iframe-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

@media screen and (max-width: 768px) {
    main .container{padding-left:15px;}
    main .container{padding-right:15px;}
    .responsive-iframe-container.mobile{display:block;}
    .responsive-iframe-container.desktop{display:none;}
}

@media screen and (max-width: 600px) {
    header .container .contact p{
        font-size:14px;
    }
}