@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700;800;900&family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

*{  
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat','Poppins', sans-serif;
}

a{
    text-decoration: none;
}

html{
    
    background-image: url('../content/background_image.jpg');
    background-size: cover;
}



body{
    background-color: rgba(189, 215, 238, 0.85);
    min-height: 100%;
}

.black_header{
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 95px;
    color: white;
    background-color: black;
    margin-bottom: 24px;
}

#display_none_3{
    display: none;
}

.black_header a{
    color: white;
    padding: 15px;
    padding-left: 30px;
    padding-right: 30px;
    border: solid 2px;
    border-radius: 35px;
}

.black_header a:hover{
    transition: 0.3s;
    background-color: white;
    color: black;
}

.container{
    min-height: 845px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
}

.left_side{
    position: absolute;
    left: 0;
    top: 90px;
    padding: 35px;
    max-width: 600px;
}

.left_side p{
    font-weight: 600;
    font-size: 25px;
}

.left_side a{
    font-weight: 600;
    color: black;
    background-color: rgba(189, 215, 238, 0.65);
    position: absolute;
    text-align: center;
    left: 30px;
    top: 700px;
    width: 320px;
    padding: 20px;
    border: solid;
    border-radius: 75px;
}

.left_side a:active{
    color: red;
    border-color: red;
}

.right_side{
    position: absolute;
    top: 500px;
    right: 30px;
    padding: 25px;
}

.right_side img{
    height: 320px;
}

.hexagon_menu{
    display: inline-flex;
}

.hexagon{
    position: relative;
    background-color:  rgb(255, 114, 118);
    margin: 10px;
    height: 280px;
    width: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    transition-duration: 0.5s;
}

.hexagon_link{
    font-size: 18px;
    text-align: center;
    font-weight: 800;
    color: white;
}

.hexagon_link h3{
    width: 250px;
}

.hexagon:hover{
    
    transform: scale(1.02);
    background-color: rgb(255, 75, 79);
}

.first_column{
    height: 300px;
    margin-right: -100px;
    transform: translateY(295px);
}

.second_column{
    transform: translateY(150px);
}

.third_column{
    transform: translateY(5px);
    margin-left: -100px;
    margin-right: -100px;
}

.fourth_column{
    transform: translateY(150px);
}

.fifth_column{
    transform: translateY(5px);
    margin-left: -100px;
}

.popup {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #00000050;
    top: 0;
    left: 0;
    color: white;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    overflow-x: hidden;
}

.popup_body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.popup_content {
    background-color: white;
    color: black;
    max-width: 700px;
    border-radius: 15px;
    padding: 25px;
}

.popup_header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 15px;
    color: rgb(255, 113, 117);
    font-size: 22px;
}

.close_popup {
    font-size: 25px;
    width: 25px;
    margin-right: 5px;
    color: black;
}

.close_popup:active {
    color: rgb(255, 113, 117);
}

.popup_text {
    display: flex;
    align-items: center;
    font-size: 20px;
}

.popup::-webkit-scrollbar {
    width: 0;
}

.popup:target{
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1450px){
    .black_header{
        height: 200px;
    }

    #display_none_3{
        order: -1;
        display: block;
    }

    #display_none_3_1{
        display: none;
    }

    .container{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .right_side{
        display: none;
    }

    .left_side{
        display: flex;
        max-width: 95%;
        top: 0;
        position: relative;
    }

    .left_side a{
        position: relative;
        top: 0;
        max-height: 100px;
    }

    .hexagon_menu{
        display: block;
        position: relative;

    }
    .first_column{
        height: 300px;
        margin-bottom: 0;
        margin-right: 0;
        transform: translateY(20px);
    }
    
    .second_column{
        transform: translateY(0);
    }
    
    .third_column{
        transform: translateY(0);
        margin-left: 0;
        margin-right: 0;
    }
    
    .fourth_column{
        transform: translateY(0);
    }
    
    .fifth_column{
        transform: translateY(0);
        margin-left: 0;
    }
}