/* Copyright (C) 2025
 * Calmel, Blaise (1)
 * Héraut, Louis (1) <louis.heraut@inrae.fr>
 * Vidal, Jean-Philippe (1) <jean-philippe.vidal@inrae.fr>
 *
 * (1) INRAE, UR RiverLy, Villeurbanne, France.
 *
 * This file is part of MEANDRE-TRACC.
 *
 * MEANDRE-TRACC is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * MEANDRE-TRACC is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with MEANDRE-TRACC.
 * If not, see https://www.gnu.org/licenses/.
 */


#container-home {
    position: fixed;
    cursor: pointer;
    color: white;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

#home {
    max-width: 68%;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

#home p {
    padding-bottom: 1rem;
}

#maintenance {
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
    column-gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
    align-items: center;
}
#maintenance-text {
    display: flex;
    flex-direction: row;
    row-gap: 1rem;
    column-gap: 1rem;
    justify-content: center;
    align-items: center;
    font-family: "Lato", sans-serif;
    font-size: 1.2rem;
}
#maintenance .ribbon {
  width: 100%;
  height: 1rem;
  background: repeating-linear-gradient(
    -45deg,        /* angle of stripes */
    white,        /* stripe color */
    white 7px,   /* stripe thickness */
    transparent 7px,  /* background color start */
    transparent 16px   /* background color end */
  );
}

#maintenance .material-icons-outlined,
#maintenance .material-icons-round {
    color: white;
}


#home-logo {
    font-size: 3.8rem;
    width: fit-content;
    height: fit-content;
    color: #ffffff;
    margin-bottom: 1rem;
    display: flex;
    /* flex-direction: column; */
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
}

#home-logo_pc {
    display: flex;
}
#home-logo_phone {
    display: none;
}

#home-logo img {
    height: 6.5rem;
    padding-bottom: 1.1rem;
    padding-right: 1.5rem;
}

.home-phone {
    display: none;
    justify-content: center;
    align-items: center;
    padding-bottom: 1.8rem;
}
#home-by {
    position: absolute;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    column-gap: 2rem;
    right: 2rem;
    bottom: 0.4rem;
    justify-content: center;
    align-items: center;
}

#home-by_Explore2,
#home-by_phone_Explore2 {
    height: 3.5rem;
    padding-bottom: 1.7rem;
}

#home-by_LIFE,
#home-by_phone_LIFE {
    height: 4.5rem;
    padding-bottom: 1.5rem;
}

#home-by_LIFE_EC,
#home-by_phone_LIFE_EC {
    height: 3.5rem;
    padding-bottom: 1.4rem;
}
#home-by_phone_LIFE_EC {
    padding-bottom: 2rem;
}

#home-by_INRAE,
#home-by_phone_INRAE {
    height: 8rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
}
#home-by_phone_INRAE {
    padding-left: 0rem;
    padding-right: 0rem;
    padding-bottom: 2rem;
}

#home-by_AELB,
#home-by_phone_AELB {
    height: 7rem;
    padding-left: 0rem;
    padding-right: 0rem;
}

@media (max-width: 768px) {
    #home {
	max-width: unset;
	align-items: center;
    }
/* } */

/* @media (max-width: 90rem) { */

    #home {
        position: absolute;
	top: 1rem;
	width: 100vw;
    }

    #home-logo {
	flex-direction: column;
    }
    #home-logo img {
	padding-right: 0rem;
    }

    #home-logo_pc {
	display: none;
    }
    #home-logo_phone {
	display: flex;
    }
	
    #home p {
	padding-left: 2rem;
	padding-right: 2rem;
    }
    #home p.last-p {
	padding-bottom: 3rem;
    }
    
    #maintenance {
	margin-left: 2rem;
	margin-right: 2rem;
    }
    .home-phone {
	display: flex;
	padding-bottom: 0rem;
    } 
    #home-by {
	display: none;
    }
    #home-by_Explore2 {
	padding-bottom: 0rem;
    }
    #home-by_LIFE_EC {
	padding-bottom: 0.3rem;
    }
    #home-by_INRAE {
	padding-bottom: 2rem;
    }
}
