@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bungee+Inline&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Inline+Text&display=swap');

body, html {
    height: 100%;
    margin: 0;
    font-family: 'phosphate inline', sans-serif;
    line-height: 1.6;
    background: linear-gradient(to right, #143544, #0c1024);
    color: #d3d3d3; 
    text-align: center;
    justify-content: center;
    overflow-x: hidden;
}


header, nav ul {
    font-family: 'phosphate inline', sans-serif;
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#project {
    font-family: Arial, sans-serif;
    justify-content: left;
    text-align: left;
    margin: 0 auto;
}

header h1 {
    font-family: 'Big Shoulders Inline Text', sans-serif;
    font-size: 5em;
    background: transparent;
}

header h1 a,
header h1 a:visited,
header h1 a:hover,
header h1 a:active {
    color: rgb(214, 131, 86);
    text-decoration: none;
}

header p {
    font-family: 'Arial', sans-serif;
    margin-top: 0.5em;
    background: linear-gradient(to right, #143544, #0c1024);
    color: #d3d3d3; 
}

nav ul {
    font-family: 'phosphate inline', sans-serif;
    list-style: none;
    padding: 0;
}


nav ul li {
    font-family: 'phosphate inline', sans-serif;
    margin: 20px 0;
}

nav ul li a {
    font-family: 'phosphate inline', sans-serif;
    color: #0f2027;
    text-decoration: none;
    font-size: 1.2em;
    background: linear-gradient(to right, #143544, #0c1024);
    padding: 10px 20px;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    background: #e5e9ea;
}

nav ul li a .arrow {
    font-family: 'phosphate inline', sans-serif;
    margin-left: 10px;
    color: #143544;
}

nav ul li a:hover {
    font-family: 'phosphate inline', sans-serif;
    background-color: transparent;
    border-color: rgb(214, 131, 86); 
    color: rgb(214, 131, 86);
}

footer {
    display: line;
    align-items: inline; 
    justify-content: space-around; 
    text-align: center;
}

footer a {
    font-family: 'Arial', sans-serif;
    display: block;
    color: #d3d3d3;
    margin: 10px 0;
    text-decoration: none;
    background: transparent;

}

footer a:hover {
    color: rgb(214, 131, 86);
}

footer a i {
    margin-right: 5px;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 2em;
    }

    nav ul li a {
            font-family: 'Arial', sans-serif;
        padding: 8px 15px;
        font-size: 1em;
    }
}

#section1 {
    padding-top: 30px; 
    padding-bottom: 30px; 
    padding-left: 50px; 
    padding-right: 50px; 
    background: transparent; 
    width: 90vw; 
    position: center; 
    left: 40%;
    right: 40%;
    margin-left: 20px; 
    margin-right: 20px;
}

#section2 {
    padding-top: 30px; 
    padding-bottom: 30px; 
    background: #e5e9ea; 
    width: 110vw; 
    position: relative; 
    left: 60%;
    right: 60%;
    margin-left: -55vw; 
    margin-right: -55vw;
    justify-content: center;
    text-align: center;
    overflow-x: 50px;
}

#section3 {
    padding-top: 30px; 
    padding-bottom: 30px; 
    background: transparent;
    width: 100vw;
    position: relative; 
    left: 50%;
    right: 50%;
    margin-left: -50vw; 
    margin-right: -50vw;
    justify-content: center;
    text-align: center;
    overflow-x: 25px;
}

#sectionfooter {
    padding-top: 30px; 
    padding-bottom: 30px; 
    padding-left: 50px; 
    padding-right: 50px;
    background: transparent ;
    width: 90vw; 
    position: center;
    left: auto;
    right: auto;
    margin-left: 20px; 
    margin-right: 20px;
}

#sectionpheder {
    color:  #224555;  
    font-family: 'phosphate solid', sans-serif;
    font-size: 1.5em;
}

#sectionpmain {
    color:  #0f2027;   
}

#textArea1 {
    background-color: #FFB6C1; 
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    grid-gap: 20px;
    margin: 0 auto; /* Center the grid */
    max-width: 1200px; 
    padding: 20px; 
}

.project-item {
    background: linear-gradient(to right, #c5daf5, #f4cece, #c5daf5); 
    
    padding: 20px; 
    border: 10px  #cccccc; 
    border-radius: 10px;
    box-shadow: 100 25px 15px rgba(225, 145, 145, 0.1)
  
}

.projects-grid2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    grid-gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px; 
}
.project-item2uol {
    background-color: rgba(255, 255, 255, 0.85); 
    background-image: url(resurces/Uol.png); 
    background-blend-mode: overlay;
    background-size: cover;
    background-repeat: no-repeat; 
    background-position: center; 
    padding: 20px;
    border: 10px  #cccccc; 
    border-radius: 10px;
    box-shadow: 100 25px 15px rgba(225, 145, 145, 0.1);
}
.project-item2uop {
    background-color: rgba(255, 255, 255, 0.85); 
    background-image: url(resurces/Uofpeople.jpeg); 
    background-blend-mode: overlay;
    background-size: cover;
    background-repeat: no-repeat; 
    background-position: center; 
    padding: 20px;
    border: 10px  #cccccc; 
    border-radius: 10px;
    box-shadow: 100 25px 15px rgba(225, 145, 145, 0.1);
}

.project-item2nobile {
    background-color: rgba(255, 255, 255, 0.85); 
    background-image: url(resurces/nobile.jpeg); 
    background-blend-mode: overlay;
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center; 
    padding: 20px; 
    border: 10px  #cccccc; 
    border-radius: 10px;
    box-shadow: 100 25px 15px rgba(225, 145, 145, 0.1);
}

.project-item2inter {
    background-color: rgba(255, 255, 255, 0.85); 
    background-image: url(resurces/IIOJ.jpeg); 
    background-blend-mode: overlay;
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center; 
    padding: 20px; 
    border: 10px  #cccccc; 
    border-radius: 10px;
    box-shadow: 100 25px 15px rgba(225, 145, 145, 0.1);
}

.project-item2Google {
    background-color: rgba(255, 255, 255, 0.85); 
    background-image: url(resurces/google.png); 
    background-blend-mode: overlay;
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center; 
    padding: 20px; 
    border: 10px  #cccccc; 
    border-radius: 10px;
    box-shadow: 100 25px 15px rgba(225, 145, 145, 0.1);
}

.project-item2IBM {
    background-color: rgba(255, 255, 255, 0.85); 
    background-image: url(resurces/ibm.png);
    background-blend-mode: overlay;
    background-size: cover;
    background-repeat: no-repeat; 
    background-position: center; 
    padding: 20px; 
    border: 10px  #cccccc; 
    border-radius: 10px;
    box-shadow: 100 25px 15px rgba(225, 145, 145, 0.1);
}

.project-item2Microsoft {
    background-color: rgba(255, 255, 255, 0.85); 
    background-image: url(resurces/microsoft.png); 
    background-blend-mode: overlay;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; 
    padding: 20px; 
    border: 10px  #cccccc; 
    border-radius: 10px;
    box-shadow: 100 25px 15px rgba(225, 145, 145, 0.1);
}

.project-item2HArvard {
    background-color: rgba(255, 255, 255, 0.85); 
    background-image: url(resurces/hervard.png); 
    background-blend-mode: overlay;
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center; 
    padding: 20px; 
    border: 10px  #cccccc; 
    border-radius: 10px;
    box-shadow: 100 25px 15px rgba(225, 145, 145, 0.1);
}

#sectionfooter::after{
    content: '';
    position: absolute;
    bottom: 0px;
    right: 10px;
    background-image: url('resurces/firma-bianca.png'); 
    background-size: contain;
    background-repeat: no-repeat;
    width: 225px; 
    height: 85px; 
}
@media (max-width: 600px) {
    footer {
        padding-bottom: 120px; 
    }
}

/*licens for images 

            Image by <a href="https://www.freepik.com/free-vector/paper-style-dynamic-lines-background_15442020.htm#page=3&query=modern%20background&position=8&from_view=search&track=ais&uuid=35cb00e5-d104-4688-8ffe-10ace0f15422">Freepik</a>

*/
