@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400;500;600;700&family=Mohave&display=swap');

/* Reset some basic elements */
body, h1, h2, p, ul, li {
    margin: 0;
    padding: 0;
}

/* HTML and Body to cover full height */
html, body {
    height: 100%;
    font-family: 'Mohave', sans-serif;
    font-size: 16px;
}

h2 {
    font-size: 1.5rem; /* Sets the size of the font */
}

/* navigation styles */
nav {
    background-color: #EDEDE7;
    padding: 2rem;
    font-weight: 400;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start; /* Aligns items to the left */
}

.nav-list li {
    margin-right: 2rem; /* Spacing between items */
}

.nav-list a {
    text-decoration: none;
    color: black;
    font-size: 1.4rem;
}

.nav-list a:hover {
    color: #373C53;
}

footer {
  text-align: center; /* Centers the text within the footer */
  padding: 4rem; /* Adds some padding inside the footer */
  color: black; /* Sets the text color to black */
  background-color: #EDEDE7; /* Gives the footer a light background, change as needed */
  border-top: 1px solid #fff; /* Adds a subtle border to the top of the footer */
}

footer p {
  margin: 0; /* Removes the default margin from the paragraph for cleaner spacing */
  font-size: 1.2rem; /* Sets the size of the font */
}

/* Hero Banner Styles */
.hero-banner {
    background-image: url('img/home-banner.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-work {
    background-image: url('img/ux-research-examples.jpg');
    }
    
.banner-about {
    background-image: url('img/about-me-dario-skylines.jpg');
    }
    
.banner-contact {
    background-image: url('img/contact-me.png');
    }
    
.banner-success {
    background-image: url('img/success.jpg');
    }

.banner-404 {
    background-image: url('img/404.jpg');
    }

.hero-banner h1 {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2rem;
    font-weight: normal;
    width: -webkit-fill-available;
    }

.h2-banner {
    background-color: #27516A; /* Dark grey background */
    color: white; /* White text color */
    padding: 2rem;
    width: 100%; /* Full width */
    box-sizing: border-box; /* Ensures padding is included in the width */
    text-align: left; /* Aligns the text to the left */
}

.why-choose {
	background: linear-gradient(to right, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 100%);
}

.intro h3 {
	color: black;
    padding-left: 2rem;
    font-weight: normal;
}

.info-banner {
    display: flex;
    align-items: flex-start;
    padding:0 25% 1.4rem 2rem; /* Adjust the padding as needed */
}

.profile-picture {
    margin-right: 2rem; /* Adjust the spacing between image and text as needed */
    width: 150px; /* Adjust the width as needed */
    height: auto;
    border-radius: 2.8%;
    filter: drop-shadow (2px 4px 4px gray);
    }

.info-text p {
    margin: 0;
    color: #333; /* Adjust the text color as needed */
    font-family: 'Maven Pro';
    line-height: 1.6rem;
}

.info-text strong {
    color: #000; /* Adjust for strong text */
    font-weight: 600;
}

.info-text em {
    color: #333; /* Adjust for emphasized text */
    font-weight: 600;
}
   
.cards-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 2rem;
    background-color: #EDEDE7;
    font-family: 'Maven Pro';
}

.card {
    flex-basis: 30%; /* Adjust the width of the cards */
    text-align: left;
    padding: 1.2rem 1.5rem;
}

.icon {
    width: 50px; /* Adjust based on actual icon size */
    height: auto;
    margin-bottom: 10px;
}

.cards-container h3 {
    font-size: 1.5rem; /* Adjust as needed */
    color: #333; /* Title color */
    margin-bottom: 10px;
}

.cards-container, .cards-container2 p {
    font-size: 1rem; /* Paragraph text size */
    color: #666; /* Paragraph text color */
    line-height: 1.6; /* Adjust line height for better readability */
}


.cards-container2 {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
	padding-left: 1rem;
    background-color: #fff;
    font-family: 'Maven Pro';
}

.cta-banner {
    background: #27516A; /* Dark background */
    color: #fff; /* White text */
    text-align: center; /* Centered text */
    padding: 50px 20px; /* Ample padding for spacing */
    position: relative; /* For absolute positioning of elements within */
}

.cta-banner:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 100%); /* Gradient effect */
    z-index: 0;
}

.cta-banner h1 {
    font-size: 2rem; /* Large font size for the headline */
    margin: 0 0 20px; /* Space below the headline */
    position: relative; /* To place it above the pseudo-element */
    z-index: 1;
}

.cta-button {
    background: #fff; /* White button background */
    color: #333; /* Dark text for the button */
    text-decoration: none; /* Remove underline from links */
    padding: 10px 30px; /* Padding inside the button */
    border-radius: 5px; /* Rounded corners for the button */
    display: inline-block; /* To apply padding and margins */
    font-size: 1rem; /* Font size for the button */
    position: relative; /* To place it above the pseudo-element */
    z-index: 1;
    transition: background-color 0.3s; /* Smooth background color change on hover */
}

.cta-button:hover {
    background-color: #e0e0e0; /* Light grey background on hover */
}


.summary {
	margin: 2rem;
	font-family: 'Maven Pro';
}

.summary p {
	padding:0 25% 1rem 0;
	line-height: 1.4rem;
}

.gptquote {
	padding: 0.5rem 6rem 0.5rem 1rem;
	font-style: italic;
}

.work-example {
    font-family: 'Maven Pro';
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
}

.work-example-headers {
	margin-left:2rem;
}

.work-example-odd {
    background-color: #EDEDE7;
    min-width:100%;
}

.work-example h3 {
    font-weight:normal;
}

.work-results li {
	list-style-position: inside;
	line-height: 1.4rem;
	padding-left: 1rem;
	text-indent: -1.3rem;
}

.example-strong {
	font-weight:bold;
}

.example-icon {
    margin-right: 2rem;
    width: 50px;
    height: auto;
    padding-top: 0.5rem;
	}

.section {
    padding: 20px 0; /* Spacing above and below sections */
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.confirmation {
	min-height:20rem;
	padding-top: 1rem;
}

form {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-width: 500px; /* Adjust as needed */
    padding: 2rem 2rem 2rem 4rem;
}

label {
    margin-top: 10px;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%; /* Makes input fields take up the full width of the form */
    padding: 10px;
    margin-bottom: 20px; /* Adds space below each input/textarea */
    border: 1px solid #ccc; /* Gives a border to the input fields */
    border-radius: 5px; /* Optional: Rounds the corners of the input fields */
    font-family: 'Mohave', sans-serif;
    font-size: large;
}

input[type="submit"] {
    background-color: #333; /* Dark background for the submit button */
    color: white; /* White text for the submit button */
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer; /* Changes the cursor to signify it's clickable */
    transition: background-color 0.3s ease; /* Smooth transition for background color change */
    font-family: 'Mohave', sans-serif;
    font-size: large;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

input[type="submit"]:hover {
    background-color: #555; /* Darkens the button slightly when hovered */
}

/* If you want to style the focus state of the inputs */
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #666; /* Changes the border color when the input is focused */
    outline: none; /* Removes the default focus outline */
}





/* responsive adjustments */



/* For tablets */
@media (max-width: 768px) {

    .nav-list {
        flex-direction: row;
        align-items: flex-start;
    }

    .nav-list li {
        margin-bottom: 0.5rem;
    }
}

/* For mobile phones */
@media (max-width: 480px) {

	html {
	font-size: 110%
	}    
	
    .nav-list {
        flex-direction: row;
        align-items: flex-start;
    }

    .cards-container, .cards-container2 {
        flex-direction: column;
    }

    .card {
        flex-basis: auto; /* Cards will take full width */

    }

    .info-banner {
        flex-direction: column;
        text-align: left;
        padding: 0 2rem 2rem 2rem;
        align-items: flex-start;
    }
    
    .info-text p {
    line-height: 1.4rem;
}
    .summary p {
    	padding:0 0 1rem 0;
    	font-size:large;
    }
    
    .gptquote {
    	padding-right:0;
    }
    
    .gptquote p {
		padding-bottom:0.5rem;
    }
    
    .cta-banner {
        flex-direction: column;
        text-align: center;
    }

    .profile-picture {
        margin: 0 0 0.6rem 0;
        width: 150px; /* Adjust the image size for small screens */
    }

    .cta-banner:before {
        background: none; /* Remove gradient effect on small screens if it does not fit well */
    }
}
