/*////////////////////////////////////////////////////////////////////
// Copyright 2026 (c) Yanko Lemoine
//
// This program and the accompanying materials are made
// available under the terms of the Eclipse Public License 2.0
// which is available at https://www.eclipse.org/legal/epl-2.0/
//
// SPDX-License-Identifier: EPL-2.0
////////////////////////////////////////////////////////////////////*/

h1 {
    text-align: center;
    
}

.discover-and-join {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0px;
    margin-top: 50px;
}

.discover {
    
    padding: 20px;
    text-align: center;
    
    height: 400px;
    width: 90%;
    
    background-color: white;
    border-radius: 30px;
}

.discover h2 {
    font-size: 50px;
}

.discover p {
    text-align: center;
    margin-inline: 10px;
    font-size: 25px;
    line-height: 1.5;
}

.discover a:hover {
    color: blue;
}

.how-to-join {
    height: 400px;
    padding: 20px 40px 20px 120px;
    background-color: #A2CBDB;
    
    border-radius: 0px 30px 30px 0px;
    
    position: relative;
    transform: translateX(-70px);
    z-index: -1;
}

.how-to-join p {
    font-size: 18px;
}

.how-to-join ul {
    list-style-type: none;
    width: 400px;
    padding: 10px;
    border: solid 1px black;
    border-radius: 10px;
    font-weight: 600;
    text-align: left;
}

.how-to-join li {
    font-size: 20px;
}

.docs {
    text-align: center; 
}

.docs h2 {
    font-size: 3em;
}

.docs ul {
    list-style-type: none;
    width: 70%;
    padding: 10px;
    border-radius: 20px;
    font-weight: 700;
    text-align: center;
    margin: auto;
    font-size: 1.5em;
}

.docs ul a {
    transition: all 0s;
}

.docs li {
    background-color: #8CA3AB;
    margin-block: 5px;
    text-align: center;
    border-radius: 20px;
    padding-block: 15px;
    padding-inline: 20px;
}

.docs a:hover {
    color: blue;
    text-decoration: none;
}

.docs li:hover {
    background-color: #EEEEEE;
}

.docs p {
    font-size: 25px;
}


@media screen and (max-width: 1400px) {
    .discover h2 {
        font-size: 40px;
    }
    
    .discover p {
        font-size: 20px;
    }
    
    .how-to-join h2 {
        font-size: 30px;
    }
    
    .how-to-join p {
        font-size: 18px;
    }
    
    .how-to-join li {
        font-size: 18px;
    }
    
}

@media screen and (max-width: 1200px) {
    .discover-and-join {
        grid-template-columns: 1fr;
    }
    
    .discover {
        width: auto;
        height: 300px;
    }
    
    .how-to-join {
        height: 400px;
        padding: 100px 20px 20px 20px;
        background-color: #A2CBDB;

        border-radius: 0px 0px 30px 30px;

        position: relative;
        transform: translateY(-55px);
        z-index: -1;
        
        text-align: center;
        
        font-size: 25px;
    }
    
    .how-to-join ul {
        margin: auto;
    }
    
    .how-to-join li {
        text-align: center;
    }
    
    .how-to-join p {
        text-align: center;
    }
    
    .docs ul {
        font-size: 1.2em;
        width: 90%;
    }
    
}

@media screen and (max-width: 600px) {
    .discover-and-join {
        width: auto;
    }
    
    .discover p {
        font-size: 15px;
    }   
    
    .discover h2 {
        font-size: 35px;
    }
    
    .discover {
        padding: 20px 0px;
        width: 100%;
        height: auto;
    }
    
    .how-to-join ul {
        width: auto;
    }
    
    .how-to-join li {
        font-size: 15px;
        width: auto;
    }
    
    .how-to-join {
        width: auto;
        height: auto;
    }
    
    .how-to-join h2 {
        font-size: 30px;
        margin: 0;
        padding: 0;
    }
    
    .how-to-join p {
        font-size: 15px;
        
    }
    
    .docs p {
        font-size: 15px;
        text-align: center;
    }
}