/******************************************************************
  Page Name: PERINTIS Youth IIUM
  Author: Meor Hakim
  Version: 1.0
  Designed:
  Created: Meor Hakim
******************************************************************/


/**********************************
        General
**********************************/
html,
body 
{
	height: 100%;
    font-family: "Open Sans", sans-serif;
    color: #000;
}

* 
{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.box
{
    background: white;
    height: max-content;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.367), 0 6px 20px 0 rgba(0, 0, 0, 0.353);
    text-align: center;
}


/**********************************
        Header
**********************************/
header
{
    padding: 0 100px;
    overflow: hidden;
}

.header-logo
{
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

header img
{
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

h1
{
    text-decoration: none;
    color: #000;
    text-transform: capitalize;
    font-family: 'Times New Roman', Times, serif;
    font-size: 15px;
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 0;
}

h2
{
    text-decoration: none;
    color: #000;
    text-transform: capitalize;
    font-family: 'Times New Roman', Times, serif;
    font-size: 6px;
    font-weight: 700;
    margin-top: 0.5px;
    margin-bottom: 0;
}


/**********************************
        Navbar
**********************************/
.nav-item
{
    text-align: center;
}

.nav-item .nav-menu 
{
	display: inline-flex;
	position: relative;
}

.nav-menu ul
{
    background: rgb(226, 226, 226);
    padding: 10px 10px;
    border-radius: 10px;
}

.nav-item .nav-menu li 
{
	list-style: none;
	display: inline-block;
	margin-left: 0;
	position: relative;
}

.nav-item .nav-menu li.active a 
{
	background: #0f6a69;
    border-radius: 5px;
    color: #fff;
}

.nav-item .nav-menu li a 
{
	
    text-decoration: none;
    font-size: 14px;
	font-weight: 700;
	display: block;
	color: #000;
	text-transform: uppercase;
	padding: 8px 42px 7px;
	transition: all 0.2s;
}

.nav-item .nav-menu li:hover>a 
{
	background: #0f6a69;
    border-radius: 5px;
    color: #fff;
}


.slicknav_menu
{
	display: none;
}

section
{
    padding-bottom: 30px;
}


/**********************************
        Carousel
**********************************/
.carousel 
{
    position: relative;
}

.carousel-indicators 
{
    position: absolute;
    left: 50%;
    z-index: 15;
    width: 60%;
    padding-left: 0;
    margin-left: -30%;
    text-align: center;
    list-style: none;
}

.carousel-indicators li 
{
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 1px;
    text-indent: -999px;
    cursor: pointer;
    background-color: rgba(0,0,0,0);
    border: 1px solid #0f6a69;
    border-radius: 10px;
}

.carousel-indicators .active
{
    width: 12px;
    height: 12px;
    margin: 0;
    background-color: #0f6a69;
}

.carousel-control.left 
{
    background: none;
}

.carousel-control.right
{
    background: none;
}


/**********************************
        Video
**********************************/
#myVideo
{
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    margin-left: 8px;
    margin-top: 10px;
}
  
#myVideo:hover 
{
    opacity: 0.7;
}
  
.modal 
{
    display: none; 
    position: fixed; 
    z-index: 1; 
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    overflow: auto; 
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}
  
/* Modal Content (image) */
.modal-content 
{
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Add Animation */
.modal-content, #caption
{  
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom 
{
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom 
{
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close
{
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover, .close:focus 
{
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px)
{
    .modal-content 
    {
        width: 100%;
    }
}


/**********************************
        Registration
**********************************/
.registration 
{
    position: relative;
    width: 50%;
    margin-top: 10px;
}

.image 
{
    display: block;
    width: 100%;
    height: auto;
}

.overlay 
{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0f6a69e7;
    overflow: hidden;
    width: 367.5px;
    height: 0;
    margin-left: 7px;
    transition: .2s ease;
}

.registration:hover .overlay 
{
    height: 100%;
}

.btn 
{
    border: 3px solid black;
    background-color: #0f6a69e7;
    color: black;
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.register 
{
    border-color: white;
    color: white;
}

.register:hover 
{
    background-color: white;
    color: #0f6a69;
}


/**********************************
        Calendar
**********************************/
.intro
{
    width: 382px;
    height: max-content;
    margin-bottom: 20px;
    padding: 28px;
    background: rgb(226, 226, 226);
}

h3
{
    text-decoration: none;
    color: #0f6a69;
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 0;
}

h4
{
    text-decoration: none;
    text-align: left;
    margin-left: 50px;
}


/**********************************
        Calendar
**********************************/
.light 
{
    --bg-body: var(--light-body);
    --bg-main: var(--light-main);
    --bg-second: var(--light-second);
    --color-hover: var(--light-hover);
    --color-txt: var(--light-text);
}

.calendar 
{
    height: 411px;
    width: max-content;
    background-color: var(--bg-main);
    position: relative;
    overflow: hidden;
    background: rgb(226, 226, 226);
    box-shadow: #0f6a69;
    /* transform: scale(1.25); */
}

.calendar-header 
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 25px;
    font-weight: 600;
    color: var(--color-txt);
    margin-top: 10px;
    padding: 10px;
}

.calendar-body 
{
    padding: 10px;
}

.calendar-week-day 
{
    height: 50px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-weight: 600;
    color: black;
}

.calendar-week-day div 
{
    display: grid;
    place-items: center;
    color: var(--bg-second);
}

.calendar-days 
{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    color: var(--color-txt);
}

.calendar-days div 
{
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    position: relative;
    cursor: pointer;
    animation: to-top 1s forwards;
    /* border-radius: 50%; */
}

.calendar-days div span 
{
    position: absolute;
}

.calendar-days div:hover span 
{
    transition: width 0.2s ease-in-out, height 0.2s ease-in-out;
}

.calendar-days div span:nth-child(1),
.calendar-days div span:nth-child(3) 
{
    width: 2px;
    height: 0;
    background-color: #0f6a69;
}

.calendar-days div:hover span:nth-child(1),
.calendar-days div:hover span:nth-child(3) 
{
    height: 100%;
}

.calendar-days div span:nth-child(1) 
{
    bottom: 0;
    left: 0;
}

.calendar-days div span:nth-child(3) 
{
    top: 0;
    right: 0;
}

.calendar-days div span:nth-child(2),
.calendar-days div span:nth-child(4) 
{
    width: 0;
    height: 2px;
    background-color: #0f6a69;
}

.calendar-days div:hover span:nth-child(2),
.calendar-days div:hover span:nth-child(4) 
{
    width: 100%;
}

.calendar-days div span:nth-child(2) 
{
    top: 0;
    left: 0;
}

.calendar-days div span:nth-child(4) 
{
    bottom: 0;
    right: 0;
}

.calendar-days div:hover span:nth-child(2) 
{
    transition-delay: 0.2s;
}

.calendar-days div:hover span:nth-child(3) 
{
    transition-delay: 0.4s;
}

.calendar-days div:hover span:nth-child(4) 
{
    transition-delay: 0.6s;
}

.calendar-days div.curr-date,
.calendar-days div.curr-date:hover 
{
    background-color: #0f6a69;
    color: white;
    border-radius: 10px;
}

.calendar-days div.curr-date span 
{
    display: none;
}

.month-picker 
{
    margin-left: 30px;
    padding: 5px 10px;
    border-radius: 10px;
    cursor: pointer;
}

.month-picker:hover 
{
    background-color: #0f6a69;
    color: white;
}

.year-picker 
{
    display: flex;
    align-items: center;
}

.year-change 
{
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 10px;
    cursor: pointer;
}

.month-list 
{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: white;
    padding: 20px;
    grid-template-columns: repeat(3, auto);
    gap: 5px;
    display: grid;
    transform: scale(1.5);
    visibility: hidden;
    pointer-events: none;
}

.month-list.show 
{
    transform: scale(1);
    visibility: visible;
    pointer-events: visible;
    transition: all 0.2s ease-in-out;
}

.month-list > div 
{
    display: grid;
    place-items: center;
}

.month-list > div > div 
{
    width: 100%;
    padding: 5px 20px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    color: var(--color-txt);
}

.month-list > div > div:hover 
{
    background-color: #0f6a69;
}

@keyframes to-top {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/**********************************
        Gallery Button
**********************************/

.gallery-button
{
    text-align: center;
    display: inline-flex;
	position: relative;
    list-style: none;
    margin-top: 30px;
    width: fit-content;
}

.gallery-button li.active a 
{
	background: #0f6a69;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-size: 30px;
	font-weight: 700;
	display: block;
	text-transform: uppercase;
	padding: 20px 500px 20px;
	transition: all 0.2s;
}

/**********************************
        Footer
**********************************/
.background
{
    background: url(../img/pyiium-footer.png) bottom center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
    height: auto;
    text-align: center;
}

.footer-logo
{
    padding: 0 100px;
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.footer-logo img
{
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
}

h5
{
    text-decoration: none;
    color: white;
    text-transform: capitalize;
    font-family: 'Times New Roman', Times, serif;
    font-size: 15px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 0;
}

h6
{
    text-decoration: none;
    color: white;
    text-transform: capitalize;
    font-family: 'Times New Roman', Times, serif;
    font-size: 6px;
    font-weight: 200;
    margin-top: 0.5px;
    margin-bottom: 0;
}

.background .social-links
{
    margin-top: 20px;
}

.background .social-links a 
{
    font-size: 25px;
    display: inline-block;
    color: white;
    line-height: 0;
    margin: 10px;
    transition: 0.3s;
}

.background .copyright 
{
    text-align: center;
    padding-top: 100px;
    color: white;
    margin-bottom: 20px;
}









@media only screen and (max-width: 767px) 
{
    .nav-item {
		background: transparent;
	}
	.nav-item .nav-menu {
		display: none;
	}
	.slicknav_menu {
		display: block;
		background: transparent;
		text-align: center;
	}
	.slicknav_nav {
		background: rgb(226, 226, 226);
        border-radius: 5px;
	}
	.slicknav_nav ul {
		margin: 0;
		text-align: left;
	}
	.slicknav_nav a,
	.slicknav_nav .slicknav_row {
		margin: 0;
	}
	.slicknav_nav .dropdown a {
		padding-left: 25px;
	}
	.nav-item .nav-depart {
		display: none;
	}
	.slicknav_btn {
		border-radius: 0;
		background-color: #0f6a69;
		display: inline-block;
		right: -16px;
        border-radius: 5px;
	}
	.slicknav_nav .slicknav_row,
	.slicknav_nav a {
		padding: 8px 15px;
        color: black;
        text-align: center;
        font-weight: 700;
	}
	.slicknav_nav a:hover {
		border-radius: 0;
		background: #0f6a69;
		color: #fff;
	}
	.slicknav_nav .slicknav_row:hover {
		border-radius: 0;
		background: #0f6a69;
		color: #fff;
	}
}


/**********************************
        About Us
**********************************/
.about
{
    margin-bottom: 100px;
    padding: 60px 0;
    overflow: hidden;
    background: url(../img/pyiium-logo-background.png) center no-repeat;
    background-size: 300px;
}

.about .content 
{
    padding: 40px;
    width: 700px;
}

.about h3 
{
    
    font-family: 'Times New Roman', Times, serif;
    font-size: 45px;
    font-weight: 700;
    text-align: center;
    color: #0f6a69;
    text-transform: uppercase;
}

.about h4
{
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    color: #0f6a69;
    text-transform: uppercase;
}

.about p 
{
    margin-top: 50px;
    text-align: center;
    font-style: italic;
    font-size: 30px;
    line-height: 24px;
    color: #444444;
}

.about img
{
    width: 200px;
    text-align: center;
    margin-left: 230px;
}

.history .content
{
    background-color: #f6f9ff;
    padding: 40px;
    width: 600px;
}
  
.history h5
{
    font-size: 30px;
    font-weight: 800;
    font-family: Arial, Helvetica, sans-serif;
    color: #0f6a69;
    text-transform: uppercase;
    padding-bottom: 40px;
}
  
.history p 
{
    margin: 15px 0 30px 0;
    line-height: 24px;
    font-weight: bold;
    text-align: left;
}

.history img
{
    width: 500px;
    text-align: right;
}


/**********************************
        Team
**********************************/
.team h3
{
    text-decoration: none;
    font-size: 30px;
    color: #0f6a69;
    font-weight: 900;
    margin-top: 20px;
    margin-bottom: 10px;
}

.team .row
{
    padding-left: 0px;
}
.team .column 
{
    width: 23%;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 16px;
    padding: 0 8px;
}
  
@media screen and (max-width: 650px) 
{
    .team .column 
    {
      width: 100%;
      display: block;
    }
}
  
.team .card 
{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}
  
.team .polaroid 
{
    padding: 25px 16px;
    height: 350px;
}
  
.team .polaroid::after, .row::after 
{
    content: "";
    clear: both;
    display: table;
}
  
.team .title 
{
    color: grey;
    margin-top: 5px;
}

.polaroid h4
{
    color: darkblue;
    margin-top: 20px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    margin-left: 0;
}
  
.team .card-mainboard
{
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}


/**********************************
        Programmes
**********************************/
.space
{
    margin-top: 20px;
}

.bg-image 
{
    /* Add the blur effect */
    filter: blur(8px);
    -webkit-filter: blur(8px);
    
    /* Full height */
    height: 100%; 
    
    /* Center and scale the image nicely */
    background-repeat: no-repeat;
}

.centered-text 
{
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0, 0.4); /* Black w/opacity/see-through */
    color: white;
    font-weight: bold;
    border: 3px solid #f1f1f1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 80%;
    padding: 20px;
    text-align: center;
    margin-top: 100px;
}

.space h3
{
    font-weight: 700;
    font-size: 80px;
    line-height: 1.2;
    margin-top: 50px;
    margin-bottom: .5rem;
}

.space p
{
    margin-top: 50px;
}

/**********************************
        Gallery
**********************************/
.gallery .row::after 
{
    content: "";
    clear: both;
    display: table;
}

.gallery .column 
{
    float: left;
    width: 33.33%;
    padding: 5px;
}

.box
{
    height: 100%;
    text-align: center;
    cursor: pointer;
    outline: none;
    background-color: white;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgb(1 41 112 / 8%);
}

.gallery .button-blue 
{
    height: 100%;
    padding: 60px 30px;
    text-align: center;
    cursor: pointer;
    outline: none;
    background-color: white;
    border: none;
    border-radius: 5px;
    box-shadow: 0 3px #2db6fa;
}
  
.gallery .button-blue:hover 
{
    background-color: #2db6fa;
}

.gallery .button-pink 
{
    height: 100%;
    padding: 60px 30px;
    text-align: center;
    cursor: pointer;
    outline: none;
    background-color: white;
    border: none;
    border-radius: 5px;
    box-shadow: 0 3px #f51f9c;
}
  
.gallery .button-pink:hover 
{
    background-color: #f51f9c;
}

.gallery .button-green 
{
    height: 100%;
    padding: 60px 30px;
    text-align: center;
    cursor: pointer;
    outline: none;
    background-color: white;
    border: none;
    border-radius: 5px;
    box-shadow: 0 3px #08da4e;
}
  
.gallery .button-green:hover 
{
    background-color: #08da4e;
}

.gallery .button-purple 
{
    height: 100%;
    padding: 60px 30px;
    text-align: center;
    cursor: pointer;
    outline: none;
    background-color: white;
    border: none;
    border-radius: 5px;
    box-shadow: 0 3px #b50edf;
}
  
.gallery .button-purple:hover 
{
    background-color: #b50edf;
}

.gallery .button-orange 
{
    height: 100%;
    padding: 60px 30px;
    text-align: center;
    cursor: pointer;
    outline: none;
    background-color: white;
    border: none;
    border-radius: 5px;
    box-shadow: 0 3px #f68c09;
}
  
.gallery .button-orange:hover 
{
    background-color: #f68c09;
}

.gallery .button-red 
{
    height: 100%;
    padding: 60px 30px;
    text-align: center;
    cursor: pointer;
    outline: none;
    background-color: white;
    border: none;
    border-radius: 5px;
    box-shadow: 0 3px #e9222c;
}
  
.gallery .button-red:hover 
{
    background-color: #e9222c;
}

.gallery h3
{
    color: #444444;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: .5rem;
}

.gallery p
{
    margin-top: 40px;
    color: #444444;
}

.gallery button:hover h3
{
    color: white;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: .5rem;
}

.gallery button:hover p
{
    color: white;
    margin-top: 40px;
}


/**********************************
        Contact
**********************************/
.whatsapp
{
    margin: 20px 0;
}
.whatsapp .button 
{
    padding: 15px 25px;
    font-size: 24px;
    text-align: center;
    cursor: pointer;
    outline: none;
    color: #fff;
    background-color: #0f6a69;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px #999;
    margin-top: 50px;
    margin-bottom: 80px;
}
  
.whatsapp .button:hover 
{
    background-color: #127f7d;
}
  
.whatsapp .button:active 
{
    background-color: #127f7d;
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

.contact
{
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
}

input[type=text], select, textarea 
{
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}
  
input[type=submit] 
{
    background-color: #0f6a69;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
  
input[type=submit]:hover 
{
    background-color: #128482;
}
