/*
Theme Name: Techschool English
Author: Eagleray Web
Author URI: http://eagleray.co.il/
Description: Custom Wordpress themes tailored for your needs.
Version: 1.0
Text Domain: techschool
*/

@font-face {
    font-family: Poppins;
    src: url("./assets/font/Poppins-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Poppins;
    src: url("./assets/font/Poppins-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Poppins;
    src: url("./assets/font/Poppins-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Reset */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}
* {box-sizing:border-box;}

/* Global Rules */
.clear {clear:both;}
.hidden {display: none;}

/* == WordPress WYSIWYG Editor Styles == */

.entry-content img {
	margin: 0 0 1.5em 0;
	}
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
	}
.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
	}
.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	}
.alignnone, img.alignnone {
	/* not sure about this one */
	}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
	}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 10px;
	margin: 0;
	}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
	}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
	}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
	}


/* Specifics */

::selection {
    background: #00a9ff;
    color: #fff;
}

body {
    background: #f9fafb;
}
#wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    padding: 25px 17px;
}
@media (max-width: 600px) {
    #wrapper {
        padding: 0 16px;
    }
}

#wrapper:has(.cabinet) {
justify-content: flex-start;
}

.logo__img {
    display: block;
    margin: 0 auto;
}

.texts {
    max-width: 700px;
    margin: 90px auto 0;
    font-family: Poppins, sans-serif;
}

.texts__item b {
    font-weight: 600;
}

.texts__item.text1 {
    font-size: 28px;
    line-height: 1.5;
    text-align: center;
    color: #00a9ff;
}

.texts__item.text2,
.texts__item.text3 {
    font-size: 14px;
    line-height: 2;
    color: #4d4d4d;
}

.texts__item.text2 {
    text-align: center;
    margin-top: 40px;
}

.texts__item.text3 {
    text-align: justify;
    margin-top: 10px;
}

.btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 55px;
}

.btns__item {
    display: inline-block;
    max-width: 490px;
    width: 100%;
    font-family: Poppins, sans-serif;
    font-size: .95rem;
    line-height: 2;
    text-align: center;
    color: #fff;
    border: 2px solid #00a9ff;
    background-color: #00a9ff;
    padding: 10px 20px;
    text-decoration: none;
    transition: all .6s;
    transform: skew(-17deg);
}

.btns__item:hover {
    color: #00a9ff;
    background-color: #fff;
    box-shadow: 4px 4px 5px #0000004d;
}

.cabinet {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.c-texts {
    margin: 60px auto 0;
    font-family: Poppins, sans-serif;
    font-weight: 600;
    text-align: center;
    color: #00a9ff;
}

.c-texts__item.text1 {
    font-size: 40px;
    letter-spacing: 2px;
}

.c-texts__item.text2 {
    font-size: 32px;
    margin-top: 56px;
}

.divider {
    background: #00a9ff;
    height: 2px;
    margin: 16px 0 0;
    border: 0;
}

.table {
    font-family: Poppins, sans-serif;
    font-size: .9rem !important;
    line-height: 2;
}

.table__columns-wrapper {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    border: 1px solid #00a9ff;
    border-radius: 10px;
    grid-template-rows: auto;
    grid-template-columns: 130px 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px 4px 5px 10px;
    transition: all .4s;
    display: grid;
}

.table__columns-wrapper:not(._1):hover {
    background-color: #ecfaff;
    box-shadow: 0 2px 5px #0003;
}

.table__columns-wrapper._1 {
    border-width: 0;
    margin-bottom: -10px;
}

.table__rows-wrapper {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    flex-flow: column;
    justify-content: flex-start;
    align-items: stretch;
    display: flex;
}

.table__cell {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    display: flex;
}

.table__cell._2 {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    flex: 0 auto;
    justify-content: center;
    align-self: center;
    padding-left: 0;
}

.table__cell.link {
    text-align: left;
    background-color: #00a9ff;
    border-radius: 10px;
    flex: 1;
    justify-content: flex-start;
    align-self: center;
    align-items: center;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;
    transition: all .6s;
}

.table__cell.link:hover {
    background-color: #006090;
}

.table__title {
    color: #00a9ff;
    font-weight: 600;
}

.table__text {
    color: #333;
}

.table__text.link {
    color: #fff;
    text-align: left;
}

.table__text.title {
    color: #00a9ff;
}

.table__copycode {
    width: 220px;
    padding: 0px 2px;
    opacity: 1;
    flex-flow: column;
    flex: 1;
    justify-content: center;
    align-items: stretch;
    display: flex;
    font-family: Poppins, sans-serif;
    font-size: .9rem !important;
    color: #333;
    overflow-x: auto;
}

.btn {
    color: #000;
    background-color: #fff;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all .4s;
    display: flex;
}

.btn:hover {
    background-color: #00a9ff;
    color: #fff;
}

.table__button-img {
    object-fit: fill;
    width: 25px;
    height: 25px;
    transition: all .4s;
    overflow: visible;
}

.table__button-img:hover {
    filter: invert();
}

@media (max-width: 1024px) {
    #wrapper {
        justify-content: flex-start;
        height: auto;
    }

    .texts {
        margin: 30px auto 0;
    }

    .texts__item.text2 {
        margin-top: 20px;
    }

    .btns {
        margin-top: 30px;
    }

    .table__columns-wrapper._1 {
        display: none;
    }

    .table__columns-wrapper {
        padding: 20px 10px;
        overflow-x: auto;
    }

    .table__copycode {
        width: auto;
    }

    .table__text {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .logo__img {
        width: 150px;
    }

    .texts__item.text1 {
        font-size: 20px;
    }

    .btns {
        flex-direction: column;
        align-items: center;
    }

    .btns__item {
        padding: 5px 20px;
    }

    .c-texts {
        margin: 30px auto 0;
    }

    .c-texts__item.text1 {
        font-size: 20px;
    }

    .c-texts__item.text2 {
        font-size: 14px;
        margin-top: 20px;
    }
}