/*#########*/
/* GENERAL */
/*#########*/

/* COLOR PALETTE */
/* yale blue #183969 in the catalyst logo */
/* timberwolf #d6d6d6 grey in header */
/* feldgrau #5b6c5d green acent */
/* eerie black #222222 black */
/* ghost white #f4f4f9 white background */

body{
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f9;
}
/* https://www.shorestudio.se/contact */
.gradient-nav {
    display: flex;
    justify-content: center; /* Horizontally centers */
    align-items: center;    /* Vertically centers */
    background: #222222;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    text-align: center;
    align-content: center;
}
.nav-links li a {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    background-color:white;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
}
.nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #f4f4f9, #5b6c5d, #183969);
    transition: width 0.3s ease;
}
.nav-links li a:hover::after {
    width: 100%;
}
nav img{
    max-width:20%
}
footer {
    text-align: center;
    background-color: #222222;
    color: #f0f0f0;
}
.social{
    background-color: #5b6c5d;
    padding: 1em;
    display:flex;
    justify-content: center;
}
.social p{
    padding-right: 6em;
}
.icon-container {
    position: relative;
    width: 30px; /* Adjust size as needed */
    height: 50px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0em 1em;
}
.icon {
    font-size: 30px; /* Adjust size of the icon */
    color: white; /* Ensures the icon starts black */
    transition: transform 0.4s ease-in-out;
}
.hover-square {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: bottom 0.4s ease-in-out;
}
.hover-square .icon {
    font-size: 30px; /* Icon size in the red square */
    color: white; /* Changes icon color to white in hover square */
}
.icon-container:hover .icon {
    transform: translateY(-100%);
}
.icon-container:hover .hover-square {
    bottom: 0;
}
.icon-container .hover-square .icon {
    transform: translateY(0); /* Ensures icon remains perfectly centered in the red square */
}
.copyright{
    background-color: #222;
    padding: .5em;
}


/*#######*/
/* INDEX */
/*#######*/

.main {
    max-width: 1700px;
    margin: 1.25em auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.TNG h1 {
    text-transform: uppercase;
    font-size: 3rem;
    color: #222222;
    text-shadow: 0 4px 10px rgba(#5b6c5d, 0.6);
    text-align: center;
}

.TNG .grid img {
    max-width: 100%;
    border-radius: 10px;
}

/* Info Section */
.info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 5em;
}

.mission, .quote {
    flex: 1 1 calc(50% - 1rem);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.mission h2, .quote h2 {
    color: #5b6c5d;
    font-size: 1.8rem;
    text-align: center;
}

.mission p {
    font-size: 1.3rem;
    text-align: center;
    line-height: 1.6;
    color: #222222;
}

.quote h2 {
    font-style: italic;
}

/* Images */
.info img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}


/*#########*/
/* CONTACT */
/*#########*/


.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 25px;
    background-color: #5B6C5D;
}
.info-section, .map-section {
    padding: 30px 20px;
}
.info-section {
    display: flex;
    justify-content: space-around;
}
.info-section div {
    margin: 15px 0;
}
.info-section h3, .map-section h3 {
    font-size: 20px;
}
.map-section {
    background-color: #222;
    color: white;
}
.map-section input{
    display: flex;
}
iframe {
    width: 100%;
    height: 300px;
    border: 0;
    margin-top: 20px;
}


/*######*/
/* TEAM */
/*######*/


.profile {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}
.team-member {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    padding: 20px;
    width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.profile-pic {
    border-radius: 50%;
    width: 100px;
    height: 100px;
}
.profile-name {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 10px 0;
}
.profile-link {
    text-decoration: none;
    font-size: 0.9rem;
    color: #5B6C5D;
    transition: color 0.3s ease;
}
.profile-link:hover {
    color: #5B6C5D;
}
.section-title {
    text-align: center;
    margin-top: 20px;
}
.section-title h1 {
    font-size: 2.5rem;
}
.section-title p {
    font-size: 1.2rem;
    color: #555;
}
.CandP {
    text-align: center;
    margin: 20px 0;
}
.team-link {
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    color: #5B6C5D;
    font-size: 20px;
    transition: color 0.3s ease;
}
.team-link:hover {
    color: #5B6C5D;
}
