/* Importing Google Fonts and Icons */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

@font-face {
    font-family: 'Minal';
    src: url('font/minal.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Base Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #dbdce7;
    color: #000693;
    padding: 1rem;
    text-align: center;
    position: relative;
}

.brand-name {
    font-family: 'Minal', sans-serif;
    font-size: 2.5em;
    margin: 0 auto; /* Centering the brand name */
    padding: 10px 0; /* Top and bottom padding */
}

.menu-toggle {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    color: #000693;
    font-size: 1.5rem;
}

nav {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

nav a {
    color: #000693;
    margin: 0 15px;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #595ed4;
    transition: color 0.3s ease;
}

.material-icons {
    font-size: 30px; /* Slightly larger icon size for emphasis */
    vertical-align: middle;
    margin-right: 10px;
}

main {
    flex-grow: 1;
}

footer {
    background-color: #222;
	border-top: 0.7vh solid #dbdce7;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

#video-gallery {
    display: grid;
    gap: 20px;
    padding: 1.5vh;
	padding-left:	5vh;
	padding-right:	5vh;
}

#sobre {
	background-color: #dbdce7;
	padding: 1.5vh;
}

.slider-container li {
    border-radius: 15px; /* Rounded corners */
    overflow: hidden; /* Ensures the content respects the border radius */
    transition: transform 0.3s ease-in-out; /* Smooth scaling transition */
}

.profile-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Space between image and text */
    margin: 20px;
}

.profile-image {
    flex: 0 1 22vh; /* Flex basis of 150px for the image */
	width: 22vh;
	height: 22vh;
	min-width: 22vh;
	min-height: 22vh;
    border-radius: 50%; /* Makes the image round */
    overflow: hidden; /* Ensures the image respects the border radius */
    line-height: 0; /* Removes extra space below the image */
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4); /* Subtle shadow */
}

.profile-image img {
	min-width: 22vh;
	min-height: 22vh;
    width: 100%;
    height: 100%; /* Maintain aspect ratio */
    display: block; /* Removes bottom space */
	object-fit: cover;
	-webkit-mask-image: -webkit-radial-gradient(white, black);
}

.profile-content {
    flex: 1; /* Takes up the remaining space */
    max-width: 600px; /* Maximum width of the text block */
    text-align: left; /* Center the text */
}

.resume-section {
    display: flex;
	justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: #000693;
    color: white;
}

/* Base styles for the columns */
.resume-column, .skills-column {
    display: flex;
    flex-direction: column;
}

/* Styling for each resume entry */
.resume-entry {
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}

/* Alternating styles for the left and right alignment */
.resume-entry.left {
    text-align: left;
}

.resume-entry.left::before {
    content: '';
    width: 5px;
    background-color: white;
    margin-right: 10px;
}

.resume-entry.right {
    text-align: right;
}

.resume-entry.right::after {
    content: '';
    width: 5px;
    background-color: white;
    margin-left: 10px;
}

/* Styling for the year */
.resume-entry .year {
    font-weight: bold;
    margin-left: 1vh;
    margin-right: 1vh;
}

/* Styling for the skills column */
.skills-column h3 {
    margin-bottom: 20px;
}

/* Styling for each skill entry */
.skill-entry {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.skill-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.contact-section {
	display: flex;
	justify-content: center; /* Center the links */
	gap: 10px; /* Add space between the links */
	color: white;
	padding-left: 3vh;
	padding-right: 3vh;
}

.contact-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: white; /* Match the text color with the footer background */
}

.contact-link .material-icons, .contact-link .contact-icon {
	width: 24px; /* Size of the icon */
	height: 24px; /* Size of the icon */  
	color: white;
}

.contact-link img.contact-icon {
  filter: brightness(0) invert(1);
}

@media screen and (max-width: 768px) {
    .brand-name {
        font-size: 2em;
        flex-direction: row;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        flex-direction: column;
        display: none;
        position: absolute;
        top: 80px; /* Adjusted to lower the menu */
        left: 0;
        right: 0;
        background-color: #dbdce7;
		z-index: 1000; /* High value to ensure it's on top */
    }

    nav.active {
        display: flex;
    }

    nav a {
        text-align: center;
        padding: 10px;
        display: block;
    }
	
	#video-gallery {
		padding: 1.5vh;
	}
	
    .profile-section {
        flex-direction: column; /* Stack image and text vertically on small screens */
    }

	.profile-image img {
		width: 100%;
		height: 100%; /* Maintain aspect ratio */
		display: block; /* Removes bottom space */
	}

	.resume-section {
        display: flex;
        flex-direction: column;
    }
	
	.profile-content {
		text-align: center;
	}

    .resume-entry {
        justify-content: center;
    }

    .resume-entry.left::before, .resume-entry.right::after {
        margin: 0 auto 10px auto;
        display: block;
    }

    .skills-column {
        order: -1; /* Moves skills to the top on mobile */
    }
	
	.profile-image {
		flex: 0 1 26vh; /* Flex basis of 150px for the image */
		width: 26vh;
		height: 26vh;
		min-width: 26vh;
		min-height: 26vh;
	}
	
	.profile-image img {
		min-width: 26vh;
		min-height: 26vh;
	}	
}

@media screen and (min-width: 769px) {
    .video-wrapper {
        width: calc(25% - 20px); /* Adjust for 4 videos; reduce for 3 videos */
        margin: 10px; /* Space between videos */
    }

	.swiffy-slider {
		--swiffy-slider-item-count: 5 !important;
	}
	
	.profile-content {
		padding-left: 3vh;
	}
	.skills-column {
		padding-left: 8vh;
		
	}
}