@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400;500;600;700');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
@import url('./animation.css');
@import url('./responsive.css');

:root {
    --dark_khaki_color: #F1C27B;
    --light_khaki_color:#FFD89C;
    --dark_blue_color:#85A389;
    --light_blue_color:#A2CDB0;
    --dark_brown_color:#4C4040;
    --black_color:#000000;
    --white_color: #F9F6F6;
    --main_font: "Karla";
}

html, body {
    height: 100%;    
    margin: 0;         
}

body {
    background-color:var(--light_khaki_color);
    font-family: var(--main_font), system-ui, sans-serif;
    display: flex;
    flex-direction: column;
}

.main_title_header {
    color: var(--dark_brown_color);
    text-align: center;
}

.copyright_style {
    background-color: var(--dark_khaki_color);
    text-align: center;
    padding: 15px;
}

.footer_logo {
    height: 55px; 
    width: auto;
    margin-bottom: 8px;
}

/* START : CLEANED CSS CODES IN INDEX / HOME PAGE */
.logo_title {
    display: flex;
    align-items: center;
}

.logo_one {
    height: 55px; 
    margin-right: 8px; 
}

.logo_title h1 {
    margin: 0;
}

.top_bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--dark_khaki_color);
    padding: 15px;
    padding-left: 20px;
    margin: 30px;
    border-radius: 20px;
    font-weight: bold;
}

.top_bar a {
    color: var(--dark_brown_color);
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    margin: 8px;
    display: inline-block;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 200;
}

.top_bar a:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.top_bar a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0,0,0,0.15); 
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
}

.top_bar a:hover::after {
    width: 250%;
    height: 250%;
    opacity: 0;
}

.top_bar a.active_tab {
    color: var(--black_color);
    font-weight: 700;
}

.top_bar h1 {
    color: var(--dark_brown_color);
    font-weight: 700;
}

.upper_left_box,
.upper_right_box,
.bottom_left_box,
.bottom_right_box {
    background-color: var(--light_blue_color);
    margin: 45px 55px 30px;
    border-radius: 20px;
    padding: 25px;
}

.upper_left_box {
    padding: 30px;
    font-size: 17px;
    line-height: 1.5;
}

.upper_right_box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.upper_right_box img {
    border-radius: 12px;
}

.bottom_right_box {
    font-size: 20px;
}

.content_first_row,
.content_second_row {
    display: flex;
    justify-content: center;
}

.info_box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.info_box p {
    background-color: var(--dark_blue_color);
    padding: 10px;
    border-radius: 10px;
    margin: 8px;
    font-size: 14px;
    color: var(--black_color);
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    cursor: default;
    transition: transform 0.3s ease, background 0.6s ease;
}

.info_box p:hover {
  transform: translateY(-4px) scale(1.05);
}

.style_text_header {
    color: var(--dark_brown_color);
}

.img_1 {
    background: url("../assets/peralta_captured.jpg") center/cover no-repeat;
    width: 540px;
    height: 240px;
    border-radius: 10px;
}

.img_2 {
    background: url("../assets/peralta_sunflower_girl.gif") center/cover no-repeat;
    width: 340px;
    height: 500px;
    border-radius: 10px;
    display: inline-block;
}

.bottom_right_box img {
    width: 45px;
    margin-left: 12px;
}
/* END : CLEANED CSS CODES IN INDEX / HOME PAGE */

/*START : LIST OF CSS CODES IN WORKS PAGE*/
.content_first_row_works {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.upper_right_box_works {
    background-color: var(--light_blue_color);
    padding: 30px;
    margin: 30px;
    border-radius: 20px;
}

.upper_right_box_works > img {
    border-radius: 12px;
}

.img_1_works {
    background-image: url("../files/hanme_up_peralta.png");
    width: 540px;
    height: 340px;
    display: inline-block;
    border-radius: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.img_2_works {
    background-image: url("../files/unisci_peralta.png");
    width: 540px;
    height: 340px;
    display: inline-block;
    border-radius: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

p {
    line-height: 1.5;
}

h3 {
    color: var(--dark_brown_color);
}
/*END : LIST OF CSS CODES IN WORKS PAGE*/

/*START : LIST OF CSS CODES IN ATTAINMENT PAGE*/
.content_first_row_attainment {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.upper_right_box_attainment {
    background-color: var(--light_blue_color);
    padding: 30px;
    margin: 30px;
    border-radius: 20px;
}

.upper_right_box_attainment > img {
    border-radius: 12px;
}

.img_1_attainment {
    background-image: url("../files/mil_peralta.png");
    width: 540px;
    height: 340px;
    display: inline-block;
    border-radius: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.img_2_attainment {
    background-image: url("../files/resprog_peralta.png");
    width: 540px;
    height: 340px;
    display: inline-block;
    border-radius: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.img_3_attainment {
    background-image: url("../files/wrcc_peralta.png");
    width: 540px;
    height: 340px;
    display: inline-block;
    border-radius: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.img_4_attainment {
    background-image: url("../files/third_honor_peralta.png");
    width: 540px;
    height: 340px;
    display: inline-block;
    border-radius: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

p {
    line-height: 1.5;
}

h3 {
    color: var(--dark_brown_color);
}
/*END : LIST OF CSS CODES IN ATTAINMENT PAGE*/
