@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans+Extra+Condensed:ital,wght@0,1..1000;1,1..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* Βασικό στυλ */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color:rgb(245, 245, 245);
}

/* .cut {
    height: 10px;
} */

a, a:hover  {
    text-decoration: none;
}

.left_part a:hover p, .left_part a:hover h1 {
    color: black;
    text-decoration: none;
    text-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

/* Header - Starts */
header {
    font-family: 'Sofia Sans Extra Condensed', sans-serif;
    background-color:rgb(245, 245, 245);
}

.container1 {
    display:grid;
    align-items: center; 
    justify-content: center;
    align-content: center;
    text-align: center;
    grid-template-columns: 1fr 1fr;
    column-gap: 10%;
    margin: auto;
    padding-top: 10px;
    padding-bottom: 20px;
}

.container1 h1 {
    font-size: 350%;
    margin-bottom: 2.5px;
    color: #333;
    text-decoration: none;
}

.container1 p {
    margin-top: 0;
    font-weight: 400;
    font-size: 150%;
    color: #333;
    text-decoration: none;
}

header button {
    border: none;
    padding: 10px 35px;
    font-family: 'Sofia Sans Extra Condensed', sans-serif;
    font-size: 125%;
    background-color: #ddd;
    color: rgb(50, 50, 50);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-left: 30px;
    border-radius: 5px;
}

header button:hover {
    background-color: rgb(50, 50, 50);
    color: white;
}

header .button_on {
    background-color: rgb(50, 50, 50);
    color: white;
}

.right_part button {
    font-size: 22.5px;
}

/* Ορισμός του φόντου */
.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("images/saint_georgios.jpg");
    background-repeat:no-repeat; /* Για αποφυγή επανάληψης της εικόνας */
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 750px;
  }
  
  /* Στυλ για το κείμενο */
  .hero-text {
    width: 66%;
    text-align: left;
    font-family: "Sofia Sans Extra Condensed", sans-serif;
    color: rgb(245, 245, 245);
    font-family: "Sofia Sans Extra Condensed", sans-serif;
  }
 /* Στοίιχιση Τίτλου */
  .hero-text h1 {
    font-size: 550%;
    letter-spacing: 1.5px;
    margin-bottom: 0;
    border-bottom: 0;
    padding-bottom: 0;
    margin-top: 0;
    line-height: 110%;
  }
  
 /* Στοίχιση παραγράφων */
  .hero-text p {
    text-align: justify;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    margin-bottom: 20px;
    border-bottom: 0;
    padding-bottom: 0;
  }

/* Main content */
main {
    padding: 20px;
    background-image: url(images/mrapanast_background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 30px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.container h1 {
    font-size: 2em;
    color: #333;
}

.container p {
    font-size: 1em;
    color: #666;
    line-height: 1.6em;
    text-align: justify;
}

.left, .right {
    padding: 30px;
}

.right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.my-button {
    font-size: 1.2em;
    background-color: black;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 15px;
    border: 1px solid black;
}

.my-button:hover {
    background-color: white;
    color: black;
}

ul li {
    color: #333;
}
ul li a {
    color: #333
}

ul li a:hover {
    color: #ff0000
}

/* Footer */
footer {
    background-color:rgb(245, 245, 245);
    padding: 20px;
    text-align: center;
    border-top: 1px solid #ddd;
    color:#333;
}

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-icons a {
    color: #333;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: black;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive design */
@media (max-width: 1325px) {
    .container1 {
        display: block;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .container {
        display: flex; 
        flex-direction: column;
        margin: 30px;
    }

    .container iframe {
        aspect-ratio: 1/1;
    }

    header button {
        margin: 10px 0;
    }

    .right_part button {
        font-size: 20px;
    }
}

@media (max-width: 750px) {
    .hero-text {
        width:85%;
    }
    
    main {
        padding: 10px;
    }

    .container {
        margin: 0px;
        margin-bottom: 10px;
    }

    .container .right {
        padding: 0px;
        line-height: 0px;
    }

@media (max-width: 500px) {
    nav {
        /* display: flex; 
        flex-direction: column;
        text-align: center; */
        display: block;
    }
    
    .hero-text {
        max-height: 700px;
        width: 100%;
        padding: 20px;
    }

    .hero-text h1 {
        font-size: 330%;
    }

    .hero-text p {
        font-size: 15.6px;
    }
    .container p {
        font-size: 75%
    }

    .container h1 {
        font-size: 150%;
    }

    .hero-container {
        height: 450px;
    }

    .left {
        padding: 10px 20px;
    }

    .my-button {
        font-size: 0.9em;
        background-color: black;
        color: white;
        padding: 8px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease, color 0.3s ease;
        margin-top: 5px;
        margin-bottom: 5px;
        border: 1px solid black;
    }
	
	.right_part button {
        padding: 10px 20px;
    }
}}
